TITLE=程序注釋
Network 1
// 啟動自動
LD I0.0
EU
O SM0.1
O M6.0
AN T101
= M6.0
TON T101, +30
Network 2
LD T101
EU
O M6.1
AN T102
= M6.1
TON T102, +10
Network 3
// 啟動手動
LD I0.0
ED
O M6.2
AN T103
= M6.2
TON T103, +30
Network 4
// 跳閘報警
LD I0.1
O I0.2
O I0.3
= Q0.3
Network 5
LD I0.0
AN I0.1
AN Q0.2
AN Q0.1
AN Q0.3
= Q0.0
Network 6
// 初濾時間
LD T37
A Q0.0
A I0.0
EU
LD C0
O Q0.3
ON I0.0
EU
CTU C0, +720
Network 7 // 開啟排污閥
LD C0
O Q0.1
O I0.5
A I0.0
AN I0.2
AN C1
= Q0.1
Network 8 // 開啟減速機
LD C0
O Q0.2
O I0.5
A I0.0
AN I0.3
AN C1
= Q0.2
Network 9 // 排污計時
LD Q0.1
A Q0.2
A T37
EU
LD C1
ON I0.0
O Q0.3
EU
CTU C1, +5
Network 10
LD I0.0
AN T38
TON T37, +300
Network 11
LD I0.0
A T37
TON T38, +300
[ 此帖被zhuls在2009-12-21 17:19重新編輯 ]