Mitsubishi QD51 Programming Manual page 492

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 515
Only
Element position
applicable
Format 1
to QD51
%(0)
(-R24)
%(1)
%(2)
%(3)
%(4)
%(5)
11 - 322
Writing data to the device memory of a Q/QnA series PLC CPU
Control table format definition
Format 2
Format 3
• • • • • • • • • • • • •
%(0)
%(0)
%(1)
%(1)
%(2)
%(2)
%(3)
%(3)
%(4)
%(4)
%(5)
%(5)
%(6)
%(6)
%(7)
%(7)
%(8)
%(8)
%(9)
• It is possible to write data to a Q/QnA series PLC CPU's device memory using
this code.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
%(1)
• • • • • •
%(2)
• • • • • •
%(3)
• • • • • •
%(4)
• • • • • •
%(5)
• • • • • •
Item
Station number
Control table
Network number
Station number
Detailed error code
Requested CPU
Processing code
Device code
Device
Lower
number
Higher
Number of points
Specify the station number of the PLC CPU to which data is
written.
See Section 4.2.2 for the allowable specification range.
Processing code
• Specify 515 (&H203).
Specify the device using the defined code.
• See Section 4.2.5 for the code numbers.
Specify the device number (lower) of the device specified in
%(2). See Section 4.2.5 for the allowable specification
range.
Specify the device number (higher) of the device specified
in %(2). See Section 4.2.5 for the allowable specification
range.
Specify the number of device points to be written, including
the devices specified in %(2), %(3), and %(4).
The allowable specification ranges are as follows:
(a) Bit devices
• Q series CPU
• QnA series CPU
(b) Word devices
• Q series CPU
• QnA series CPU
MELSEC-Q
Description
Specify the station number of the PLC.
Specify a control table of format 2.
Specify the network number.
Specify the station number of the PLC.
Detailed error codes are stored here.
Specify the requested CPU.
Specify the processing code.
Specify the device code.
Specify the device number.
Specify the number of device points.
1 to 15360 points
1 to 7680 points
1 to 960 points
1 to 480 points
11 - 322

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents