·297·
CNC 8035
(S
OFT
M: V15.3
X
)
(S
OFT
T: V16.3
X
)
8
PLC PROGRAMMING
The PLC program is structured by modules and it may consist of:
•
Main module (PRG).
•
Periodic execution module (PE).
•
First cycle module (CY1).
Every time the PLC program starts running, the CNC will execute first, if it has been defined, the
First Cycle module (CY1). Then it will execute the Main Program module (PRG) continuously until
the PLC program is stopped.
The periodic execution modules (PE) will be executed every so often with the frequency established
for each of them. This time period starts counting from the time the CY1 cycle is ended. The
execution of a periodic module temporarily interrupts the execution of the main module.
When defining the PLC program, both the processing of the main module (PRG) and the periodic
modules (PE) must be taken into consideration.
The main module (PRG) will be processed cyclically. See
The periodic module is optional and it is executed every so often as indicated by the directing
instruction defining the module.
It is used to process certain critical inputs and outputs which cannot be properly evaluated within
the main module because the cycle scan time for the main module would be too long for these
resources to be checked and reacted upon.
It does not modify the status of the PLC resources. Therefore, the main module will resume execution
as if the periodic module had not been executed at all.
The periodic module is processed as follows:
1.
The PLC takes into account the current values, as just before executing the PE module, of the
local physical inputs (connectors of the central unit).
2.
Executes the periodic module.
3.
It assigns the current values of the PLC’s ”O” resources to the local physical outputs (connectors
of the central unit).
4.
It ends the execution of the Periodic Module and resumes the execution of the main module.
Summary of Contents for 8035-M
Page 1: ...Soft M V15 3x Soft T V16 3x CNC 8035 Ref 1106 INSTALLATION MANUAL M T MODELS...
Page 2: ......
Page 4: ......
Page 10: ......
Page 12: ......
Page 18: ...CNC 8035 18 Version history M...
Page 24: ...CNC 8035 24 Version history T...
Page 28: ...CNC 8035 28 Safety conditions...
Page 32: ...CNC 8035 32 Material returning terms...
Page 34: ...CNC 8035 34 Additional remarks...
Page 36: ...CNC 8035 36 Fagor documentation...
Page 56: ...Installation manual CNC 8035 1 CNC CONFIGURATION CNC structure SOFT M V15 3X SOFT T V16 3X 56...
Page 178: ...Installation manual CNC 8035 4 MACHINE PARAMETERS Tables SOFT M V15 3X SOFT T V16 3X 178...
Page 424: ......
Page 430: ...Installation manual CNC 8035 B APPENDIX Probe connection SOFT M V15 3X SOFT T V16 3X 430...
Page 450: ...Installation manual CNC 8035 G APPENDIX Key codes SOFT M V15 3X SOFT T V16 3X 450...
Page 454: ...Installation manual CNC 8035 I APPENDIX Key inhibiting codes SOFT M V15 3X SOFT T V16 3X 454...
Page 468: ...CNC 8035 N APPENDIX SOFT M V15 3X SOFT T V16 3X 468 Installation manual...
Page 469: ...CNC 8035 N SOFT M V15 3X SOFT T V16 3X 469 Installation manual...
Page 470: ...CNC 8035 N SOFT M V15 3X SOFT T V16 3X 470 Installation manual...