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 6
_7
//Under Servo On state and unsure of the start position, home positioning operation will be required.
IF MC_Power0_Status = TRUE THEN
MC_Home0_Execute := TRUE;
END_IF
MC_Home_0(
Axis:= Axis_Virtual,
Execute:= MC_Home0_Execute,
Position:= 0,
Done=> MC_Home0_Done,
Busy=> ,
CommandAborted=> ,
Error=> ,
ErrorID=> );
//After the homing operation of axis is completed, execute MC_MoveRelative.
//The target position of relative displacement = 8000
MC_MoveRelative(
Axis:= Axis_Virtual,
Execute:= MC_Home0_Done,
Distance:= MC_MoveRel_Distance,
Velocity:= MC_MoveRel_Velocity,
Acceleration:= MC_MoveRel_Acc,
Deceleration:= MC_MoveRel_Dec,
Jerk:= ,
Done=> MC_MoveRel_Done,
Busy=> MC_MoveRel_Busy,
CommandAborted=> ,
Error=> ,
ErrorID=> );
//When the current position of axis passes 4000, execute MC_SetPosition (Mode = Relative
,
Distance = 3000) so as
to //change the current position to be the assigned target position.
IF (MC_MoveRel_Busy = TRUE) AND (Axis_Virtual.fSetPosition >= 4000) THEN
MC_SetPosition_Execute := TRUE;
END_IF
MC_SetPosition(
Axis:= Axis_Virtual,
Execute:= MC_SetPosition_Execute,
Position:= MC_SetPosition_Position,
Mode:= MC_SetPosition_Mode,
Done=> MC_SetPosition_Done,
Busy=> ,
Error=> ,
ErrorID=> );
Содержание 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...