
2. MACRO COMPILER AND
MACRO EXECETOR
B–62093E–1/02
PROGRAMMING
20
Use the procedure below when using the P–code loader function from the
DPL/MDI with the Power Mate–D, Power Mate–D (two–path control),
and Power Mate–H.
(1) The communication parameters of the Power Mate are used to set
communications for loading. So, set the channel, baud rate, and so
forth on the parameter screen beforehand.
CAUTION
1 When using the Power Mate–D (two–path control), set the
system parameters for both path 1 and path 2.
2 With the DPL/MDI, set a baud rate not exceeding 4800 bps.
(2) Turn off the power to the Power Mate, then connect the Power Mate
with the P–G or personal computer via RS–232–C.
(3) Turn on the power while holding down the DPL/MDI keys CAN and
PROG. Hold down the MDI keys until the title “P–CODE
LOADER” appears on the DPL screen.
P–CODE LOADER
(4) When the Power Mate–D (two–path control) is used, the path
selection screen shown below appears. With the Power Mate models
other than the PM–D (two–path control), the screen below is not
displayed.
HEAD1/2(PUSH1/2)
LOAD END(PUSH 0)
When the numeric key 0 is pressed, the Power Mate terminates the
P–code loader function, and starts up.
With the numeric key 1 or 2, select a path (path 1 or path 2) for
transfer.
(5) When a Power Mate model other than the PM–D (two–path control)
is used, or a path is selected with the PM–D (two–path control), the
memory of the macro executor is initialized. When the memory has
been initialized, the loading screen shown below appears.
P–CODE LOADER /1
LOADING?(PUSH 1)
Only when the PM–D (two–path
control) is used, a selected path
number is displayed at the right end.
A path number indication also ap-
pears on the subsequent screens.
(6) When a preparation for data transfer has been made on the P–G or
personal computer, press the numeric key 1.
Then, the screen below is displayed to wait for P–code transfer. When
this screen is displayed, execute a data transfer command on the P–G
or personal computer to start data transfer.
DATA TRANSFER
ADR000000H:00
For the method of specifying data transfer on the P–G or personal
computer, see Section 2.1.6.1.
2.1.6.2
Operation from the
DPL/MDI