
6. FUNCTIONS OF THE MACRO
EXECUTOR
B–61803E–1/10
PROGRAMMING
100
= 2 A1.23
= 3 A1.235
*
= 4 A1.2346 *
= 5 A1.23457 *
= 6 A1.234568 *
= 7 A1.2345678
* The data less than the specified digits is rounded off.
When #8523 is 0, auto setting is conducted by the system conditions
(mm input/inch input, 0.1µm instruction) and specified address.
#8520 - #8523 is set to 0 when the power is turned on.
(2) Writing a block coded in characters (G329Pp)
Use this command to write a program whose data is not coded in
words. This command writes the program data coded in units of
characters in a variable area.
The block to be written must be defined beforehand in ASCII code
in a macro variable area. This command writes the data after the block
specified by the program number and block number.
The maximum number of variable data items is indicated by address
P. If EOB or EOR is detected while the specified variable data is being
written, data writing ends at the EOB or EOR. When neither EOB
nor EOR is found, the complete data indicated by address P is written.
(ASCII string definition)
#8520 = program-number
#8521 = block-number
#8522 = number-of-variable-at-the-beginning-of-the-ASCII-
string
G329 P20 ;
IF[#8529 NE 0]GOTO900 ; ← Error check
NOTE
This command cannot catalog a program. If an attempt is
made to catalog a program with this command (if the data
to be written begins with O), an error code is indicated and
#8529 is set to 202.
G327 ;
A block specified by a program number and a block number can be
deleted.
#8520=4 ;
#8521=3 ;
G327 ;
IF[#8529 NE 0] GOTO900 ;
End of deletion
N900 ;
6.6.6
Block Deletion