IAI America ASEL User Manual
Page 192
![background image](/manuals/350317/192/background.png)
Part 2 Programs
Chapter 3 Explanation of Commands
170
Part 2 Programs
z
JW (Jog)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional
Optional
JW
Axis
pattern
Input,
output, flag
number
PE
[Function] The axes in the axis pattern specified in operand 1 will move forward or backward while the
input or output port or flag specified in operand 2 is ON or OFF.
JBWF
Move backward while the specified port is OFF.
JBWN
Move backward while the specified port is ON.
JFWF
Move forward while the specified port is OFF.
JFWN
Move forward while the specified port is ON.
(Note 1) This command is also valid on an axis not yet completing home return. In this case, the
maximum speed will be limited by “All-axis parameter No. 15, Maximum jog speed before
home return.” Since coordinate values do not mean anything before home return, pay due
attention to prevent contact with the stroke ends.
[Example 1]
VEL
100
Set the speed to 100 mm/s.
JBWF
11
10
Move axes 1 and 2 backward while input 10 is OFF.
[Example 2]
The axis pattern can be specified indirectly using a variable.
When the command in [Example 1] is rephrased based on indirect specification using a
variable:
11 (binary) o 3 (decimal)
VEL
100
Set the speed to 100 mm/s.
LET
1
3
Assign 3 to variable 1.
JBWF
*1
10
[Example 3]
VEL
100
Set the speed to 100 mm/s.
LET
5
20
Assign 20 to variable 5.
JFWN
10
*5
Move axis 2 forward while the content of variable 5 (input
20), is ON.