IAI America ASEL User Manual

Page 250

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

228

Part 2 Programs

1.22

Palletizing Calculation Command

z

PTNG (Get palletizing position number)

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

PTNG

Palletizing

number

Variable

number

CP

Assign the palletizing position number for the palletizing number specified in operand 1 to the variable

specified in operand 2.

If the output field is specified, the output will turn ON after this command is executed.

z

PINC (Increment palletizing position number by 1)

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

PINC

Palletizing

number

Prohibited

CC

Increment by 1 the palletizing position number for the palletizing number specified in operand 1.

If the incremented value is considered normal as a palletizing position number calculated under the

current palletizing setting, the value will be updated. If not, the value will not be updated.

If the output field is specified, the output will turn ON when the value was successfully incremented, and

turn OFF if the increment failed.

Advertising