7 APPLICATION INSTRUCTIONS
7.21 Database Access Instructions
963
7
■
Applicable devices
■
Update target field name
*1 "1" to "16" for a programmable controller CPU with firmware version earlier than "28"
■
Updated data
The following figure shows the setting format of (s4). Set the value corresponding to each field in (s3). The data size of each
set value follows the size of the data type of each field. (
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J
\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U
\G
, J
\
,
U3E
\(H)G
Z
LT, LST,
LC
LZ
K, H E
$
(s1)
(s2)
(s3)
(s4)
(s5)
(d1)
(d2)
Operand: (s3)
Device
Item
Description
Setting range
Set by
+0
Number of fields
Specify the number of fields to be updated.
1 to 128
User
+1 to +
Field name
Specify the name of each field. Specify field names, each fixed to 32 characters, by
the number of fields with Unicode character strings. For the name less than 32
characters, the character string should be right-justified and filled with 0000H to
become a 32-character string.
The last address
in (s3) varies according to the number of fields.
=32
n (n: number of fields)
User
Operand: (s4)
Device
Item
Description
Setting range
Set by
+0
Data size
Set the data size of the field to be updated.
User
+1
Not used
+2 to +
Set value
Set the updated data.
Depends on the
data type
User
∙∙∙
∙∙∙
b15
b0
∙∙∙
(s4)+2
(s4)
(s4)+1
(s4)+
n
1
Set the data size per record.
A value set in the 1st field
A value set in the 'n'th field
Data for one
record
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......