beautypg.com

IAI America SSEL User Manual

Page 114

background image

92

Part 2 Programs

(2) Axis

pattern

Whether or not each axis will be used is indicated by “1” or “0.”

(Upper) (Lower)

Axis number

Axis 2

Axis 1

Used 1 1

Not used

0

0

[Example]

When axes 1 and 2 are used

Axis 2

11

Axis 1

[Example]

When axes 2 is used

Axis 2

10 (In this case, the 0s are needed to indicate the position of axis 2.)

Indirect specification of axis pattern in a variable
The axis pattern is considered a binary value, and a converted decimal value is assigned to a variable.

[Example]

To perform home return for axis 2 only, you can specify as follows based on axis pattern:

HOME 10

In indirect specification, 10 (binary) is expressed as 2 (decimal), so the same operation can
be specified as follows:

LET

6 2

HOME *6

If you must select and specify multiple axes at the same time, use axis pattern.
x Commands that use axis specification based on axis pattern

OFST, GRP, SVON, SVOF, HOME, JFWN, JFWF, JBWN, JBWF, STOP, PTST, PRED
CHVL, PBND, WZNA, WZNO, WZFA, WZFO, movd, MVDI,PTRQ