发布于 2006-07-28 12:14:02
0楼
我的了解如下,我的PROFILE是一个启动,运行,停止的三段模式:
VB0 3 //Number of segments in profile
//Segment 0
VW1 0 //Initial cycle time (2 to 65535 units of the timebase)
VW3 0 //Cycle time delta per pulse (-32766 to 32767 units of the timebase)
VD5 0 //Pulse count (1 to 4294967295)
//Segment 1
VW9 0 //Initial cycle time (2 to 65535 units of the timebase)
VW11 0 //Cycle time delta per pulse (-32766 to 32767 units of the timebase)
VD13 0 //Pulse count (1 to 4294967295)
//Segment 2
VW17 0 //Initial cycle time (2 to 65535 units of the timebase)
VW19 0 //Cycle time delta per pulse (-32766 to 32767 units of the timebase)
VD21 0 //Pulse count (1 to 4294967295)
是的,我也只想改变段二恒速脉冲数,因为想得到平缓的启停方式,所以使用了向导的方式,段一与段三的起停参数不用修改,完整的控制是在于先用PTO_Man 移动到一个起始点,循环用 PTO_Run来执行点与点之间的三段的Profile0!
每次完成检查全部执行后,来更改VD13内的参数,有没有这样用过的?
若用PLS直接控制PTO,如何来得到平缓的起停呀?请各位指教!
兵贵拙速,不尚巧迟!