11 - 311 11 - 311
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
• • • •
Head address of the parameter area
Used as work areas.
100 H!=INT(D!/65536!)
110 L!=D!-H! 65536!
120 H$=RIGHT$(”0000”+HEX$(H!))
130 L$=RIGHT$(”0000”+HEX$(L!))
In case of a 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 the 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 written at one time is
128 bytes. In PLC CPUs other than A0J2CPU, write entire data by specifying the
head address and the number of bytes to be written 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, etc. and the
MELSECNET/10 network parameters are written using processing code 14.
The network parameters are written together with the parameters if the PLC CPU
that performs the parameter write operation is an AnUCPU.
If the network parameters are also written, 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.
Make sure always to perform the parameter analysis using Processing Code 15 after writing
parameter data.
• • • •