Mc_Setposition - 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.2 MC_SetPosition

Supported Devices: AX-308E, AX-8, AX-364E
MC_SetPositionn changes the current position by shifting the coordinates of an axis.
FB/FC
Instruction
FB
MC_SetPosition
Inputs
Name
The instruction is run when Execute
Execute
changes from False to True.
Position
Specify relative position (True) or
Mode
absolute position(False)
Outputs
Name
True when finishes coordinate
Done
modification.
True when the instruction is
Busy
running.
Error
True when an error occurs.
Record the error code when an
error occurs.
ErrorID
Refer to Appendix for error code
descriptions.
*Note: SMC_ERROR: Enumeration (Enum)
Output Updating Time
Function
Axis position
(User-defined unit)
Function
Graphic Expression
Data
Setting Value
Type
(Default Value)
True/False
BOOL
(True)
Positive, negative,
LREAL
or 0 (0)
True/False
BOOL
(False)
Data Type
BOOL
BOOL
BOOL
SMC_ERROR*
ST Language
MC_SetPosition_instance(
Axis : =,
Execute : =,
Position : =,
Mode : =,
Done =>,
Busy =>,
Error =>,
ErrorID =>);
Timing to Take Effect
-
When Execute turns to True and
Busy is False.
When Execute turns to True and
Busy is False.
Output Range (Default Value)
True/False (False)
True/False (False)
True/False (False)
SMC_ERROR (SMC_NO_ERROR)
Ch a p t er 2
1 0 4

Advertisement

Table of Contents
loading

Table of Contents