Delta — 4.4.14. DMC_WriteParameter

4. Motion Control Instructions 4.4.14. DMC_WriteParameter Explanation of the Instruction: DMC_WriteParameter is applied to set the parameter value of the servo axis. User could specify the index and sub-index of the parameter to be set. Explanation of input and output parameter of the instruction: Notes: 1. "Data Type" must be the data type of the written parameter. If the filled value is incorrect, the instruction will be alarmed that the error occurs with the error ID. The data type of D device is identical to that of the written parameter when "Value" is D device and touch screen is used to input data. 2.

For the calculation method of the index and sub-index, please refer to section 4.4.13 DVP-MC operating manual 4-47 API Write parameters Controller 14 DMC WriteParameter _ 10MC11T Parameter Data Available Explanation name type device Axis The node address of servo drive UINT Constant, D Execute This instruction is executed when “Execute” turns off -> on. BOOL M,I,Q, Constant Index To write the index of the parameter UINT Constant, D Sub-Index To write sub-index of the parameter UINT Constant, D Data Type To write the data type of the parameter. 1: Byte 2 : word 4 :

double word UINT D Value The written parameter value UDINT D Done When writing the parameter value is finished, "Done" turns on; when “Execute” turns on to off, "Done" is reset. BOOL M,Q Error If any error is detected, "Error" turns on; when "Execute" turns on -> off, "Error" is reset. BOOL M,Q ErrorID Error code. Please refer to section 5.3. UINT D