Mitsubishi QD51 Programming Manual page 439

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
%
(0)
Device code
(1)
Device number
(2)
Data written
(3)
Device code
(4)
Device number
11 - 269
• Specify the devices to which data is to be written along with the data itself using
integer arrays for the number of points to be written in <storage area for data to be
written>.
When specifying the nth device point
×
%
((n - 1)
3)
×
%
((n - 1)
3 + 1)
×
%
((n - 1)
3 + 2)
For example, when the number of points to be written is 2 points:
The specification for
the first point is
The specification for
the second point is
• The following processing is performed if file registers are specified as the device
memory to which data is to be written:
(1) If the file registers have never been changed in the PLC CPU, data is written to
the file registers of block number 0.
(2) If the block number of the file registers has been changed in the PLC CPU, data
is written to the file registers of the new block number.
1) When the block number has been changed using the RSET instruction of the
microcomputer program package of the type SW GHP-UTLPC-FN1 utility
software package or the type SW SRX-FNUP software package
2) When the block number has been changed using the RSET instruction
Processing cannot be performed normally with processing code 3 if the block number of the file
registers has been changed to 29 or greater using the RSET instruction. In this case, use
processing code 6 (random writing to extension file registers) instead.
Specify the device type using the defined code number.
See Section 4.2.5 for the code numbers.
Specify the device number of the specified device.
See Section 4.2.5 for the allowable specification range.
Specify the data written to the devices.
See Section 4.2.6 as well for how to specify data to be written.
((1 - 1) × 3)
%
(0)
((1 - 1) × 3 + 1)
%
(1)
((1 - 1) × 3 + 2)
%
(2)
((2 - 1) × 3)
%
(3)
((2 - 1) × 3 + 1)
%
(4)
((2 - 1) × 3 + 2)
%
(5)
MELSEC-Q
Device code
Device number
Data written
Device code
Device number
Data written
11 - 269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents