
409
Appendix
26. Jogging (for Linear Axes)
Description
The slider moves forward or backward while an input is ON or OFF.
In addition to an input, an output or global flag can also be used.
If the specified input does not meet the condition when this command is executed, nothing is done and the
program will move to the next step.
Regardless of the input status, the slider stops when it reaches to its soft limit and the command will move
to the next stop.
How to Use
Explanation of command
JFWN 1
20
Axis 1 moves forward while input 20 is ON.
JFWF 1
21
Axis 1 moves forward while input 21 is ON.
JBWN 10
22
Axis 2 moves backward while input 22 is ON.
JBWF 10
23
Axis 2 moves backward while input 23 is ON.
Example of Use 1
Stop the axis movement when a sensor input is received.
Example of Use 2
Jog the actuators just like you do with a teaching pendant (operation of two axes).
Application Program
The axis comes down and when a
load is detected, the axis will stop.
Sensor detection line
Load
VEL
50
Specify a low speed.
JFWF 1 20
Move until a sensor input (20) is received.
EXIT
End of program
Note
The HOLD, STOP and CANC
commands are effective even
during jogging.
410
Appendix
27. Program Switching
Description
Use an EXPG/ABPG command to switch programs from within a program.
Example 1
Start program 2 when the processing by program 1 is completed, and end program 1.
Program 1
Program 2
EXPG 2
EXIT
Example 2
Start a program via an external signal and end other program.
Program 1
Program 2
ABPG 2
ABPG 1
If program 2 is started while program 1 is operating, program 1 will be aborted.
If program 1 is started while program 2 is operating, program 2 will be aborted.
Application
By specifying a program number in operand 2, you can simultaneously start (EXPG) or end (ABPG) all of
the programs corresponding to the program number specified in operand 1 through the number specified
in operand 2.
Note
X-SEL controllers support multi-tasking. By starting other program while a program is currently running
and repeating this process, you can start a total of up to 16 programs. If there are more than 16
programs to be used, switch programs and end unnecessary programs.
If a program is executing a movement command when an ABPG command is issued to end the
program, any axis moving at the time will immediately decelerate to a stop.
413
Summary of Contents for X-SEL PX
Page 1: ...Operation ManualSeventh Edition X SEL Controller PX QX Type Tenth Edition ...
Page 2: ......
Page 8: ......
Page 14: ......
Page 410: ...383 Appendix 386 ...
Page 452: ...425 Appendix 5 428 ...
Page 559: ......