3. - Fagor Automation
3. - Fagor Automation
3. - Fagor Automation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
PLC<br />
9<br />
In this operating mode, the PLC may be accessed to check its operation or the status of its variables.<br />
It is also possible to edit or analyze the PLC program as well as the message or the error files of<br />
the PLC.<br />
The accessible programs associated with the PLC are:<br />
The PLC program (PLC_PRG)<br />
The PLC error file (PLC_ERR)<br />
The PLC message file (PLC_MSG)<br />
The PLC program (PLC_PRG) may be edited at the front panel or copied from the hard disk (KeyCF)<br />
or from a PC as described in the "Utilities" chapter.<br />
The PLC program (PLC_PRG) is stored in the internal CNC memory with the part-programs and<br />
it is displayed in the program directory (utilities) together with the part-programs.<br />
Before executing the PLC_PRG program, it must be compiled. Once it is done compiling, the CNC<br />
requests whether the PLC should be started or not. To make the operator life easier and avoid new<br />
compilations, the source code generated at each compilation is stored in memory.<br />
After power-up, the CNC acts as follows:<br />
Is there an<br />
executable code?<br />
No<br />
Is there a<br />
No<br />
Is there a<br />
PLC_PRG in<br />
No<br />
Yes<br />
Yes<br />
Yes<br />
The PLC compiles and<br />
generates the executable<br />
RUN END<br />
Runs the executable program stored in memory.<br />
If there isn't one, it compiles the PLC_PRG<br />
program already in memory and runs the resulting<br />
executable program.<br />
If it is not there, it looks for it in the hard disk<br />
(KeyCF).<br />
If it isn't in the hard disk (KeyCF) either, it does<br />
nothing. Later on, when accessing the jog mode,<br />
execution mode, etc. the CNC will issue the<br />
corresponding error message.<br />
Once the program has been compiled, it is not necessary to keep the source program (PLC_PRG)<br />
in memory because the PLC always executes the executable program.<br />
Once the proper performance of the PLC has been verified, it is a good idea to save it into the hard<br />
disk (KeyCF) using the instruction SAVE PROGRAM (as described later on).<br />
CNC 8035<br />
·T· MODEL<br />
(SOFT V16.3X)<br />
·155·