HIEE300744R1 ABB

发布时间:2022-08-19
HIEE300744R1

HIEE300744R1创建4个按钮,分别命名为启动、复位、定时器启动、定时器复位。B.再用标签建立2个文本框分别命名为,计时时间、和时间到,和4个矩形框。C.用矩形框建立机械手底座和用管道建立机械手横臂和竖臂,再用3个矩形建立抓手。HIEE300744R1 ABBD.添加6个相同的步指示灯和2个启动和复位指示灯。其中6个步是下移、加紧、上移、左移、右移、放松。


E.关于要搬运的物块,当然自己要动手画出。用一个矩形和两个椭圆通过改变填充颜色和合成图符组成一个整体。

(3)在实时数据库里添加开关型数据分别为定时器启动、定时器复位、启动、复位、下移夹紧、上移、右移、放松和左移。左工件和右工件。

(4)再添加垂直移动量,水平移动量、计时时间和时间到等数据型数据。

(5)在各个图符里添加相关的属性,注意连接管子的两个矩形要合成图符因为要添加“水平移动量”属性。

(6)当相关属性在表达式里从实时策略里选完后,*还要给机械臂添加大小变化的属性,其计算方法为臂伸长后的长度=臂的实际长度+伸长的量,如何进行长度测量,先画一条直线打开查看栏里的状态条,便会在右下角显示长度,

(7)至于属性框里表达式的值则要通过下降的时间除以200ms

(8)在循环策略里添加脚本程序和定时器。

任务四 机械手运行监控

在任务二中已经介绍过监控的实际运用的意义,所以在此任务中就不再详细介绍。

(1)删除定时器策略及脚本程序策略。【在联机时,PLC完成控制任务,所以组态工程中的定时器和脚本程序就无用了】修改数据库中与定时器相关的4个数据对象,分别为“定时器启动”“定时器复位”计时时间和时间到,以提高运行环境效率。然后在添加4个新的数据对象,分别为“运行时间显示”、“运行时间调整”、“暂停时间显示”和“暂停时间调整”,对象类型为数值型。

(2)在“机械手运行控制”窗口中删除与定时器相关的图符,

(3)制作如图的动画窗口。

(4)在设备窗口中添加一个“通用串口父设备”再添加一个“西门子_S7200PPI”。

(5)选择好后就对设备进行属性设置,以便与MCGS进行通信。

(6)在通用串口属性设置”串口端子号为“COM1”数据校验方式为“偶校验”采集数据为“同步采集”。*小采集周期设为200ms.【依据所接PLC型号进行设定】

(7)设置西门子PPI属性,在基本属性里添加4个i寄存器、14个Q寄存器、6个M寄,其中M2.0为上位机启动,M2.1为上位机停止。

(8)在图纸上先画出PLC程序,注意为了较为正确的控制组态,所以在程序设计过程中要进行数据转换。加入转移指令和整数除法指令,将计时器时间除以10放到寄存器中。还要添加“上位机启动”和“上位机停止”。

(6) Add four input boxes to set their attributes to numeric type,



(7) Now let's add the relevant data in the real-time data. They are water pump, start, reset, timer start and timer reset. The "timer time" and "time to" are numeric.



(8) After the establishment of real-time data, we can associate the relevant s of the icons in the user window. Since there is time control, we need to add a timer and a program in the operation strategy. Set the time value to 35 seconds in the timer attribute, and write the control program with the if-then statement in the program. Remember to use exit to divide the steps. Before entering the running environment test, adjust the content of the cycle strategy and change the timing cycle time to 200s.



Task 2: water pump operation monitoring



In the early stage, only the "equipment independence" of the MCGS system was used in the water pump control configuration project with the help of timer and strategy to initially realize the simulation operation of the water pump control system, which did not achieve the purpose of real-time monitoring. Therefore, the monitoring setting is required next.



We know that the pump operation control is mainly controlled by PLC, while the MCGS system, on the one hand, needs to collect relevant data from the PLC, change the value of the corresponding variable in the real-time data, and then display it in the animation form of the icon component in the screen, so as to achieve the purpose of monitoring the operation; On the other hand, it is also necessary to write the pause and running time set in the upper computer configuration environment into the PLC to adjust the running time of the water pump, and to control the operation and stop of the water pump hardware system through the start and stop buttons of the upper computer.



Open the previous "task 1" and save it as "water pump operation monitoring" to improve the "task 1" configuration engineering animation and attribute settings.



(1) Delete timer policy and policy. [when online, PLC completes the control task, so the configuration Engineering



The timer and programs in are useless]



(2) Modify the four data s related to timers in the data, namely "timer start" and "timer reset" to count the time and time to improve the efficiency of the operating environment. Then add four new data s, namely "run time display", "run time adjustment", "pause time display" and "pause time adjustment". The type is numeric.



(3) Delete the icon related to the timer in the "animation configuration water pump control" window, and make 6 new text labels.



(4) Create the animation window as shown in the figure.



Add a "universal serial port parent device" and a "Siemens _s7200ppi" in the device window.



(5) After selection, set the properties of the device to communicate with the MCGS.



(6) In the general serial port attribute setting, the serial port terminal number is "COM1", the data verification method is "even verification", and the acquisition data is "synchronous acquisition". The minimum acquisition cycle is set to 200ms. [set according to the connected PLC model]



(7) Set Siemens PPI attributes, add 4 I registers, 2 Q registers, 3 m registers and 4 VW registers.

上一篇:欢迎访问泰安烟道石膏粉经销全境送...
下一篇:SIEMENS 濮阳西门子CPU...