相对位置模式:
1 ControlMode 设置为 0(相对位置模式)
2 EnableAxis 设置为 True
3 TargetPosition 设定需要运行的目标位置 (单位: Pulse)5.4 P Velocity 设定运行此段位置所需要的速度 (单位: r/min)5.5 AccDecTime 设定运行此段位置的加减速时间 (单位: ms)启动运行: P_Trigger (上升沿有效) 置 True 服驱动开始执行相对定位运行,POS AT 置 True 则位置到达,定位完成。
相对位置模式:
1 ControlMode 设置为 0(相对位置模式)
2 EnableAxis 设置为 True
3 TargetPosition 设定需要运行的目标位置 (单位: Pulse)5.4 P Velocity 设定运行此段位置所需要的速度 (单位: r/min)5.5 AccDecTime 设定运行此段位置的加减速时间 (单位: ms)启动运行: P_Trigger (上升沿有效) 置 True 服驱动开始执行相对定位运行,POS AT 置 True 则位置到达,定位完成。
{{item.nickname}}
{{key+1}}楼{{item.content}}
{{item2.nickname}}
{{item2.content}}