发表于:2004-03-23 16:10:00
5楼
用ALT指令,或用2个时间继电器编程,5秒的交替程序,FX2NPLC
LD X0
ANI T0
OUT T0 K50
LD X0
AND T0
ALT Y000
或
LD X0
ANI T2
OUT T1 K50
LD X0
AND T1
OUT T2 K50
OUT Y000
也可用如下指令
LD X0
ANI M3
TTMR T1 K50 M0
LD X0
AND M1
OUT Y000
以上程序供参考,我是一个新手,望各位前辈多多指教hnlxgjj@163.net