DVP-15MC Series Motion Controller Operation Manual
8-182
Communication Instructions
8.14.1.1 DMC_ReadParameter_CANopen
FB
DMC_ReadParameter_CANopen is used to read a parameter value of a
slave.
Input Parameters
Parameter name Function Data type
Axis
is to be controlled by the
USINT
(The variable value
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
changes from
SubIndex
The subindex of a
parameter to be read
USINT 0
changes from
Output Parameters
Parameter name Function Data type Valid range
TRUE when the instruction execution is completed.
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 there is an error. BOOL
TRUE / FALSE
ErrorID
Contains error codes when an error occurs. Please
refer to section 12.2 for the corresponding error
WORD
Data Type
The data type of the read parameter.
1: Byte,
2: Word,
USINT
Data The value of the parameter which has been read UDINT
DMC_ReadParameter_CANopen
Axis Done
DMC_ReadParameter_CANopen_instance
Execute Busy
Active
Error
ErrorID
DataType
Data
Index
SubIndex