Programming instructions

2-8
NC Program NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
In terms of syntax, the label begins with a decimal point followed by at
least one and no more than six legal characters. The syntax is not case
sensitive. The * sign following the decimal point is reserved for
INDRAMAT canned cycles. When a label is programmed in a NC-block,
the label must be the first element in the NC-block after the number. A
branch command using a label is considered to be a program control
command, and, based on its priority, it is performed last.
Example
G54 G90 G00 X0 Z0
G04 F5
BSR .ENDE
RET
.ENDE
M05
G04 F1
RTS
Message
[ Text ]
Each NC-block can contain a message which will be displayed in the
diagnostic menu (station window) in the user interface at the end of NC-
block processing. The message in the diagnostics line remains active
until it is overwritten by a new message. A so-called empty message must
be programmed in order to clear the current message in the NC-diagnos-
tics line. The message is also cleared from the NC-diagnostic line when a
program initiates. An NC-block cannot contain more than one message.
A message is written in square brackets. It must not exceed a length of
48 characters. All ASCII characters may be used. The message can be
inserted at any location in the NC-block; however, with the exception of
the comment it is always the last function to execute.
Example
N1234 G01 G54, G90 [ Traverse X to safety distance ] F1000
N1235 X500
N1236 [ Traverse Z to safety distance ] G01 G51 G90 F1000
N1237 Z100
Hint
( Text )
Each NC-block can contain a hint. A hint is written in parentheses. It must
not exceed a length of 80 characters. All ASCII characters may be used.
The hint can be inserted at any desired location in the NC-block. The hint
is transferred to the controller memory and is shown in the current NC-
block display.
An NC-block cannot contain more than one hint and one message.
Example
N1234 G00 ( Traverse X to starting position ) X150
N1235 ( Traverse Z to starting position) G01 Z10
Limitation:
Messages and hints must n o t be programmed between
individual Preparatory G-functions.
Syntax
Syntax