X0----------------接停止按鈕的常閉接點 X1----------------接起動按鈕的常開接點
Y0----------------第一倉提升閥 Y1----------------第一倉脈沖閥
Y2----------------第二倉提升閥 Y3----------------第二倉脈沖閥
Y4----------------第三倉提升閥 Y5----------------第三倉脈沖閥
Y6----------------第四倉提升閥 Y7----------------第四倉脈沖閥
Y10--------------第五倉提升閥 Y11---------------第五倉脈沖閥
LD M8002
ORI X0
ZRST S3 S30
SET S3
STL S3
LD X0
AND X1
SET S20
STL S20 STL S22 STL S24
OUT Y0 OUT Y2 OUT Y4
OUT T1 K107 OUT T1 K107 OUT T1 K107
OUT T2 K60 OUT T2 K60 OUT T2 K60
LD T2 LD T2 LD T2
OUT T3 K7 OUT T3 K7 OUT T3 K7
ANI T3 ANI T3 ANI T3
OUT Y1 OUT Y3 OUT Y5
LD T1 LD T1 LD T1
SET S21 SET S23 SET S25
STL S21 STL S23 STL S25
OUT T4 K1200 OUT T4 K1200 OUT T4 K1200
LD T4 LD T4 LD T4
SET S22 SET S24 SET S26
STL S26 STL S28
OUT Y6 OUT Y10
OUT T1 K107 OUT T1 K107
OUT T2 K60 OUT T2 K60
LD T2 LD T2
OUT T3 K7 OUT T3 K7
ANI T3 ANI T3
OUT Y7 OUT Y11
LD T1 LD T1
SET S27 SET S29
STL S27 STL S29
OUT T4 K1200 OUT T4 K1200
LD T4 LD T4
SET S28 OUT S20
RET
END
以上的程序供參考