17.13.4
Saving AMP Parameters (Writing to EEPROM)
Writing AMP parameters to the EEPROM is performed by the following procedure using user
programs.
Step
Description
①
Confirm that all axes are not activated.
Set the control flag in the AMP parameter control area (memory area no. 6, address H1) to "H5 (EEPROM
②
request)". The FP-XH M8N Control Unit requests the writing of the AMP parameters to the EEPROM.
On the processing is compelte, "H0 (No request)" is stored for the control flag in the AMP parameter
③
control area (memory area no. 6, address H1).
Confirm if the status of the AMP parameter control area (memory area no. 6, address H2) is H2 (normal
④
end). If any error occurs, H4 or H6 area stored.
Program example
The following sample program shows the case when the AMP parameters of the first axis are
saved.
R500
X1180
DF
(
)
AMP read
Axis 1
flag
connection
confirmation
R600
AMP control
start
F385 PTBLW
R610
Control start
R610
Control start
1
F384 PTBLR
To the next page
X1130
Axis 1
BUSY
F385 PTBLW
H6
AMP parameter
area
H6
DT1010
AMP
parameter area
F384 PTBLR
H6
Control flag
DT1010
=
H6
H2
Status
AMP
parameter area
17.13 AMP Parameter R/W Function
R600
AMP control
start
F0 MV
H1
DT1001
DT1001
K1
H0
AMP ID No.
F0 MV
H5
DT1010
R610
K1
H1
SET
<
Control
Control flag
start
H1
K1
DT1010
H0
R620
K1
DT1020
SET
<
Status
acquisition
AMP ID no.
setting
EEPROM write
request
>
Request
1
completion check
>
17-37