I/O Memory Data Formats - Omron CS CJ1W-ETN21 Operation Manual

Sysmac cs and cj series ethernet units construction of applications
Hide thumbs Also See for CS CJ1W-ETN21:
Table of Contents

Advertisement

I/O Memory Data Formats

15
n
-
15
14
13
-
-
-
n+17
2-6

I/O Memory Data Formats

IOM Format
Note
TXT Format
26
14
13
12
11
10
09
-
-
-
-
-
-
Accessing Memory/Sending Mail Flag (Bit 01 of n+17)
When a data file (IOM, TXT, or CSV) is being attached to the e-mail, the
Ethernet Unit will access the CPU Unit's I/O memory and automatically create
the data file when the e-mail is being sent. The Accessing Memory/Sending
Mail Flag (bit 01 of n+17) will be ON while the CPU Unit's memory is being
accessed.
12
11
10
09
08
07
-
-
-
-
-
-
To maintain the uniformity of the data in the data file, use this flag as a condi-
tion for write operations in the ladder program to prevent the ladder program
from overwriting the data while it is being converted to a data file.
When 5 words of hexadecimal I/O memory data (1234, 5678, 9ABC, etc.) are
being sent as an attached file in IOM format, the data is stored in the attached
file as shown in the following diagram.
I/O memory contents
+0
+1
+0
1234
5678
+10
9ABC DEF0
IOM file contents
XX XX
XX 12 34 56 78 9A BC DE F0 12 34
48 bytes
(Reserved for system)
The IOM file format is compatible with the CPU Unit's READ DATA FILE and
WRITE DATA FILE instructions (FREAD and FWRIT) set to binary data for-
mat.
When hexadecimal I/O memory data (1234, 5678, 9ABC, etc.) is being sent
as an attached file in TXT format, the data is stored with the following proce-
dure.
1. The word data is converted to ASCII.
2. The word data is delimited by hard tabs ([HT]: 09).
3. A return and line feed ([CR][LF]: 0D0A) are inserted after every 10 words.
08
07
06
05
04
03
-
-
-
-
-
06
05
04
03
02
01
-
-
-
-
-
+2
+3
+4
+5
+6
9ABC DEF0
1234
5678
9ABC DEF0
1234
5678
9ABC DEF0
1234
Section 2-6
02
01
00
-
-
-
Mail Send Switch
00
-
Accessing Memory/Sending Mail Flag
+7
+8
+9
1234
5678
5678
9ABC DEF0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs cs1w-etn21Sysmac cs1w-etn21Sysmac cj1w-etn21

Table of Contents