Either in eprom or ram (see "plc-programming"), 2 program creation, 1 program structure – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 477: 1 command, 1 program structure 2.1.1 command
![background image](https://www.manualsdir.com/files/815340/content/doc477.png)
7-16
TNC 407/TNC 415/TNC 425
2 Program creation
01.98
2 Program creation
The PLC program can be created directly on the HEIDENHAIN contouring controls. For this, the PLC
Editor must be called with the code number 807 667 (see section "PLC functions").
HEIDENHAIN can supply the PLC.EXE PLC development software for creating PLC programs on
your personal computer. Further particulars can be obtained from your HEIDENHAIN customer
service.
2.1 Program structure
2.1.1 Command
A command is the smallest unit in a PLC program. It consists of the
operation portion and the Operand portion.
A
I
28
;Comment
Operation
(A, AN...)
Operand
designation
(I, O, M, T, C,
B, W, D, K)
Operand
address;
constant value
Operand
The operation describes the function which is to be performed. It explains what is done with the
Operands.
The Operand shows what is to be operated on. It consists of the Operand abbreviation and a
parameter (Address). Register and memory contents can be gated, erased and loaded by using PLC
commands.
Both Bit and Word processing are possible. In Word processing it is possible to address memory
contents with a length of 8 Bits (Byte), 16 Bits (Word) or 32 Bits (Doubleword) (see section
"Commands").