手頭只有西門子200
//主控,用一個按鈕控制啟停
LD I0.0
O M0.0
AN M0.1
= M0.0
Network 2
LD M0.0
TON T37, 5
Network 3
LD T37
A I0.0
= M0.1
//控制電機(jī)輸出
Network 4
LD M0.0
A I0.1
AN M0.2
= Q0.0
//電機(jī)不轉(zhuǎn)時自鎖5s后 繼續(xù)轉(zhuǎn)
Network 5
LDN Q0.0
O M0.2
AN T38
= M0.2
Network 6
LDN Q0.0
TON T38, 50