
Installation manual.
CNC 8060
CNC 8065
PLC PROGRAMMIN
G
.
4.
Dire
c
tin
g
instructi
ons.
·343·
(R
EF
: 1709)
4.1
Directing instructions.
They provide the PLC with information on the type of program module and on how it must
be executed. The available directing instructions are:
PRG, PE t, CY1
Type of module.
The PLC program is structured by modules. Every module must begin with its defining
instruction (PRG, PE, CY1) and end with the END instruction. See
END
End of module or subroutine.
It must be defined for each module or subroutine.
A carriage return (empty line) is required after the last END.
REA, IMA
Real or image values.
They indicate whether the following consultations are carried out using the real values (REA)
or image values (IMA) or the I, O, M resources. The rest of the resources have no image
values, only real.
The real value is the one the resource has at that time and the image value is the one it had
at the end of the previous cycle scan. Image values (IMA) and real values (REA) may be
combined in the same instruction.
By default, all the modules (PRG, CY1, PEt) operate with real resource values. Action
instructions (=O32) always update the real values of the PLC resources.
PRG, PE t, CY1
Type of module.
END
End of module.
REA, IMA
Real or image values.
L
Label.
SUB
Subroutine definition.
DEF, PDEF
Symbol definition.
NOMONIT
No monitoring.
EXTERN
External subroutine definition.
CY1
First cycle module.
PRG
Main module.
PE t
Periodic module. It is executed every "t" milliseconds.
CY1
; Beginning of the CY1 module
···
END
; End of the CY1 module
PRG
; Beginning of the PRG module
···
END
; End of the PRG module
IMA I3 AND REA M4 = 02
Содержание 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...