beautypg.com

Plc – main menu, 1 plc-program editing, 2 plc – main menu – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 385: 1 plc program editing

background image


7-6

TNC 360

1 PLC Functions

8/95

1.2 PLC – Main menu

Enter the code number 807 667 to call the following screen display (main menu):

ERASE PLC PROGRAM
TRANSFER PROGRAM FROM EPROM
PLC EDITING MODE
PLC PROGRAM TRACE MODE
TABLES I/O/C/T/M
TRANSLATE PLC PROGRAM
UTILIZATION

Select the required mode with the cursor keys

and

and activate by pressing ENT. To exit the

menu and return to the original NC mode, press the END key again.

1.2.1 PLC program editing

In the operating mode PLC EDITING MODE an instruction list can be compiled or edited.

After the ENT key is pressed, the editor identifies itself with

"0

EM"

"0" stands for program line 0 and "EM" for End of Module.

When entering an instruction, "EM" automatically moves downward by one line.

With this control it is possible to reassign the functions of TNC operating keys by entering the code
number 807 667. The new key assignments are indicated on a special tactile membrane that is
place over the TNC keyboard. The tactile membrane is included with this Technical Manual.

The PLC editing mode can be exited by pressing the END key.

A complete instruction list comprises:

.Line numbers
.Command from command store (see Section "Commands")
.Operand type
.Operand number
.Comment

The line number is automatically generated on entering a command.

The command, operand type, operand number and the comment must be transferred with ENT. The
cursor then jumps to the next positions within the instruction. The instruction is completed after the
comments are entered. If no comment is to be entered, the position is simply concluded the ENT.
Lines that are to contain only a comment should be started with the character ";" instead of a
command. A comment can therefore cover several lines if each line commences with ";". A line
contains a maximum of 26 characters for the comment and may include all numeral, letters and
other characters on the keyboard.

A "find function" makes is easier to find certain operands.