FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

PROGRAMMING
B–62754EN/01
13. PROGRAM CONFIGURATION
131
NOTE
If one file contains multiple programs, the EOB code for
label skip operation must not appear before a second or
subsequent program number. However, an program start
is required at the start of a program if the preceding program
ends with %.
Any information enclosed by the control–out and control–in codes is
regarded as a comment and skipped by the CNC.The user can enter a
header, comments, directions to the operator, etc. in a comment section
using the EOB code or any other code.There is no limit on the length of
a comment section.
Table 13.1(c) Codes of a control–in and a control–out
Name ISO
code
EIA
code
Notation in this
manual
Meaning
Control–out ( 2–4–5 ( Start of comment section
Control–in ) 2–4–7 ) End of comment section
When a program is read into memory for memory operation, comment
sections, if any, are not ignored but are also read into memory. Note,
however, that codes other than those listed in the code table in Appendix
F are ignored, and thus are not read into memory. When the program in
this memory is output to an external input/output device (see Section
III–8), any comments are also output.
When a program is displayed on the screen, its comment sections are also
displayed. However, those codes that were ignored when read into
memory are not outputted or displayed.
During memory operation or DNC operation, all comment sections are
ignored.
The TV check function can be used for a comment section by setting
parameter CTV (bit 1 of No. 0100).
CAUTION
If a long comment section appears in the middle of a
program section, a move along an axis may be suspended
for a long time because of such a comment section. So a
comment section should be placed where movement
suspension may occur or no movement is involved.
NOTE
If only a control–in code is read with no matching
control–out code, the read control–in code is ignored.
D Comment section

Leave a Reply

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