Installation manual
CNC 8035
INTRODUCTION TO THE PLC
Modular structure of the program
7.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·291·
7.4 Modular structure of the program
The program to be executed by the PLC consists of a series of modules which are appropriately
defined by means of directing instructions.
The modules which can make up the program are:
• Main module (PRG)
• Periodic execution module (PE)
• First cycle module (CY1)
Each module must begin with the directing instruction which defines it (PRG, PE, CY1) and end with
the directing instruction END.
Should the main program contain the main module only it is not necessary to place the instructions
PRG and END.