Delta D25886 User Manual Page 84

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 83
4. Motion Control Instructions
DVP-MC operating manual 4-43
4.4.14. DMC_WriteParameter
API
Controller
14
DMC_WriteParameter
Write parameters
10MC11T
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:
Parameter
name
Explanation
Data
type
Available
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
Note:
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
Page view 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 338 339

Comments to this Manuals

No comments