8 CF-ADP Applied Instructions Explanation
8.6 FNC 303 - FLRD / Data read
69
FX
3U
-CF-ADP User's Manual
1
Introduc
tion
2
S
pecifi
cation
3
Sy
stem
Configurati
o
n
4
Ins
tal
lation
5
Wi
rin
g
6
Functi
o
n
s
7
Bef
o
re
Programm
ing
8
C
F
-AD
P
Appl
ied
Ins
tructi
ons
Explanati
o
n
9
Program
Examples
10
T
roubl
esho
oti
n
g
8.6.1
Detailed explanation of setting data
Details of the setting data in the FLRD instruction are as shown below.
Cautions
1) The FLRD instruction is completed abnormally if a CompactFlash
TM
card is not mounted.
2) The FLRD instruction may require several scans to acquire data. Use the acquired data only after
confirming completion of the FLRD instruction if data consistency is required.
3) It is necessary to set the device number in a multiple of 16 when a bit device is specified in
and the
read data type is anything other than bit. When a word device is specified in
and the read data type
is bit, the FLRD instruction stores data read from the least significant bit of the specified word device.
4) When the data type is anything other than character string and the number of devices which store the
read data is insufficient, the FLRD instruction does not read data from the CF-ADP. An error occurs.
5) When the data type is a character string, the character string length is unknown. The PLC stores as much
read data as possible. When reading is not completed even after the final device is reached, an error
occurs.
Setting items
Description
Data Type
File ID
K0 to K63
16-bit binary
Dat
a
r
ead
par
ame
ter
Specify the data reading type
K0 : Mixed type
K1 : Bit type
K2 : Decimal type (16-bit)
K3 : Decimal type (32-bit)
K4 : Hexadecimal type (16-bit)
K5 : Hexadecimal type (32-bit)
K6 : Real numbers(Floating point data) Exponent expression type (32-bit)
K7 : Character string (512 half-width/full-width characters maximum)
16-bit binary
+1
Specify the line position from which data is read.
Line position : K1 to specified maximum number of lines
16-bit binary
+2
Specify the column position from which data is read.
Column position : K1 to K254
16-bit binary
+3
Read points
K1 to K254
16-bit binary
Device which stores the read data
Specify the head of devices which store the data read from the CompactFlash
TM
card.
-
Number of data points existing in the specified line
K1 to K254
K0 : No data
16-bit binary
n
Channel number used by the CF-ADP
K1 : ch1
K2 : ch2
16-bit binary
S
1
S
2
S
2
S
2
S
2
D
1
D
2
D
1
D
1