AX-Series Motion Controller Instructions Manual Chapter 2
116
Name Timing for Shifting to True Timing for Shifting to False
Valid
When Enable is triggered to True.
When the parameter to read exists.
When Enable turns from True to False.
When Error is rising edge.
Busy
When Enable is triggered to True.
When the parameter to read exists.
When Enable turns from True to False.
When Error is rising edge.
When an error occurs in executing conditions
or input values.
When Execute turns from True to False. (Error
Code is cleared)
ErrorID
Value
When Valid is True and there’re ongoing
updates.
When Valid is False and stop updating.
Timing Diagram
Inputs/Outputs
Name Function Data Type
Setting Value (Default
Timing to Take Effect
When Enable turns to True.
*Note: AXIS_REF_SM3(FB): Every function block contains this variable, which works as the starting program for function blocks.
Function
How to use MC_ReadBoolParameter to read the parameter values of desired object with its parameter number in
EtherCAT Object Dictionary:
Use SHL instruction to move the data length of desired object to the left for 24 bits.
Use SHL instruction to move the index of desired object to the left for 8 bits.
The input ParameterNumber must contains the data length the index and the subindex. Refer to the
following formula:
ParameterNumber: = - DWORD_TO_DINT (SHL (TO_DWORD (data length of object dictionary), 24) +
SHL (TO_DWORD (index of object dictionary), 8) + object sub-index);
For operation example, refer to the example in MC_ReadParameter.
To read axis parameters, you will need to enter the parameter number of AXIS_REF_SM3 (FB) to ParameterNumber
input.
Troubleshooting