AX-Series Motion Controller Instructions Manual Chapter 2
433
Name Function Data Type Output Range (Default)
ErrorID
Indicates the error code if an error
occurs. Refer to Appendix for error
code descriptions.
DML_ERROR* DML_ERROR (DML_NO_ERROR)
*Note: DML_ERROR: Enumeration (ENUM)
Output Update Timing
Name Timing for shifting to True Timing for shifting to False
bDone
When the parameter writing is
completed.
When bExecute turns from True to False.
bBusy
When bExecute turns to True and
the instruction is run.
When parameter writing is in
progress.
When bDone turns to True.
When bError turns to True.
bError
When an error occurs in the
execution conditions or input values
for the instruction.
When bExecute turns to False. (Error Code is
cleared)
Timing Diagram
Inputs/Outputs
Name Function Data Type
Setting Value
Timing to Take Effect
Axis
Specify the
AXIS_REF_DML* AXIS_REF_DML
When bExecute turns to True and bBusy
*Note:
AXIS_REF_DML (FB): All function blocks contain this variable, which works as the starting program for function blocks.
Function
How to use MC_WriteParameter_DML to write the number of an EtherCAT object dictionary.
Use the SHL instruction to shift the data length of the object dictionary where a value is to be written to the left by
24 bits
Use the SHL instruction to shift the index of the object dictionary where a value is to be written to the left by 8 bits
Add up the above parameters and the sub-index.
See the reference formula as follows.