DVP15MC11T Operation Manual
8.13.2 DMC_WriteParameter_CANopen
FB
DMC_WriteParameter_CANopen is used to set a parameter value of a
slave.
DVP15MC11T
Input Parameters
Parameter name Function Data type
Validation
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
parameter which is set
UINT
SubIndex
The subindex of a
parameter which is set
USINT
DataType
parameter which is set
1: Byte,
2: Word,
:
USINT
Data
The content value of the
parameter which is set
UDINT
Notes:
1. The value of DataType must indicate the data type of the parameter which is set. If the filled value is
incorrect, an error will occur in the instruction.
2. For the method of calculating the index and subindex of CANopen slave parameter, refer to Introduction
of Axis Parameters in Chapter 9.
Output Parameters
Done
TRUE when the instruction execution is completed.
BOOL
Busy
TRUE when the instruction is being executed.
BOOL
Active
TRUE when the axis is being controlled.
BOOL
Error
TRUE when there is an error.
BOOL
ErrorID
Contains error codes when an error occurs. Please
refer to section 12.2 for the corresponding error
WORD
DMC_WriteParameter_CANopen
Axis Done
DMC_WriteParameter_CANopen_instance
Execute Busy
Active
Error
ErrorID
Index
SubIndex
DataType
Data
8-182