Chapter 12 Troubleshooting
1
11.3.19 DMC_ReadParameter_Motion
FB/FC Explanation Applicable model
FB
DMC_ReadParameter_Motion reads a slave parameter value. DVP15MC11T
Input Parameters
Parameter name Function Data type
timing
Axis
address of the slave to
control.
USINT
(The variable value
must be set)
changes from
FALSE to TRUE
Execute
executed when Execute
changes from FALSE to
BOOL
TRUE or FALSE
(FALSE)
Index
Index of the parameter
to read
UINT 0
Execute
changes from
SubIndex
Subindex of the
parameter to read
USINT 0
changes from
Output Parameters
Parameter name Function Data type Valid range
Done TRUE when the instruction execution is completed. BOOL TRUE / FALSE
Busy TRUE when the instruction is being executed. BOOL TRUE / FALSE
Active TRUE when the axis is being controlled. BOOL TRUE / FALSE
Error
TRUE when an error occurs in execution of the
BOOL TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2 for the corresponding error ID.
WORD
DataType
The data type of the read parameter
1:Byte,
2:Word,
4:Double Word.
USINT
Data The read parameter value UDINT
Note: The corresponding index and subindex of a salve parameter
1. User-defined parameter is the servo drive parameter which is to be read. The length is specified by users
according to the data type of the parameter to read. The length of the byte parameter is 1. The length of
the word parameter is 2. The length of the double-word parameter is 4.
DMC_ReadParameter_Motion
Axis Done
DMC_ReadParameter_Motion_instance
Execute Busy
Active
Error
ErrorID
DataType
Data
Index
SubIndex
11-111