Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 137

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
WRITE DATA
FWRIT(701)
FILE
FWRIT
@FWRIT
701
C: Control word
D1: 1st
destination word
D2: Filename
S: 1st source
word
WRITE TEXT
TWRIT
FILE
TWRIT
@TWRIT
704
(CS/CJ-series
CPU Units with
unit version 4.0 or
later only)
C: Control word
S1: Number of
bytes to write
S2: Directory and
file name
S3: Write data
S4: Delimiter
Overwrites or appends data in the specified data file in file memory
with the specified data from the data area in the CPU Unit. If the
specified file doesn't exist, a new file is created with that filename.
C
D1
CPU Unit
Starting
D2
address
specified
S
in S
CPU Unit
Starting
address
specified
in S
CPU Unit
Starting
address
specified
in S
Reads ASCII data from I/O memory and stores that data in the Memory
Card as a text file (writing a new file or appending a file). The data is
stored in the TXT format.
C
S1
S2
S3
S4
Function
Starting word
File specified in D2
specified in
D1+2 and
D1+3
Number of words
specified in D1
and D1+1
Overwrite
Memory Card or EM file memory
(Specified by the 4
File specified in D2
End of
Existing
file
data
Number of words
specified in D1
and D1+1
Append
Memory Card or EM file memory
(Specified by the 4
Beginning
File speci-
of file
New file created
fied in D2
Number of words
specified in D1
and D1+1
Memory Card or EM file memory
(Specified by the 4
Section 2-2
Location
Execution
condition
Output
Required
th
digit of C.)
th
digit of C.)
th
digit of C.)
Output
Required
Page
1106
1113
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents