我寫的三菱sfc程序 啟動(dòng)關(guān)機(jī)都正常 可是關(guān)機(jī)再起動(dòng)輸出繼電器還是輸出怎么辦
LD X1
OUT M8040
AND M8040
ZRST S3 S30
LD X0
AND X1
SET S3
STL S3
OUT Y0
OUT T0 K15
LD T0
SET S20
STL S20
OUT Y0
OUT Y1
OUT T1 K50
SET S21
STL S21
OUT Y0
OUT Y1
OUT Y2
OUT T2 K150
LD T2
SET S22
STL S22
OUT Y0
OUT Y1
OUT Y2
OUT Y3
LD X2
OUT S3
RET
END