11 - 218 11 - 218
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Assign values to %(2) and %(3) ( %(5) and %(6) in case of a format 2
control table) in the following manner.
D!
H!
L!
H$
L$
to
• • • •
• • • •
Starting address of the parameter area
Used as work area.
100 H!=INT(D!/65536!)
110 L!=D!-H! 65536!
120 H$=RIGHT$(”0000”+HEX$(H!))
130 L$=RIGHT$(”0000”+HEX$(L!))
Format 2 control table
140 %(2)=VAL(”&H”+L$)
150 %(3)=VAL(”&H”+H$)
to
• • • •
• • • •
%(5)=VAL(”&H”+L$)
%(6)=VAL(”&H”+H$)
• The capacity of parameter data is set as follows:
A0J2
Other CPUs
• • • •
• • • •
16 k bytes (addresses 0000 to 000F
H
)
3 k bytes (addresses 0000 to 0BFF
H
)
The maximum number of bytes of parameter data that can be read at one time is 128
bytes. In CPUs other than A0J2CPU, read all data by specifying the starting address
and the number of bytes to be read in units of 128 bytes as follows:
Specify %(2)=&H100, %(3)=0, %(4)=128.
Specify %(2)=&H80, %(3)=0, %(4)=128.
Specify %(2)=&H0, %(3)=0, %(4)=128.
Parameter area
0
H
80
H
100
H
180
H
Specify %(2)=&HB80, %(3)=0, %(4)=128.
B80
H
• The parameters set in the memory capacity settings of the GPP function and the
MELSECNET/10 network parameters are read using processing code 14.
The network parameters are read/written together with the parameters if the PLC
CPU that performs the parameter read/write operation is an AnUCPU. If the network
parameters are also read/written, read or write the entire amount of data
corresponding to parameter capacity (3 k bytes) plus network parameter capacity.
The capacity of the network parameters is displayed on the screen for setting
network parameters in the GPP function.