我是初学者,下面的程序是编的,希望高手们帮忙看看,有没有问题或者有没有其它的更好的方法。谢谢!
LD I0.0
O M0.1
= M0.1
LD M0.1
O Q0.1
= Q0.1
LD M0.1
TON T101, 200
LD I0.2
R M0.1, 3
R T101, 1
R T102, 1
R Q0.1, 1
LD T101
O M0.2
= M0.2
LD M0.2
O Q0.2
= Q0.2
LD M0.2
TON T102, 300
LD I0.3
R Q0.2, 1
R T102, 1
R T101, 1
R M0.1, 3
LD T102
O M0.3
= M0.3
LD M0.3
O Q0.3
= Q0.3
LD I0.4
R Q0.3, 1
R T101, 1
R T102, 1
R M0.1, 3
最佳答案
Network 1 i0.0启动m0.1并通过m0.1保持,i0.1断开m0.1
LD I0.0
O M0.1
AN I0.1
= M0.1
Network 2 m0.1输出q0.1和2个定时器,定时器到了自己断开
LD M0.1
LPS
= Q0.1
AN T102
TON T102, 200
LPP
AN T103
TON T103, 300
Network 3 定时时间到输出q0.2并自保持
LD T102
O Q0.2
AN I0.2
= Q0.2
Network 4
LD T103
O Q0.3
AN I0.3
= Q0.3
提问者对于答案的评价:
谢谢大家了
原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc308110.html