EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #550 background imageLoading...
Page #550 background image
Appendices
A-66
CJ2 CPU Unit Software User’s Manual
WRITE DATA
FILE
FWRIT
@FWRIT
701 Output Required
WRITE TEXT
FILE
TWRIT
@TWRIT
704 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.
Output Required
A-1-26 Display Instructions
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
DISPLAY
MESSAGE
MSG
@MSG
046 Reads the specified sixteen words of extended ASCII and displays
the message on a Peripheral Device such as a Programming Con-
sole.
Output Required
Instruction Mnemonic Code Symbol/Operand Function Location
Execution
condition
FWRIT(701)
C
D1
D2
S
C: Control word
D1: 1st
destination word
D2: Filename
S: 1st source
word
File specified in D2
CPU Unit
File specified in D2
CPU Unit
Append
CPU Unit
Memory Card or EM file memory
(Specified by the 4
th digit of C.)
New file created
Starting
address
specified
in S
Starting
address
specified
in S
End of
file
Number of words
specified in D1
and D1+1
Beginning
of file
Number of words
specified in D1
and D1+1
File specified
in D2
Memory Card or EM file memory
(Specified by the 4
th digit of C.)
Existing
data
Memory Card or EM file memory
(Specified by the 4
th digit of C.)
Overwrite
Starting
address
specified
in S
Starting word
specified in
D1+2 and
D1+3
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.
Number of words
specified in D1
and D1+1
TWRIT
C
S1
S2
S3
S4
C: Control word
S1: Number of
bytes to write
S2: Directory and
file name
S3: Write data
S4: Delimiter
S3
#3536
S4
#2C00
56,
Specified text file
No file
Write data
Characters: 56
Create new
file (C: &1)
Delimiter
Comma
S3
#3536
1234,
S4
#2C00
1234,56,
Specified text file
Write data
Characters: 56
Append file
(C: &0)
Delimiter
Comma
N: Message
number
M: 1st message
word
MSG(046)
N
M

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals