Installation manual.
CNC 8060
CNC 8065
4.
PLC PROGRAMMIN
G
.
Action instructions.
·354·
(R
EF
: 1709)
4.4.3
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
If the label was defined as L123.
= JMP L_ASA2
If the label was defined as L_ASA2.
= 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
If it was defined as SUB OILING.
= CAL L234
If it was defined as L234.
= CAL L_GEAR
If it was defined as L_GEAR.
= 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.
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
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).
Содержание CNC 8060
Страница 1: ...Ref 1709 8060 8065 CNC Installation manual...
Страница 10: ...BLANK PAGE 10...
Страница 14: ...BLANK PAGE 14...
Страница 20: ...BLANK PAGE 20...
Страница 32: ...BLANK PAGE 32...
Страница 36: ...BLANK PAGE 36...
Страница 38: ...BLANK PAGE 38...
Страница 40: ...BLANK PAGE 40...
Страница 41: ...PART 1 INSTALLATION MANUAL...
Страница 42: ...BLANK PAGE 42...
Страница 58: ...Installation manual CNC 8060 CNC 8065 1 SOFTWARE INSTALLATION Software configuration 58 REF 1709...
Страница 340: ...Installation manual CNC 8060 CNC 8065 3 INTRODUCTION TO THE PLC Operation of a counter 340 REF 1709...
Страница 448: ...Installation manual CNC 8060 CNC 8065 6 LOGIC CNC INPUTS AND OUTPUTS Keystroke modifiable signals 448 REF 1709...
Страница 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Страница 533: ...PART 2 CONCEPTS...
Страница 534: ...BLANK PAGE 534...
Страница 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Страница 574: ...Installation manual CNC 8060 CNC 8065 11 CONFIGURING AN AXIS Home search 574 REF 1709 X Z H OM OW ZMH ZMW XMH...
Страница 598: ...Installation manual CNC 8060 CNC 8065 12 VOLUMETRIC COMPENSATION Error messages cause and solution 598 REF 1709...
Страница 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Страница 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Страница 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...