我寫的三菱sfc程序 啟動關(guān)機都正常 可是關(guān)機再起動輸出繼電器還是輸出怎么辦
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