Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1717

Hide thumbs Also See for MANUALplus 620:

Advertisement

8.15.66 JUMP IF LOGIC ACCUMULATOR = 1 (JPT)
January 2012
Syntax:
JPT (JUMP IF TRUE)
Operands:
Label (LBL)
Action:
The JPT command is a conditional jump command. If the logic accumulator =
1, the control resumes the program at the label that you have entered. If the
logic accumulator = 0, the control 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
8.15 Command Set
STL
Accumulator
content
L I5
1
JPT 10
1
L I3
O M500
= 020
LBL 10
0
. . . . . . . .
Operand content
1
0
1717

Advertisement

loading