IAI America XSEL-KE User Manual

Page 207

Advertising
background image

192

Part 4 Commands

z WZFA (Wait for zone OFF, with AND)

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

WZFA

Zone

number

Axis

pattern

CP

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

become OFF (outside 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]

WZFA

1

11

If the parameters are set as follows, the program
will wait until the zone status of axes 1 and 2
becomes OFF (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.

WZFA 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: