IAI America XSEL-S User Manual
Page 126

Chapter 3 Programs
118
z
XJ (extension motion control board axis jog movement)
Command, declaration
Extension
condition
(LD, A, O, AB, OB)
Input condition
(I/O/flag)
Command,
declaration
Operand 1
Operand 2
Output part
operation type
(output/flag)
E
N, Cnd
Cmnd
Operand1
Operand2
Pst
Optional
Optional
XJ
Input, output,
flag No.
Prohibited
PE
[Function]
It is possible to move the extension motion control board control axis specified by the XAXS
command forward/backward by turning ON/OFF input port or output port specified by
operation 1 or flag.
XJFN …
Moves forward when the specified port is turned ON
XJFF …
Moves forward when the specified port is turned OFF
XJBN…
Moves backward when the specified port is turned ON
XJBF…
Moves backward when the specified port is turned OFF
Caution :
(1) Set axis patterns using the XAXS command before executing this command. If the command has not
been executed, error No. 445 “No extension motion control board axe pattern setting error” occurs.
(2) This command is valid for axes that have not completed home return, but the speed is limited by
parameter common for extension motion control board No. 4 “maximum jog speed when home return
not completed.” Since the coordinates at this point are meaningless, exercise sufficient care not to
cause interference to work parts and stroke end.
[Example 1] VEL
100
Set 100 mm/s for speed.
XAXS
0
11
Set axis patterns for axes 0 and 1.
XJBF
10
Move axes 0 and 1 backward when input port No. 10 is turned
OFF.
[Example 2] VEL
100
Set 100 mm/s for speed.
LET
5
20
Assign 20 to variable No. 5.
XAXS
0
11
Set axis patterns for axes 0 and 1.
XJFN
*5
Move axes 0 and 1 forward when input ports whose variable
No. 5 is set to 20 are turned ON.