beautypg.com

2 erase plc-program, 3 transfer program from eprom, 4 translate plc program – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 387: 5 utilization, 2 erase plc program

background image


7-8

TNC 360

1 PLC Functions

8/95

1.2.2 Erase PLC program

In the operating mode ERASE PLC PROGRAM, a PLC program contained in the RAM can be deleted
by pressing ENT.

1.2.3 Transfer program from EPROM

In the operating mode TRANSFER PROGRAM FROM EPROM, a program that is stored in the
EPROM can be copied into the RAM by pressing ENT (see also MP 4010).

1.2.4 Translate PLC program

A PLC program created with the PLC editor and stored in RAM must first be compiled in the
TRANSLATE PLC PROGRAM mode before it can be tested.

Press ENT to start translation.

If a PLC program is already in the RAM prior to TNC switch-on, it is automatically translated.

Errors in the program can be found during the translation run (see Section "Program creation", "Error
messages").

1.2.5 Utilization

In the UTILIZATION mode of operation the occupied PLC processing time and the vacant PLC
memory are displayed.

The vacant memory is derived from the total memory and the occupied memory.

The vacant PLC memory is displayed in bytes or in percent of the maximum memory (28 KB).
100 % processing time corresponds to 2.5 ms (from 24 ms PLC cycle time). The maximum possible
processing time is determined by the manufacturer and equals 5 ms. The current processing time
indicates the duration of the last PLC scan. If the current processing time exceeds 5 ms, the blinking
error message

ERROR IN PLC PROGRAM 53

will appear.

Please note that the processing time increases by 20% during active V.24 data transfer, and by 5%
during handwheel operation. A PLC program should therefore be tested during active V.24 and
handwheel operation in order to ensure that it will never exceed maximum processing time.