Chapter 12 Torque Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
12-2 Revised March, 2012
12.1 _DMC_01_set_torque_mode
FORMAT
I16 PASCAL _DMC_01_set_torque_mode (U16 CardNo, U16 NodeID, U16 SlotID, U16
slope)
Purpose
Sets the torque motion control parameter profile (slope value).
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
slope U16 ms
Time required to go from 0 to 100% rate
torque.
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 slope=500; // 500 ms
I16 status= _DMC_01_set_torque_mode (CardNo, NodeID, SlotID, slope);