3721
3721创建4个按钮,分别命名为启动、复位、定时器启动、定时器复位。B.再用标签建立2个文本框分别命名为,计时时间、和时间到,和4个矩形框。
分别为“运行时间显示”、“运行时间调整”、“暂停时间显示”和“暂停时间调整”,对象类型为数值型。
(3)在“动画组态水泵控制”窗口中删除与定时器相关的图符,并且制作6个新的文字标签。
(4)制作如图的动画窗口。
在设备窗口中添加一个“通用串口父设备”再添加一个“西门子_S7200PPI”。
(5)选择好后就对设备进行属性设置,以便与MCGS进行通信。
(6)在通用串口属性设置”串口端子号为“COM1”数据校验方式为“偶校验”采集数据为“同步采集”。*小采集周期设为200ms.【依据所接PLC型号进行设定】
(7)设置西门子PPI属性,添加4个i寄存器、2个Q寄存器、3个M寄存器和4个VW寄存器。
(8)在图纸上先画出PLC程序,注意为了较为正确的控制组态,所以在程序设计过程中要进行数据转换。加入转移指令和整数除法指令,将计时器时间除以10放到寄存器中。还要添加“上位机启动”和“上位机停止”。
(9)在联机监控操作时,打开MCGS时需要关闭Step7软件,然后进行通连道接,直到显示为0是就表示连接*了,便可进行监控测试。
任务三机械手控制系统Delete timer policy and policy. [When online, PLC completes the control task, so the configuration project
The timer and program in are useless]
(2) Modify the four data s related to the timer in the data, namely "Timer Start", "Timer Reset", timing time and time to improve the efficiency of the operating environment. Then add 4 new data s, namely "Running Time Display", "Running Time Adjustment", "Pause Time Display" and "Pause Time Adjustment". The type is numerical.
(3) Delete the symbols related to the timer in the "Animation Configuration Water Pump Control" window, and make 6 new text labels.
(4) Make the animation window as shown in the figure.
Add a "Universal Serial Port Parent Device" and a "SIEMEN_S7200PPI" in the device window.
(5) After selection, set the attributes of the device to communicate with MCGS.
(6) In the general serial port attribute setting, the serial port terminal number is "COM1". The data verification method is "even verification". The collected data is "synchronous collection". The minimum acquisition cycle is set as 200ms. [Set according to the connected PLC model]
(7) Set Siemens PPI attribute, add 4 i registers, 2 Q registers, 3 M registers and 4 VW registers.
(8) Draw the PLC program on the drawing first. Note that in order to have a more correct control configuration, data conversion is required in the process of program design. Add the branch instruction and integer division instruction, divide the timer time by 10 and put it into the register. Also add "upper computer start" and "upper computer stop".
(9) During the online monitoring operation, when MCGS is opened, the Step7 software needs to be closed, and then the connection is made. If the display is 0, the connection is successful, and the monitoring test can be carried out.
Task 3 Manipulator control system 文章来自;https://www.kniocauto.com/
以上信息由企业自行提供,信息内容的真实性、准确性和合法性由相关企业负责,仪器仪表交易网对此不承担任何保证责任。
温馨提示:为规避购买风险,建议您在购买产品前务必确认供应商资质及产品质量。