三菱的梯形图:
ld x0
out m0
ld m0
ani t1
out t0 k3
ld t0
out t1 k2
ld m0
and t1
out y0
ld m0
ani t1
out y1
三菱PLC程序语句:
LD X0(启动)
OR M0
ANI X1(停止)
OUT M0
LD M0
MPS
ANI T3
OUT T2 K20(开2S)
MRD
AND T2
OUT T3 K30(关3S)
MPP
ANI T2
OUT Y0
END
启动后自动循环,任意时刻可以停止!
邮箱发来,我把梯形图传你邮箱