我編的GX-developer 步進(jìn)圖雙重線圈錯誤,在開機(jī)的時候自動啟動。我錯在哪里?
LD M8002
SET S0
STL S0
LD S0
AND X001
SET S20
STL S20
LD S20
OUT Y001
OUT T1 K50
AND T1
SET S21
STL S21
LD S21
OUT Y001
OUT Y002
OUT T2 K150
AND T2
SET S22
STL S22
LD S22
OUT Y001
OUT Y002
OUT Y003
AND X002
OUT S0
RET
END