IAI America XSEL-KE User Manual

Page 206

Advertising
background image

191

Part 4 Commands

z WZNO (Wait for zone ON, with OR)

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

WZNO

Zone

number

Axis

pattern

CP

[Function] Wait for the zone status of any of the axes (OR) specified by the axis pattern in operand 2 to

become ON (inside zone) with respect to the zone specified in operand 1.

(Note 1)

The zone status of axes not yet completing home return will remain OFF (outside zone).

(Note 2)

A maximum of four areas can be set as zo

QHVIRUHDFKD[LV ³$[LVVSHFLILFSDUDPHWHU1RV

WR´ 

1RWH 

=RQHRXWSXWFDQEHVSHFLILHGXVLQJ³$[LVVSHFLILFSDUDPHWHU1RVDQG´
irrespective of this command.

[Example 1]

WZNO

1

11

If the parameters are set as follows, the program
will wait until the zone status of axes 1 or 2
becomes ON (inside the shaded area shown in the
diagram below).

[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)

LET

5

3

Assign 3 to variable 5.

WZNO 1

*5

Axis 1

Axis 2

³$[LVVSHFLILFSDUDPHWHU1R=RQHPD[´
(Value is set in units of 0.001 mm)

300000 200000

³$[LVVSHFLILFSDUDPHWHU1R=RQHPLQ´
(Value is set in units of 0.001 mm)

150000 100000

The program will proceed to the next step if both axes
1 and 2 are inside the shaded area.

Axis 2

Axis 1

200

100

150 300

Advertising
This manual is related to the following products: