EasyManua.ls Logo

Delta AX Series

Delta AX Series
574 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AX-Series Motion Controller Instructions Manual Chapter 2
119
Output Updating Time
Name
Timing for Shifting to True
Timing for Shifting to False
Done
When the value is written successfully.
When Execute turns from True to False.
Busy
When Execute is triggered to be True.
When the value is being written to the
parameter.
When Done turns to True.
When Error turns to True.
Error
When an error occurs in the execution
conditions or input values for the instruction.
When Execute turns from True to False. (Error
Code is cleared)
ErrorID
Timing Diagram
Inputs/Outputs
Name Function Data Type
Setting Value
(Default Value)
Timing to Take Effect
Axis
Specify the
axis.
AXIS_REF_SM3* AXIS_REF_SM3
When Execute turns to True and Busy is
False.
*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_WriteBoolParameter to write the parameter value to the desired object with its parameter number in
EtherCAT Object Dictionary:
Use SHL instruction to move the data length of the desired object to the left for 24 bits.
Use SHL instruction to move the index of the desired object to the left for 8 bits.
The input ParameterNumber must contains the data length of 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);
To write the value to the parameter, youll need to enter the parameter number of AXIS_REF_SM3(FB) into
ParameterNumber input.
For operation example, refer to the example in MC_WriteParameter.
Troubleshooting
If an error occurs during the execution of the instruction, Error will change to True. You can refer to ErrorID (Error Code)
Execute
Done
Busy
Error

Table of Contents

Related product manuals