发表于:2007/10/11 1:42:00
#0楼
电机启动后运行5秒再停止5秒,如此循环4次后停下,程序是下面这样的吗?这是从别处转过来,怎么看不懂呢
LD X0
ANI T0
OUT T0 K40
LD T0
OUT T1 K40
LD T0
OUT T1 K40
ANI C0
OUT Y0
LD M8002
RST C0
LD T0
OUT C0 K4
END
LD X0
ANI T0
OUT T0 K40
LD T0
OUT T1 K40
LD T0
OUT T1 K40
ANI C0
OUT Y0
LD M8002
RST C0
LD T0
OUT C0 K4
END