
Installation manual
CNC 8055
CNC 8055i
IN
T
R
ODU
C
TI
ON
T
O
TH
E PL
C
8.
S
OFT
: V02.2
X
·425·
PL
C p
ro
g
ram
executio
n
8.2
PLC program execution
The PLC executes the user program cyclically. In other words, once it executes the complete
program, it restarts running this program from the first instruction.
This cyclic processing of the program is done as follows:
1.
At the beginning of the cycle, PLC’s "I" resources are assigned the current values of the physical
inputs (connectors).
For example, if the physical input I10 is at 24V, the PLC sets the I10 resource to "1".
2.
It allocates the current values of the logic CNC outputs (CNCREADY, START, FHOUT, etc.) to
PLC resources M5500 thru M5957 and R550 thru R562 .
3.
It runs the program cycle.
The following sections indicate how the PLC program is structured and which are its execution
modules. See
"8.4 Modular structure of the program"
4.
After executing the cycle, it updates the Logic CNC inputs (/EMERGEN, /STOP, /FEEDHOL, etc.)
with the current values of PLC resources M5000 thru M5465 and R500 thru R505.
5.
It assigns the current values of the PLC’s "O" resources to the physical outputs (connectors).
For example, if the "O5" resource is at "1", the PLC sets physical output O5 (connector) to 24V.
6.
The cycle ends and is ready for the next scan.
Bear in mind that all the actions of the program executed by the PLC alter the status of its resources.
Example: I10 AND I20 = O5
When this condition is met [resource I10 is "1" and I20 is also "1"], the PLC sets resource "O5"
to "1". If this condition is not met, the PLC sets resource "O5" to "0".
Therefore, the status of a resource may change during the execution of the PLC program.
Example, assuming that the initial status of resource M100 is "0":
M100 AND I7 = O3
Resource M100 = "0"
I10 = M100
M100 takes the value of resource I10
M100 AND I8 = M101
The value of M100 depends on the previous instruction.
This type of problems may be prevented by careful programming or by using "Image" resource
values (instead of "Real" values).
The PLC has 2 memories to store the status of the registers, the real memory and the image memory.
All the steps described so far work with the real memory. Saying "value of a particular resource"
is the same as saying "real value of a particular resource"
The image memory contains a copy of the values (status) that the resources had at the end of the
previous cycle. The PLC makes this copy at the end of the cycle. The resources having an image
value are: I1 thru I512, O1 thru O512 and M1 thru M2047
Summary of Contents for CNC 8055i
Page 1: ...CNC 8055 Installation manual Ref 1705 Soft V02 2x...
Page 8: ...8 Installation manual CNC 8055 CNC 8055i SOFT V02 2X...
Page 12: ...18 CNC 8055 CNC 8055i Declaration of conformity and Warranty conditions...
Page 16: ...10 CNC 8055 CNC 8055i Version history...
Page 22: ...16 CNC 8055 CNC 8055i Returning conditions...
Page 24: ...20 CNC 8055 CNC 8055i Additional notes...
Page 26: ...22 CNC 8055 CNC 8055i Fagor documentation...
Page 72: ...72 Installation manual CNC 8055 CNC 8055i 1 8055 CNC CONFIGURATION SOFT V02 2X Operator panel...
Page 227: ...Installation manual CNC 8055 CNC 8055i MACHINE PARAMETERS 6 SOFT V02 2X 227 Axis parameters...
Page 290: ...290 Installation manual CNC 8055 CNC 8055i 6 MACHINE PARAMETERS SOFT V02 2X Tables...
Page 474: ...474 Installation manual CNC 8055 CNC 8055i 10 PLC PROGRAMMING SOFT V02 2X PLC library...
Page 644: ......
Page 652: ...652 Installation manual CNC 8055 CNC 8055i B SOFT V02 2X Central unit of the 8055 CNC...
Page 654: ...654 Installation manual CNC 8055 CNC 8055i C SOFT V02 2X 11 LCD Monitor...
Page 656: ...656 Installation manual CNC 8055 CNC 8055i D SOFT V02 2X Probe connection at the 8055i...
Page 658: ...658 Installation manual CNC 8055 CNC 8055i E SOFT V02 2X Probe connection at the 8055 CNC...
Page 681: ...Installation manual CNC 8055 CNC 8055i J SOFT V02 2X 681 Key code MC operator panel...
Page 682: ...682 Installation manual CNC 8055 CNC 8055i J SOFT V02 2X Key code...
Page 683: ...Installation manual CNC 8055 CNC 8055i J SOFT V02 2X 683 Key code TC operator panel...
Page 684: ...684 Installation manual CNC 8055 CNC 8055i J SOFT V02 2X Key code...
Page 685: ...Installation manual CNC 8055 CNC 8055i J SOFT V02 2X 685 Key code MCO TCO operator panel...
Page 686: ...686 Installation manual CNC 8055 CNC 8055i J SOFT V02 2X Key code Alphanumeric keyboard...
Page 687: ...Installation manual CNC 8055 CNC 8055i J SOFT V02 2X 687 Key code 11 LCD Monitor...
Page 688: ...688 Installation manual CNC 8055 CNC 8055i J SOFT V02 2X Key code...
Page 692: ...692 Installation manual CNC 8055 CNC 8055i K SOFT V02 2X Logic outputs of key status...
Page 694: ...694 Installation manual CNC 8055 CNC 8055i K SOFT V02 2X Logic outputs of key status...
Page 698: ...698 Installation manual CNC 8055 CNC 8055i K SOFT V02 2X Logic outputs of key status...
Page 702: ...702 Installation manual CNC 8055 CNC 8055i L SOFT V02 2X Key inhibiting codes...
Page 704: ...704 Installation manual CNC 8055 CNC 8055i L SOFT V02 2X Key inhibiting codes...
Page 707: ...Installation manual CNC 8055 CNC 8055i L SOFT V02 2X 707 Key inhibiting codes 11 LCD Monitor...
Page 708: ...708 Installation manual CNC 8055 CNC 8055i L SOFT V02 2X Key inhibiting codes...
Page 722: ...722 Installation manual CNC 8055 CNC 8055i N SOFT V02 2X M functions setting chart...
Page 728: ...728 Installation manual CNC 8055 CNC 8055i Q SOFT V02 2X Maintenance...
Page 729: ...Installation manual CNC 8055 CNC 8055i Q SOFT V02 2X 729...
Page 730: ...730 Installation manual CNC 8055 CNC 8055i Q SOFT V02 2X...
Page 731: ......