圖片:
//順序啟動 每按1次I0.0啟動1臺電機,直到3臺全部啟動
//按下I0.1全部停止
//用最簡單的指令實現 青春終敗紅塵
"M0.0" := "I0.0" AND NOT "M0.1";
"Q0.2" := ("M0.0" OR "Q0.2") AND ("Q0.1" AND NOT "I0.1");
"Q0.1" := ("M0.0" OR "Q0.1") AND ("Q0.0" AND NOT "I0.1");
"Q0.0" := ("M0.0" OR "Q0.0") AND NOT "I0.1";
"M0.1" := "I0.0";