
B-63784EN-1/01 OPERATION 8.EDITING PROGRAMS
- 295 -
8.20 AUTOMATICALLY INSERTING SEQUENCE NUMBERS
During programming, the sequence number of the next block can be
automatically inserted each time ;(EOB) is inserted.
The initial sequence number and the increment must be set for the
appropriate parameters.
Automatically inserting sequence numbers
Procedure
(1) Set the initial sequence number for parameter No. 0030 and the
increment for parameter No. 0031. Set 1 for parameter SQN (bit 1
of No. 0010).
(2) Create a new program.
(3) The sequence number of the next block is inserted each
time is keyed in.
- When multiple blocks are input, the sequence number of the next
block is inserted if the last word is ;(EOB).
- To change the sequence numbers to be automatically inserted in
the middle, overwrite the automatically inserted sequence number
immediately preceding the program end (%) with a new sequence
number. The sequence numbers to be automatically inserted will
not change even if a sequence number in the middle of the
program or the sequence number keyed in from the MDI is
overwritten.
NOTE
1 The sequence number returns to the initial value each
time a new program is created. It does not return to
the initial value when the system searches for an
existing program.
2 The sequence number returns to the initial value when
it exceeds N99999999.
3 Even if a sequence number is keyed in as a word from
the MDI, the sequence numbers to be automatically
inserted will not be affected.
4 If 64 or more characters are entered to the key-in
buffer at one time, sequence numbers will not be
inserted automatically.
EOB