DVP15MC11T Operation Manual
8.13 CANopen Communication Instructions
8.13.1 DMC_ReadParameter_CANopen
FB
DMC_ReadParameter_CANopen is used to read a parameter value of a
slave.
DVP15MC11T
Input Parameters
Parameter name Function Data type
timing
Axis
is to be controlled by the
USINT
1~127
(0)
changes from
Execute
executed when Execute
changes from FALSE to
BOOL
TRUE or FALSE
(FALSE)
Index
The index of a
parameter to be read
UINT 0
Execute
changes from
SubIndex
The subindex of a
parameter to be read
USINT 0
changes from
Output Parameters
Parameter name Function Data type Valid range
Done
TRUE when the instruction execution is completed.
BOOL TRUE /
Busy
TRUE when the instruction is being executed.
BOOL TRUE /
Active
TRUE when the axis is being controlled.
BOOL TRUE /
TRUE when there is an error.
ErrorID
Contains error codes when an error occurs. Please
refer to section 12.2 for the corresponding error
code.
WORD
Data Type
The data type of the read parameter.
1: Byte,
2: Word,
USINT
The value of the parameter which has been read
The index and subindex of the slave parameter to be read:
1. The user-defined parameter is a servo drive parameter to be read. The data length is specified
by users according to the data type of the read parameter. The data length of the byte
DMC_ReadParameter_CANopen
Axis Done
DMC_ReadParameter_CANopen_instance
Execute Busy
Active
Error
ErrorID
DataType
Data
Index
SubIndex
8-176