File Memory Instructions - Omron CJ - PROGRAMMING MANUAL 12-2009 Programming Manual

Programmable controllers
Table of Contents

Advertisement

File Memory Instructions

Instruction
Symbol/Operand
Mnemonic
Code
EXPLICIT WORD
ECHRD (723)
READ
ECHRD
723
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
S: 1st source
word in remote
CPU Unit
D: 1st destination
word in local
CPU Unit
C: 1st control
word
EXPLICIT WORD
ECHWR (724)
WRITE
ECHWR
724
(CS/CJ-series
CPU Unit Ver. 2.0
or later only)
S: 1st source
word in local
CPU Unit
D: 1st destination
word in remote
CPU Unit
C: 1st control
word

3-24 File Memory Instructions

Instruction
Symbol/Operand
Mnemonic
Code
READ DATA FILE
FREAD(700)
FREAD
@FREAD
700
C: Control word
S1: 1st source
word
S2: Filename
D: 1st destination
word
Reads data to the local CPU Unit from a remote CPU Unit in the net-
work. (The remote CPU Unit must support explicit messages.)
S
D
C
Writes data from the local CPU Unit to a remote CPU Unit in the net-
work. (The remote CPU Unit must support explicit messages.)
S
D
C
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.
C
Starting read
S1
address specified
in S1+2 and S1+3.
S2
D
Memory Card or EM
file memory
(Specified by the 4
digit of C.)
Memory Card or EM file memory
(Specified by the 4
Function
Function
File specified
in S2
CPU Unit
th
File specified
in S2
Number of
words
digit of C.)
th
Section 3-24
Location
Execution condition
Output
Required
Output
Required
Location
Execution condition
Output
Required
Number of words
specified in S1
and S1+1
Number
of words
written
to D and
D+1.
CPU Unit
145

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 12-2009 and is the answer not in the manual?

Questions and answers

Table of Contents