21 palletizing calculation command – IAI America XSEL-KX User Manual
Page 240

224
Part 4 Commands
1.21 Palletizing Calculation Command
PTNG (Get palletizing position number)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1
Operand 2
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.
PINC (Increment palletizing position number by 1)
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command, declaration
Output
(Output, flag)
Command,
declaration
Operand 1
Operand 2
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.