IAI America XSEL-KE User Manual

Page 177

Advertising
background image

162

Part 4 Commands

z JXWX (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

JXWX

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
PD[LPXPVSHHGZLOOEHOLPLWHGE\³$OOD[LVparameter No. 15, Maximum jog speed before
KRPHUHWXUQ´6LQFHFRRUGLQDWHYDOXHVGRQRWPHDQDQ\WKLQJEHIRUHKRPHUHWXUQSD\GXH
attention to prevent contact with the stroke ends.

(Note 2)

If an axis moving in accordance with JXWX

KDVLWV³$[LVVSHFLILFSDUDPHWHU1R$[LV

RSHUDWLRQW\SH´VHWWR³´ /LQHDUPRYHPHQWD[LV $1'³$[LVVSHFLILFSDUDPHWHU1R
/LQHDUPRYHPHQWPRGHVHOHFWLRQ´WR³´ ,QILQLWHstroke mode*), the axis will operate based on
DQLQILQLWHVWURNH5HIHUWR³&RPELQDWLRQ7DEOHRI;6(//LQHDU5RWDU\&RQWURO3DUDPHWHUV´LQ
Appendix.
When infinite stroke is enabled, the curr

HQWSRVLWLRQZLOOF\FOHEHWZHHQDSSUR[±PDQG

P
Any positioning command other than the above to a position exceeding a coordinate range
IURPDSSUR[±WRZLOOJHQHUDWHDQ³(UURU1R&%(7DUJHWGDWDERXQGDU\RYHU
HUURU´
Executing any positioning command other than the above outside a coordinate range from
DSSUR[±WRZLOODOVRJHQHUDWHDQ³(UURU1R&&3RVLWLRQLQJERXQGDU\GHYLDWLRQ
HUURU´
(These errors generate because the user cannot recognize the operating direction reliably
around the boundary. The current value may need to be reset using a HOME command, in
FRQMXQFWLRQZLWK³$[LVVSHFLILHGSDUDPHWHU1R+RPHUHWXUQPHWKRG´EHLQJVHWWR³´
&XUUHQWSRVLWLRQKRPH 
When infinite stroke is enabled, be sure to perform a timeout check using other task or an
external system.

The infinite-stroke mode can be specified only for an incremental-encoder axis.
Be sure to contact IAI’s Sales Engineering if you wish to use the infinite-stroke mode.

>([DPSOH@

9(/





6HWWKHVSHHGWRPPVHF



-%:)

 

0RYHD[HVDQGEDFNZDUGZKLOHLQSXWLV2))

[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
DYDULDEOH ELQDU\ o 12 (decimal)



9(/





6HWWKHVSHHGWRPPVHF

LET

1

12

Assign 12 to variable 1.



-%:)







>([DPSOH@

9(/





6HWWKHVSHHGWRPPVHF



/(7





$VVLJQWRYDULDEOH



-):1

 

0RYHD[HVDQGIRUZDUGZKLOHWKHFRQWHQWRIYDULDEOH
LQSXWSRUW LV21

Advertising
This manual is related to the following products: