
2. MACRO COMPILER AND
MACRO EXECETOR
B–62093E–1/02
PROGRAMMING
28
(Example of link control file creation)
/* Macro library
CNC=c:¥mcomp¥mex¥PMID_01.MEX
/* Path setting */
SYSTEM=MPATH1
/* Compile parameters
P9000=10000100
P9001=00000001
P9003=00100100
P9004=10010000
P9100=00000001
P9037=60
P9038=1
P9039=7000
/* Conversational macro programs
FILE=TITLE /* Title screen ( 01 )
FILE=UTILITY /* Soft key display ( 010.. )
FILE=AUXMACRO /* Auxiliary macro ( 07000.. )
FILE=PRDUCT /* Machining record ( 0100.. )
FILE=DTABLE /* Data input ( 0200.. )
Two methods are available to incorporate a created macro executor into
the Power Mate. One method uses the P–code loader function, and the
other uses boot operation based on a memory card.
A ROM format file holding a created macro executor is transferred via
RS–232–C to the RAM of the Power Mate, then is written to flash–ROM.
For the procedure for using the P–code loader function, see Section 2.1.6.
A ROM format file holding a created macro executor is converted by the
memory card format conversion command Mmcard to a format that can
be handled by the boot function.
Command format: n:>MMCARD <filename>
Omit the extension (.ROM) of a ROM format file.
Then, by using the boot function, a memory card format file (*.MEM) is
written into the flash–ROM of the Power Mate.
2.2.4
Incorporation into the
Power Mate
2.2.4.1
Transfer using the
P–code loader function
2.2.4.2
Incorporation using a
memory card