11 - 279 11 - 279
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Specify the extension file registers 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>.
(0)
(1)
(2)
Block number
.
Device number
%
When specifying the nth device point
Specify the block number of the extension file register device.
• If 0 is specified for the block number, data is written to the
file registers of the PLC CPU.
(This is the same processing as writing to R by writing to
device memory.)
• If a number greater than 0 is specified for the block number,
data is written to the extension file registers.
• The maximum value that can be specified for the block
number varies depending on the PLC CPU's memory.
((n - 1)
×
3)
%
Device number
Data written
(3)
(4)
((n - 1)
×
3 + 2)
%
Specify the data to be written to the device number.
See Section • • for how to specify the data to be written.
For example, when the number of points to be written is 2 points:
(0)
%
(1)
%
Block number
Device number
The specification for
the first point is
((1 - 1)
×
3 + 1)
%
((1 - 1 )
×
3)
%
The specification for
the second point is
(3)
%
(4)
%
Block number
Device number
((2 - 1)
×
3)
%
((2 - 1)
×
3 + 1)
%
(2)
%
Data written
((1 - 1)
×
3 + 2)
%
(5)
%
Data written
((2 - 1)
×
3 + 2)
%
Block number
((n - 1)
×
3 + 1)
%
Specify the device number of the extension file registers (R).
The maximum value that can be specified for the device
number is the value set in the parameters of the PLC CPU.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...