A X - 3 S e r i e s O p e r a t i o n M a n u a l
7 - 1 6 2
_7
MC_Phasing(
Master:= Axis_Master,
Slave:= Axis_Slave,
Execute:= MC_Phasing_Execute,
PhaseShift:= MC_Phasing_PhaseShift,
Velocity:= MC_Phasing_Velocity,
Acceleration:= MC_Phasing_Acc,
Deceleration:= MC_Phasing_Dec,
Jerk:= ,
Done=> MC_Phasing_Done,
Busy=> ,
CommandAborted=> ,
Error=> ,
ErrorID=> );
7.8.2.9 Change Current Position in Movement
Change the current position of axis to the target position in the coordinate system with the feedback of the current
position. The interacting effects between MC_MoveRelative and MC_SetPosition are explained in the below
example. The following example supports with LD and ST programming languages.
Main variables used in programming
Variable
Data Type
Default
Note
Axis_Virtual
AXIS_REF_
VIRTUAL_
SM3
-
Associate variables of axis.
StartFlag
BOOL
FALSE
If this variable is TRUE and the communication with
axes is normal, Servo ON will be activated and
continue on further actions.
MC_Power0_Status
BOOL
FALSE
Status output variables of MC_Power for master,
TRUE when Servo On.
MC_Home0_Done
BOOL
FALSE
Output Done variables of MC_Home for master,
TRUE when homing completed.
MC_MoveRel_Distance
LREAL
8000
The target relative positions of MC_MoveRelative.
MC_MoveRel_Done
BOOL
FALSE
The output Done variables of MC_MoveRelative.
TRUE when the relative positioning is completed.
MC_MoveRel_Busy
BOOL
FALSE
The output Busy variables of MC_MoveRelative
TRUE when the instruction is triggered and executed.
MC_SetPosition_Execute
BOOL
FALSE
If TRUE, MC_SetPosition starts to be executed.
MC_SetPosition_Position
LREAL
3000
The absolute position and relative distance changed
by MC_SetPosition.
MC_SetPosition_Mode
BOOL
TRUE
MC_SetPosition is to set the axis position to be
absolute position or relative position.
MC_SetPosition_Done
BOOL
FALSE
The output Done variables of MC_SetPosition
TRUE when the position is changed.
Содержание AX-3 Series
Страница 17: ...AX 3 Series Operation Manual 1 10 _1 MEMO...
Страница 54: ...AX 3 Series Operation Manual 3 22 _3 MEMO...
Страница 98: ...AX 3 Series Operation Manual 4 44 _4 MEMO...
Страница 118: ...AX 3 Series Operation Manual 6 8 _6 MEMO...
Страница 148: ...AX 3 Series Operation Manual 7 30 _7 Scan PLC controller Add the newly scanned PLC controller and click OK...
Страница 241: ...Chapter 7 Motion Control Basic Settings Operation 7 123 7_ Click to enter Axis 0 tab on PoAxis Configuration page...
Страница 292: ...AX 3 Series Operation Manual 7 174 _7 Jerk Done MC_MoveSuperImposed_Done Busy CommandAborted Error ErrorID...
Страница 310: ...AX 3 Series Operation Manual 8 18 8_ MEMO...
Страница 355: ...Appendix A Troubleshooting A 5 _A...