AX-Series Motion Controller Instructions Manual Chapter 2
434
diParameterNumber : =-DWORD_TO_DINT (SHL (TO_DWORD (object dictionary data length), 24) + SHL
(TO_DWORD (object dictionary index), 8) + object sub-index);
To write a value in an axis parameter, refer to the axis parameter AXIS_REF_DML (FB) and fill in its number in the
diParameterNumber input parameter.
Troubleshooting
When an error occurs in the execution of the instruction, bError will change to True. To confirm the current error state,
see the Error Code in ErrorID.
Programming Example
For the example, refer to the programming example of the MC_WriteParameter function block.
For function block Axis parameters, enter that of the positioning axis.