EasyManua.ls Logo

Fagor CNC 8055i FL EN - Page 456

Fagor CNC 8055i FL EN
732 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...
·456·
Installation manual
CNC 8055
CNC 8055i
10.
PLC PROGRAMMING
SOFT: V02.2X
Directing instructions
This option, among other applications, makes programming and later understanding of the PLC
program much easier when trying to control the CNC by simulating its keyboard from the PLC
program.
Example:
The PLC allows up to 2000 symbol definitions which must always be programmed at the beginning
of the program, before any other instruction, be this directing or executing.
A symbol will be made up with up to 8 characters, and must not coincide with any of the words
reserved for instructions, nor be formed by the characters space" ", equal "=", open and close
parentheses "( )", comma "," and semicolon ";".
Duplicate symbols cannot be defined; but several symbols may be assigned to the same resource.
Example:
The symbols associated to specialized marks and register (M>2047 and R>=500) are pre-defined
in the PLC and, therefore, it is not necessary to define them, nevertheless and if required, the PLC
allows a different symbol to be assigned to them.
REA, IMA
Indicate to the PLC that the consultations defined below will be made on the real (REA) or image
(IMA) values of I, O, M resources.
Counters, timers and registers do not have image values, so their real values will always be
evaluated.
Action instructions (=O32) will always update the real values of PLC resources.
Example:
IRD, IREMRD
Update the real values of the local inputs (IRD) and the remote ones (IREMRD) after reading the
relevant physical inputs.
Care must be taken when using these instructions since the current real values of the inputs will
be lost.
OWR, OREMWR
Update the local physical outputs (OWR) and the remote ones (OREMWR) with the current real
values of the corresponding O resources.
DEF HELP $FFF2
Assigns the "HELP" symbol to the code for the HELP key.
() = MOV HELP R101
Assigns the code corresponding to the "HELP" key to register R101.
CNCWR (R101, KEY, M101)
Indicates to the CNC that the key whose code is stored in register R101 and corresponds to the HELP
key.
DEF EMRGOUT O1
DEF SALEMRG O1
IMA
Consultations will evaluate image values.
I1 AND I2 = 01
---------
REA
Consultations will evaluate real values.
IMA I3 AND REA M4 = 02
Evaluates the image of I3 and the real of M4.
IMA I5 REA = O3
Evaluates the image of I5 and the next ones in real.

Table of Contents

Related product manuals