
g. REGISTERING, EDITING, AND OUTPU=TlNG PROGRAMS
9.2 Editing Programs
Automatic sequence number insertion
When a program is created using the MDI keys in EDIT mode, a sequence
number can be automatically inserted to each block.
A sequence number incremental value is to be set in a parameter (No. 3216).
Set the setting data “sequence number” to 1 (on).
Select EDIT mode.
Press < PROG > to display the program screen.
Key in address N.
Key in an initial N value.
Press the < INSERT> key.
insert data for a block, word by word.
Key in <EOB>.
Press the < INSERT) key. The EOB code is registered in memory. If 2 is set
in the incremental value parameter, the N12 is inserted and displayed on the
next line.
PROG;RAM
caa4 rir N0O 12
Od040 (TEST-PROGRAM . OFFSET) :
NIB G92 Xd Y0 :
Tg@gg ;
<u
.‘(,
>-
EDIT t*trt tS;r) t*S
10:38:36
($j@@#@,( LIE )(
I(
]( (OPRT) )
*
(Note 1) When N12 is not to be inserted into the next block in the example above, press the <DELETE>
key; Then Nl2 is deleted.
(Note 2) When NlOO rather than N12 is to be inserted into the next block in the example above, key in NlOO,
then press the c ALTER > key. Then NlOO is registered, and the initial value is also changed to 100.
2-57