Chapter 7 Servo Drive Parameter Read/Write API | PCI-DMC-A01 / PCI-DMC-B01
Revised March, 2012 7-3
7.2 _DMC_01_write_servo_parameter
FORMAT
I16 PASCAL _DMC_01_write_servo_parameter (U16 CardNo, U16 NodeID, U16 SlotID,
U16 group,U16 idx,U32 data)
Purpose
Writes 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 to write to group index
Example
U16 CardNo=0;
U16 NodeID =1;
U16 SlotID = 0;
U16 group = 3;
U16 idx = 0; // In this example, you will write the data to Servo parameter “P3-00”
U32 data = 1;
I16 status= _DMC_01_write_servo_parameter(CardNo, NodeID, SlotID, group, idx, data);