Reading Parameters From Amp - Panasonic FP-XH M8N16PD User Manual

Programmable controller
Table of Contents

Advertisement

17.13.2

Reading Parameters from AMP

Reading parameters from the AMP is performed by the following procedure using user
programs.
Step
Description
Confirm that the target axes exist in the network (For 1 axis: X1180 = ON).
Set the following items in the AMP parameter control area (memory area no.6, address H0/H3/H24).
(AMP ID no., parameter classification, parameter no.)
Set the control flag in the AMP parameter control area (memory area no. 6, address H1) to "H2 (Read
request)". The FP-XH M8N Control Unit requests the reading of the parameters to the AMP.
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 to H6 area stored.
Read the parameter values from the AMP parameter control area (memory area no. 6, address H26-H27)
and written to an arbitrary area.
 Program example
The following sample program shows the case when the AMP parameter Pr.1.01 of the first
axis is read.
X1180
R500
DF
AMP read
Axis 1
connection
flag
confirmation
R600
AMP control
start
F385 PTBLW
To the next page
F0 MV
F385 PTBLW
H6
DT1001
AMP
parameter
area
F0 MV
F385 PTBLW
H6
DT1005
AMP
parameter
area
F0 MV
F385 PTBLW
H6
DT1006
AMP
parameter
area
F0 MV
H6
DT1010
AMP
parameter area
17.13 AMP Parameter R/W Function
R600
AMP control
start
H1
DT1001
K1
H0
AMP ID no.
H1
DT1005
K1
H3
Parameter
classification
H1
DT1006
K1
H24
Parameter no.
H2
DT1010
R610
K1
H1
SET
Control
Control flag
start
AMP ID no.
setting
AMP parameter
classification
Parameter no.
setting
Parameter read
request
17-33

Advertisement

Table of Contents
loading

Table of Contents