cxlxt
級別: 略有小成
|
朋友:是提升閥通電6S后,脈沖閥通電0.7S,脈沖閥斷電4S后,提升閥斷電,再過2min到下一倉。提升閥總共通電10.7S,用步進指令的話,很容易。我們互相學習。 |
---|---|
|
cxlxt
級別: 略有小成
|
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 以上的程序供參考 |
---|---|
|