Program creation, Program structure, 1 command – HEIDENHAIN TNC 335 Technical Manual User Manual
Page 391: 2 program creation, 1 program structure 2.1.1 command

7-12
TNC 360
2 Program Creation
8/95
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").
The PLC program can also be written in ASCII code on a PC and then transferred to the control.
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").