EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Loading...
1115
File Memory Instructions Section 3-26
Description TWRIT(704) writes the number of bytes of data specified in S1, starting from
the word specified in S3, to a text file (filename.TXT) in the Memory Card with
the filename specified in S2.
A delimiter can be specified in S4 and attached to the end of the text file. The
created text file can be referenced later with a text editor.
Creating a New File
Set C = 0001 and specify a new filename to create a new file.
Appending an Existing File
Set C = 0000 to append data to an existing file.
EM Area with bank En_00000 to En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants #0000 to
#0001
--- #0000 to
#FFFF
Data Registers ---
Index Registers ---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to 1–2048 to +2047 ,IR5
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area C S1S2S3S4
#3132
#3334
1234,
S4
#2C00
Specified text file
Write data
S3
S3+1
Characters: 12
Characters: 34
Delimiter
Comma
S3
#3536
S4
#2C00
56,
Specified text file
No file
Write data
Characters: 56
Create new
file (C: &1)
Delimiter
Comma

Table of Contents

Related product manuals