Delta AX Series Instruction Manual page 124

Motion controller
Hide thumbs Also See for AX Series:
Table of Contents

Advertisement

AX- Ser i es Mo t i o n Co n t r o l l er I n s t r u c t i o n s Ma n u a l
Output Updating Time
Name
Done
Busy
Error
ErrorID
Timing Diagram
Execute
Done
Busy
Error
Inputs/Outputs
Name
Function
Specify the
Axis
axis.
*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, you'll 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)
Timing for Shifting to True
When the value is written successfully.
When Execute is triggered to be True.
When the value is being written to the
parameter.
When an error occurs in the execution
conditions or input values for the instruction.
Data Type
AXIS_REF_SM3*
When Execute turns from True to False.
When Done turns to True.
When Error turns to True.
When Execute turns from True to False. (Error
Code is cleared)
Setting Value
(Default Value)
When Execute turns to True and Busy is
AXIS_REF_SM3
False.
Timing for Shifting to False
Timing to Take Effect
Ch a p t er 2
11 9

Advertisement

Table of Contents
loading

Table of Contents