8 CF-ADP Applied Instructions Explanation
8.6 FNC 303 - FLRD / Data read
71
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.3
Reading data of different types from a file
Data of different types in one line are read as follows.
Cautions
1) Do not use another applied instruction for the CF-ADP in between a series of FLRD instructions. Set a
common driving condition among a series of FLRD instructions.
2) Set the same file ID, the same line position from which data is read, the same column position from which
data is read, and the same channel number among a series of FLRD instructions. Specify a matching
device for storing the total number of data points.
3) Make sure that the total number of devices from which data is read is 254 or less.
4) Use a value after the completion of a series of FLRD instructions for the total number of read data points.
(s+t+•••u
254)
5) In a series of FLRD instructions, the user can specify a matching device in
in all FLRD instructions,
or specify different devices. When specifying a matching device, it is necessary to change the type
and number of points
+3 among FLDR instructions in accordance with each transferred data point
using the MOV instruction, etc. (At this time, do not use a pulse type instruction.)
Command
input
S
1
S
2
D
1
D
2
Instruction name
Data read parameter
File ID
Read data
Total number of
data
Used channel
number
FLRD
(Only "mixed
type" data)
n
:K0 Specify "mixed
type" data
S
2
S
2
+1
S
2
+2
S
2
+3
:K****
:K****
:K(r)=s+t+
+u
Total points
K*
Device
n
Device a
S
1
S
2
D
1
D
2
Instruction name
Data read parameter
File ID
Read data
Total number of
data
Used channel
number
FLRD
(The data stored
in the 1st data
type is read.)
n
:K* Data type
specification
S
2
S
2
+1
S
2
+2
S
2
+3
Specify a matching
value
Specify a matching
value
:K(s) Points
K*
Specify a matching
device
n
Specify a
matching
channel
number
Device a
Device a
+(s-1)
S
1
S
2
D
1
D
2
Instruction name
Data read parameter
File ID
Read data
Total number of
data
Used channel
number
FLRD
(The data stored
in the 2nd data
type is read.)
n
:K* Data type
specification
S
2
S
2
+1
S
2
+2
S
2
+3
Specify a matching
value
Specify a matching
value
:K(t) Points
K*
Specify a matching
device
n
Specify a
matching
channel
number
Device b
Device b
+(t-1)
S
1
S
2
D
1
D
2
Instruction name
Data read parameter
File ID
Read data
Total number of
data
Used channel
number
FLRD
(The data stored
in the final data
type is read.)
n
:K* Data type
specification
S
2
S
2
+1
S
2
+2
S
2
+3
Specify a matching
value
Specify a matching
value
:K(u) Points
K*
Specify a matching
device
n
Specify a
matching
channel
number
Device c
Device c
+(u-1)
S
2
S
2
S
2