Mc_Readactualposition - Delta AX Series Instruction Manual

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

2.2.7 MC_ReadActualPosition

Supported Devices: AX-308E, AX-8, AX-364E
MC_ReadActualPosition reads the current axis position.
FB/FC
Instruction
FB
MC_ReadActualPosition
Inputs
Name
Enable
Outputs
Name
True when the parameter to read
Valid
exists and can be further processed.
True when the function block is
Busy
being run.
Error
True when an error occurs.
Record the error code when an error
occurs.
ErrorID
Refer to Appendix for error
code descriptions.
Position
The current position of axis
*Note: SMC_ERROR: Enumeration (Enum)
Output Updating Time
Name
Valid
Busy
Function
Data Type
Run the function
block.
Function
Timing for Shifting to True
When Enable is triggered to True.
When the parameter to read exists.
When Enable is triggered to True.
When the parameter to read exists.
Graphic Expression
Setting Value
(Default Value)
True/False
BOOL
(False)
Data Type
BOOL
BOOL
BOOL
SMC_ERROR*
LREAL
ST Language
MC_ReadActualPosition_instance(
Axis : =,
Enable : =,
Valid =>,
Busy =>,
Error =>,
ErrorID =>,
Position => );
Timing to Take Effect
Output Range (Default Value)
True/False (False)
True/False (False)
True/False (False)
SMC_ERROR (SMC_NO_ERROR)
Positive, negative, or 0 (0)
Timing for Shifting to False
When Enable turns from True to False.
When Error is rising edge.
When Enable turns from True to False.
When Error is rising edge.
Ch a p t er 2
-
1 2 1

Advertisement

Table of Contents
loading

Table of Contents