求西门子PLC五个灯循环点亮
发布网友
发布时间:2022-04-24 09:59
我来回答
共3个回答
热心网友
时间:2023-10-09 14:47
Network 1
LD SM0.5
A I0.0
LD Q0.0
O Q0.1
O Q0.2
O Q0.3
O Q0.4
EU
CTU C1, 4
Network 2
LD Q0.0
A Q0.1
A Q0.2
A Q0.3
A Q0.4
MOVW 0, MW0
Network 3
LD C1
+I 1, MW0
AENO
ITB MW0, MB0
Network 4
LDB= MB0, 1
O M2.0
O M2.3
= Q0.0
Network 5
LDB= MB0, 2
O M2.0
O M2.1
O M2.3
= Q0.1
Network 6
LDB= MB0, 3
AN Q0.3
O M2.0
O M2.1
O M2.2
O M2.3
= Q0.2
Network 7
LDB= MB0, 4
AN Q0.4
O M2.1
O M2.2
O M2.3
= Q0.3
Network 8
LDB= MB0, 5
O M2.2
O M2.3
= Q0.4
Network 9
LDB= MB0, 6
= M2.0
Network 10
LDB= MB0, 7
= M2.1
Network 11
LDB= MB0, 8
= M2.2
Network 12
LDB= MB0, 9
= M2.3
热心网友
时间:2023-10-09 14:48
这是很简单的程序呀
热心网友
时间:2023-10-09 14:49
具体我也写不出来,不过用步进指令很方便的。