Chapter 7 Servo Drive Parameter Read/Write API | PCI-DMC-A01 / PCI-DMC-B01
7-2 Revised March, 2012
7.1 _DMC_01_read_servo_parameter
FORMAT
I16 PASCAL _DMC_01_read_servo_parameter (U16 CardNo, U16 NodeID, U16 SlotID,
U16 group,U16 idx,U32* data)
Purpose
Reads servo drive parameter.
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
group U16 Number Device (Servo) group number
idx U16 Number Index value for Servo parameter group
data U32* Number Data returned by group index
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID = 0;
U16 group = 3;
U16 idx = 0; // In this example, you will read Servo parameter “P3-00”
U32 data;
I16 status= _DMC_01_read_servo_parameter(CardNo, NodeID, SlotID, group, idx, &data);