Chapter 12 Troubleshooting
11
11.3.20
DMC_WriteParameter_Motion
FB/FC
Explanation
Applicable model
FB
DMC_WriteParameter_Motion sets a slave parameter value.
DVP15MC11T
Input Parameters
Parameter
name
Function
Data type
Valid range
(Default)
Validation timing
Axis
Specify the slave to control.
USINT
1~127
(The variable
value must be
set)
When
Execute
changes from
FALSE to TRUE
Execute
The instruction is executed
when
Execute
changes from
FALSE to TRUE.
BOOL
TRUE or FALSE
(FALSE)
-
Index
The index of the parameter to
write.
UINT
SubIndex
The subindex of the parameter
to write.
USINT
DataType
The data type of the
parameter to write
1
:
Byte,
2
:
Word,
4
:
Double Word.
USINT
Data
The value of the parameter to
write
UDINT
Notes:
1. DataType must be the data type of the parameter to write. An error will occur if the filled value is
incorrect.
2. Refer to Chapter 9 for the calculation of the index and subindex of servo parameters.
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 there is an error in the execution of the
instruction.
BOOL
TRUE / FALSE
ErrorID
Contains the error code when an error occurs. Please
refer to section 12.2.
WORD
DMC_WriteParameter_Motion
Ax is
Done
DMC_WriteParameter_Motion_in stanc e
Ex ecut e
Busy
Ac tive
Error
ErrorI D
Index
SubIndex
DataTy pe
Data
11-115
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...