Chapter 12 Torque Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 12-5
12.4 _DMC_01_set_torque_velocity_limit
FORMAT
I16 PASCAL _DMC_01_set_torque_velocity_limit (U16 CardNo, U16 NodeID, U16 SlotID,
U32 velocity_limit)
Purpose
Sets the velocity limit in torque mode.
Parameters
Name Data Type Unit Description
CardNo U16 Number Unit CardNo is between 0~15
NodeID U16 Number Unit Node ID
SlotID U16 Number Unit Slot ID
velocity_limit U32 Number Velocity limit
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U32 velocity_limit =2000;
/* Set limit for Velocity. velocity_limit may not exceed 30000 */
I16 status=_DMC_01_set_torque_velocity_limit (CardNo, NodeID, SlotID, velocity_limit);