PMAC运动控制卡初中级的培训.ppt

DWELL and DELAY 指令只可用于运动程序, PMAC 定时器寄存 器可用于PLC编程的延时使用 4个 PMAC 内存地址可用: X:$0700,0,24,s Y:$0700,0,24,s X:$0701,0,24,s Y:$0701,0,24,s 例: 如果希望在 PLC程序中 实现1s延时 计时器寄存单位是伺服周期. 每个伺服周期寄存器连续递减. PLC 定时器延时 PMAC Example: If you wanted a 1 second delay in a PLC program M70-X:$0700,0,24,s open plc 1 clear . m70=(1000)*8388608/(I10) while (m700) endwhile . close PLC 定时器延时(中级) 对于Turbo PMAC, 每一个坐标系有2个定时器由变量设置: Isx11 and Isx12. Turbo PMAC 计数器延时举例: M1=1 ; Turn on Machine Output 1 I5111=125*8388608/I10 ; Set timer to 125 msec, in servo cycles WHILE (I51110) ; Wait for counter to count down to ze

文档评论(0)

1亿VIP精品文档

相关文档