Chapter 32 Parameter Monitoring API | PCI-DMC-A01 / PCI-DMC-B01
32-6 Revised March, 2012
32.3 _DMC_01_get_servo_command
FORMAT
I16 PASCAL _DMC_01_get_servo_command (U16 CardNo, U16 NodeID, U16 SlotID,
U32 *servo_cmd)
Purpose
Retrieves servo drive command 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
servo_cmd U32* Number Server command value
Example
U16 CardNo=0;
U16 NodeID=1;
U16 SlotID=0;
U32 servo_cmd;
/* Value of servo_cmd is the value of the command for returning to servo position */
I16 status = _DMC_01_get_servo_command (CardNo, NodeID, SlotID, &servo_cmd);