EasyManua.ls Logo

Fagor 8035-T - Chapter 8 Plc Programming; Module Structure

Fagor 8035-T
470 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...

Installation manual
CNC 8035
8.
PLC PROGRAMMING
Module structure
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·298·
8.1 Module structure
The modules which make up the PLC program (main module "PRG", periodic modules "PE" and
first cycle module "CY1") consist of a series of instructions which, depending on their functionality,
can be divided into:
Directing instructions.
Executable 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 allow inquiries to be made on and/or alterations to the status of PLC
resources and consist of:
Logic expressions consist of:
All comments must begin with ";". ";". Lines beginning with a ";" are considered comments and are
not executed.
Programming example:
PRG ; Directing instruction
; Example Comment.
I100 = M102 ; Executable proposition.
I28 AND I30 ; Logic expression.
= O25 ; Action instruction.
I32 \ ; Consulting instruction (1st part of the expression)
AND I36 ; Consulting instruction (1st part of the expression).
= M300 ; Action instruction.
END ; Directing instruction.
See "Summary of PLC commands" on page 437.
Logic expressions (Boolean 0/1) I28 AND I30
Action instructions. = O25
Consulting instructions I28, O25
Operators. AND
Empty lines are not allowed, they must contain at least one comment.

Table of Contents

Related product manuals