PROGRAMMING13. PROGRAM CONFIGURATION
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
Notation in this
Control–out ( 2–4–5 ( Start of comment section
Control–in ) 2–4–7 ) End of comment section
When a command tape 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 data in memory is punched out on paper tape with the punch
function, the comment sections are also punched out.
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 punched out or displayed on the screen.
During memory operation in memory command mode, 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).
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.
If only a control–in code is read with no matching
control–out code, the read control–in code is ignored.
D Comment section