Jump If Locig Accumulator = 1 (Jpt); Jump If Locig Accumulator = 0 (Jpf) - HEIDENHAIN iTNC 530 HSCI Technical Manual

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

9.8.66 JUMP IF LOGIC ACCUMULATOR = 1 (JPT)
9.8.67 JUMP IF LOGIC ACCUMULATOR = 0 (JPF)
July 2013
JPT (JUMP IF TRUE)
Syntax:
Label (LBL)
Operands:
Action:
The JPT command is a conditional jump command. If the logic accumulator =
1, the iTNC resumes the program at the label that you have entered. If the
logic accumulator = 0, the iTNC does not jump. The JPT command interrupts
a logic sequence.
Example:
This example also applies to the JP and JPF commands.
Depending on the state of the input I5, skip a certain program section.
Initial state:
Input I5
= 1
Function
Load the operand content
into the logic
accumulator.
If logic accumulator =1,
jump to LBL 10.
Skip the function.
Skip the function.
Skip the function.
Label
Resume the program run. L M100
JPT (JUMP IF FALSE)
Syntax:
Label (LBL)
Operands:
Action:
The JPF command is a conditional jump command. If the logic accumulator =
0, the iTNC resumes the program at the label that you have entered. If the
logic accumulator = 1, the iTNC does not jump. The JPF command interrupts
a logic sequence.
Example:
See JPT command.
9.8 Command Set
STL
Accumulator
content
L I5
1
JPT 10
1
L I3
O M500
= 020
LBL 10
0
. . . . . . . .
Operand content
1
0
1815

Advertisement

Table of Contents
loading

Table of Contents