Sequence Breaking Action Instructions - Fagor CNC 8060 Installation Manual

Hide thumbs Also See for CNC 8060:
Table of Contents

Advertisement

4.4.3
4.
CNC 8060
CNC 8065
(R
: 1709)
EF
·354·

Sequence breaking action instructions.

These actions interrupt the sequence of a program, resuming it somewhere else in the
program.
= JMP
Unconditional jump.
If the result of the logic expression is a "1", it jumps to the indicated label. If the result is a
"0", it goes on to the next program line.
Its syntax depends on how the label to jump to was defined
= JMP L123
= JMP L_ASA2
I8 = JMP L12
If I8=1 the program continues at L12 and it does not execute the intermediate blocks.
NOT M14 AND NOT B7R120 = O8
CPS T2 EQ 2000 = O12
L12
(I12 AND I23) OR M54 = O6
= CAL
Call to a subroutine.
If the result of the logic expression is a "1", this action executes the indicated subroutine.
If the result of the logic expression is a "0", the PLC will ignore this action and the program
will go on without executing that subroutine.
Once the subroutine execution is over, the PLC will continue at the action instruction or
executable instruction programmed after CAL.
Its syntax depends on how its associated subroutine was defined.
= CAL OILING
= CAL L234
= CAL L_GEAR
I2 = CAL L5 = O2
With I2=1, subroutine L5 will be executed and once executed, the PLC will set O2 to
the value of input I2 (=1). If I2=0, the subroutine is not executed and the PLC sets output
O2 to the status of input I2 (=0).
= RET
Return or end of a subroutine.
If the result of the logic expression is a "1", the PLC will treat this action like an END
instruction. If the result is a "0", the PLC will ignore it.
If while executing a subroutine, the PLC detects a validated RET, it will conclude the
subroutine.
If the label was defined as L123.
If the label was defined as L_ASA2.
If it was defined as SUB OILING.
If it was defined as L234.
If it was defined as L_GEAR.
I n s ta ll a t io n ma n u a l.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cnc 80658060 t power8060 l8060 m fl8060 t fl8060 m power ... Show all

Table of Contents