Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
11. PROGRAM CONFIGURATION
B–63174EN/03
86
A program consists of several commands. One command unit is called a
block. One block is separated from another with an EOB of end of block
code.
Table 11.2 (a) EOB code
Name
ISO
code
EIA
code
Notation in this
manual
End of block (EOB) LF CR ;
At the head of a block, a sequence number consisting of address N
followed by a number not longer than five digits (1 to 99999) can be
placed. Sequence numbers can be specified in a random order, and any
numbers can be skipped. Sequence numbers may be specified for all
blocks or only for desired blocks of the program. In general, however, it
is convenient to assign sequence numbers in ascending order in phase
with the machining steps (for example, when a new tool is used by tool
replacement, and machining proceeds to a new surface with table
indexing.)
N300 X200.0 Z300.0 ; A sequence number is underlined.
Fig.11.2 (b) Sequence number and block (example)
NOTE
N0 must not be used for the reason of file compatibility with
other CNC systems.
Program number 0 cannot be used. So 0 must not be used
for a sequence number regarded as a program number.
A parity check is made for a block on input tape horizontally. If the
number of characters in one block (starting with the code immediately
after an EOB and ending with the next EOB) is odd, an alarm (No.002)
is output. TV check is invalid for a section skipped by the label skip
function. Bit 1 (CTV) of parameter No.0100 can be used to specify
whether the characters in comments, enclosed in parentheses, are counted
for TV check. The TV check function can be enabled or disabled by
setting on the MDI unit (See Subsec. V–11.4.3).
Sequence number and
block
TV check (Vertical parity
check along tape)

Leave a Reply

Your email address will not be published. Required fields are marked *