您当前的位置:五五电子网电子知识plc技术PLC程序西门子S7-200 ModBus PLC从站通讯程序 正文
西门子S7-200 ModBus PLC从站通讯程序

西门子S7-200 ModBus PLC从站通讯程序

点击数:7361 次   录入时间:03-04 11:42:34   整理:http://www.55dianzi.com   PLC程序
'yes'">

End If

Loop

End Function

Private Sub Timer2_Timer()

x1 = x1 + 1

Text10.Text = str(x1)

Text1.Text = str(p11)

Text2.Text = str(p12)

Text3.Text = str(p13)

Text4.Text = str(p14)

Text7.Text = str(p15)

If Text7.Text = 1 Then Text7.BackColor = RGB(255, 0, 255)

If Text7.Text = 0 Then Text7.BackColor = RGB(0, 255, 255)

'Text6.Text = str(p16)

Text9.Text = str(p17)

If Text9.Text = 1 Then Text9.BackColor = RGB(255, 0, 255)

If Text9.Text = 0 Then Text9.BackColor = RGB(0, 255, 255)

[1] [2]  下一页


本文关键字:程序  西门子  PLC程序plc技术 - PLC程序