beautypg.com

Deleting plc-programs, Transferring programs from eprom, Translating plc programs – HEIDENHAIN TNC 306 Technical Manual User Manual

Page 298: Utilization, 2 deleting plc-programs, 3 transferring programs from eprom, 4 translating plc programs, 5 utilization

background image


7-8

TNC 416/TNC 406/TNC 306

PLC-functions

3/2000

1.2.2 Deleting PLC-programs

With the soft key DELETE (TNC406) or in the operating mode ERASE PLC PROGRAM (TNC 306), a
PLC program located in RAM can be deleted.

The entire RAM memory can be deleted by entering the code number 53 12 10

1.2.3 Transferring programs from EPROM

With the soft key COPY ROM ⇒RAM (TNC406) or in the operating mode TRANSFER PROGRAM

FROM EPROM (TNC 306), a program that is stored in the EPROM can be copied into the RAM (see
also MP 4010).

1.2.4 Translating PLC programs

A PLC program created with the PLC editor and stored in RAM must first be compiled by pressing
the soft key COMPILE (TNC406) or in the mode TRANSLATE PLC PROGRAM (TNC 306) before it
can be tested.

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 main menu (TNC 406) or in the mode UTILIZATION (TNC 306) the occupied PLC processing
time and the vacant PLC memory are displayed.

The vacant memory is derived from the total (reserved) memory and the occupied memory.
The vacant PLC memory is displayed in bytes.
100% processing time corresponds to 5 ms (TNC 406) or 4 ms (TNC 306). The maximum possible
processing time is 10 ms (TNC 406) or 8 ms (TNC 306). The current processing time indicates the
duration of the last PLC scan. If the current processing time exceeds the maximum, the blinking
error message

„ERROR IN PLC PROGRAM 53“ will appear.

TNC 306:
Please note that the processing time increases by 20% during RS-232 data transfer and by 5%
during handwheel operation. A PLC program should therefore be tested during data transfer or
handwheel operation.

This manual is related to the following products: