Chapter 12 Torque Motion Control Packet Protocol API | PCI-DMC-A01 / PCI-DMC-B01
12-4 Revised March, 2012
12.3 _DMC_01_set_torque_stop
FORMAT
I16 PASCAL _DMC_01_set_torque_stop (U16 CardNo, U16 NodeID, U16 SlotID, U16 stop)
Purpose
Stops torque motion.
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
stop U16 Selection
0: Current motion status.
1: Stop torque motion
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U16 stop=1;
I16 ratio=100; // If value of ratio is 100, then 100 divided by 1000 means rated torque is 10%
and motor is running clockwise.
/* Set ratio and begin torque motion */
I16 status=_DMC_01_set_torque(CardNo, NodeID, SlotID, ratio);
/* Stop torque motion */
status= _DMC_01_set_torque_stop(CardNo, NodeID, SlotID, stop);