
B–66102E/10
4. FUNCTIONS
21
A linked ROM-format file can be transferred to CNC memory via a
RS-232-C line, and whether the created ROM-format file operates
correctly can be checked using the macro executor RAM operation
function of the CNC system.
NOTE
The Series 0i–A or Series 21–B does not support this
function.
(1) Operation
After placing the CNC system in the macro executor receive ready
state, a linked ROM-format file is transferred with the following
command:
A:\> MTRNSC file-spec parameters -F -S
*1 file-spec
This specifies a ROM-format file to be transferred.
*2 parameters
CNC model Number of address bits Addressing
Series 16
Series 18
Series 20
Series 21-TA
32
24
24
24
00800000
800000
980000
3A0000
–F : Overwriting loader command (See item (3).)
–S : Not required in the Series 16/18–A.
Example: The file SAMPL.ROM is transferred to Series 16-A.
A:\> MTRNSC SAMPL.ROM 32 00800000
(2) RS-232-C interface
For transfer, the RS-232-C serial interface channel at standard port
No. 0 is used. Before a RS-232–C interface can be used, it must be
set and initialized according to the conditions below.
Transfer rate : Value set with the connected CNC system
Data length : 7 bits
Parity : Enable/even parity
Stop bit : Value set with the connected CNC system
Xon/off control applied
For detailed information, see Chapter 6.
(3) Overwriting loader command effective
Only a user macro program can be transferred (execution of the
overwriting loader function ) by specifying the transfer parameter.
First all the files are transferred once, then only the changed user
macro program is transferred. This enables the macro program to be
debugged.
(This function is only effective for FAPT MACRO Compiler Version
02.1 and later versions.)
Example)
MTRNSC SAMPL.ROM 32 00800000 -F
–F : Overwriting loader command
When this command is specified, only the macro program (P-code
program) is transferred from the ROM-format file; execution control
software (executor) is not transferred.
4.3
ROM–FORMAT FILE
TRANSMITTER (CNC)
(FOR Series
16/18/20/21T–A)