145
File Memory Instructions
Section 3-24
3-24 File Memory Instructions
EXPLICIT WORD
READ
ECHRD
723
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
Reads data to the local CPU Unit from a remote CPU Unit in the net-
work. (The remote CPU Unit must support explicit messages.)
Output
Required
EXPLICIT WORD
WRITE
ECHWR
724
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
Writes data from the local CPU Unit to a remote CPU Unit in the net-
work. (The remote CPU Unit must support explicit messages.)
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
READ DATA FILE
FREAD
@FREAD
700
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution condition
ECHRD (723)
S
D
C
S:
1st source
word in remote
CPU Unit
D: 1st destination
word in local
CPU Unit
C: 1st control
word
ECHWR (724)
S
D
C
S: 1st source
word in local
CPU Unit
D: 1st destination
word in remote
CPU Unit
C:
1st control
word
FREAD(700)
C
S1
S2
D
C: Control word
S1: 1st source
word
S2: Filename
D: 1st destination
word
CPU Unit
CPU Unit
Memory Card or EM file memory
(Specified by the 4
th digit of C.)
Number of
words
File specified
in S2
Number
of words
written
to D and
D+1.
Memory Card or EM
file memory
(Specified by the 4
th
digit of C.)
Number of words
specified in S1
and S1+1
File specified
in S2
Starting read
address specified
in S1+2 and S1+3.
Reads the specified data or amount of data from the specified data file
in file memory to the specified data area in the CPU Unit.