Mitsubishi QD51 Programming Manual page 428

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 1
11 - 258
Writing to device memory
Control table format definition
Element position
Format 1
Format 2
%(0)
• • • • • • •
%(0)
%(1)
%(2)
%(3)
%(1)
%(4)
%(2)
%(5)
%(3)
%(6)
%(4)
%(7)
%(5)
%(8)
• It is possible to write data to device memory other than extension file registers of
the PLC CPU 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
Processing code
Processing unit
Device code
Device number
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 1.
Specify the device processing unit.
• When reading in bit units • • • • • 1
• When reading in word units • • • 2
Specify the device using the defined code.
See Section 4.2.5 for the code numbers.
Specify the device number of the device specified in %(3).
See Section 4.2.5 for the allowable specification range.
Note, however, that values other than 0 or multiples of 16
cannot be specified for device numbers when writing to bit
devices in word units.
Specify the number of device points to be written, including
the device specified in %(3) and %(4).
The allowable specification range is as follows:
• When bit units are specified
• Bit devices
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 processing code.
Specify the processing unit of the device.
Specify the device code.
Specify the device number.
Specify the number of points to be written.
1 to 256 points
11 - 258

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents