Mitsubishi QD51 Programming Manual page 388

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
100
180
B80
11 - 218
• Assign values to
control table) in the following manner.
D!
• • • •
Starting address of the parameter area
H!
L!
• • • •
Used as work area.
H$
L$
to
100 H!=INT(D!/65536!)
110 L!=D!-H! 65536!
120 H$=RIGHT$("0000"+HEX$(H!))
130 L$=RIGHT$("0000"+HEX$(L!))
140 %(2)=VAL("&H"+L$)
150 %(3)=VAL("&H"+H$)
to
• The capacity of parameter data is set as follows:
A0J2
Other CPUs
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:
Parameter area
0
H
80
H
H
H
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.
%(2) and
%(3) (
%(5) and
• • • •
%(5)=VAL("&H"+L$)
• • • •
%(6)=VAL("&H"+H$)
• • • •
16 k bytes (addresses 0000 to 000F
• • • •
3 k bytes (addresses 0000 to 0BFF
Specify
%(2)=&H0,
Specify
%(2)=&H80,
Specify
%(2)=&H100,
Specify
%(2)=&HB80,
%(6) in case of a format 2
Format 2 control table
)
H
)
H
%(3)=0,
%(4)=128.
%(3)=0,
%(4)=128.
%(3)=0,
%(4)=128.
%(3)=0,
%(4)=128.
MELSEC-Q
11 - 218

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents