EasyManua.ls Logo

Fagor CNC 8065 - Page 241

Fagor CNC 8065
900 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CNC 8060
CNC 8065
(REF: 1402)
4
·241·
PLC PROGRAMMING.
The PLC program may comprise the following modules. Every module must begin with the
directive instruction that defines it (CY1, PRG, PE) and end with the directing instruction
END.
First Cycle module (CY1).
Main module (PRG).
Periodic module (PE).
All of them consist of a series of instructions that depending on their function may be either
directing or executable instructions.
Directing instructions.
The directing instructions provide the PLC with information on the type of module (PRG, CY1,
...) and on how it must be executed (REA, IMA, ...).
Executable instructions.
With the executable instructions, it is possible to check and/or change the status of the PLC
resources. They consist of:
Logic or Boolean instructions (I28 AND I30).
Action instructions (=O25).
Logic expressions consist of:
Consulting instructions (I28, O25).
Operators (AND).
Logic expressions can be written in two or more different lines without having to include any
dividing character. However, to make the program easier to understand, the "\" character may
be inserted at the end of each line, but it is not necessary.
The following programming examples are equivalent.
Option 1.
I32 AND I36 AND M111 = O25
Option 2.
I32 AND I36 AND M111
= O25
Option 3.
I32
AND I36
AND M111
= O25
Option 4.
I32 \
AND I36 \
AND M111
= O25

Table of Contents

Other manuals for Fagor CNC 8065

Related product manuals