Remote Mail Command Details

Section 3-4

IOMRead (I/O Memory Read)

 

Function

Reads the contents of the specified range of words from the CPU Unit's I/O

 

 

memory and returns the data in an attached file. The data is read in word

 

 

units.

 

Command Format

Subject:

 

 

 

 

IOMRead

 

 

 

 

 

 

 

 

 

Notation

Description

Omission

 

Body:

Para1:File format

The file format is specified with two digits, as fol-

Cannot be omit-

 

 

 

lows:

ted.

 

 

Example)

Para1: AB

 

 

 

Specifying a file of comma-delimited

A Data format

 

 

 

word data with returns every 16 fields:

0: Binary (.IOM)

 

 

 

Para1:3D

1: Non-delimited words (.TXT)

 

 

 

 

2: Non-delimited double words (.TXT)

 

 

 

 

3: Comma-delimited words (.CSV)

 

 

 

 

4: Comma-delimited double words (.CSV)

 

 

 

 

5: Tab-delimited words (.TXT)

 

 

 

 

6: Tab-delimited double words (.TXT)

 

 

 

 

B Carriage returns

 

 

 

 

0: No returns

 

 

 

 

8: Return every 10 fields

 

 

 

 

9: Return every 1 field

 

 

 

 

A: Return every 2 fields

 

 

 

 

B: Return every 4 fields

 

 

 

 

C: Return every 5 fields

 

 

 

 

D: Return every 16 fields

 

 

 

 

Note If this parameter is omitted, a parameter

 

 

 

 

error will occur.

 

 

 

 

 

 

 

 

Para2:Starting read address

Specify the data area and address as follows:

Cannot be omit-

 

 

 

• CIO Area: CH_0 to CH_6143

ted.

 

 

Example)

• Work Area: W_0 to W_511

 

 

 

Specifying D00100 as the starting

• Holding Area: H_0 to H_511

 

 

 

address:

• Auxiliary Area: A_0 to A_447

 

 

 

Para2:D_100

• Timer Area: T_0 to T_4095

 

 

 

 

• Counter Area: C_0 to C_4095

 

 

 

 

• DM Area: D_0 to D_32767

 

 

 

 

• EM Area (current EM bank): E_0 to E_32767

 

 

 

 

• EM Area (EM bank 0): E0_0 to E0_32767

 

 

 

 

• EM Area (EM bank 1): E1_0 to E1_32767

 

 

 

 

• EM Area (EM bank 2): E2_0 to E2_32767

 

 

 

 

• EM Area (EM bank 3): E3_0 to E3_32767

 

 

 

 

• EM Area (EM bank 4): E4_0 to E4_32767

 

 

 

 

• EM Area (EM bank 5): E5_0 to E5_32767

 

 

 

 

• EM Area (EM bank 6): E6_0 to E6_32767

 

 

 

 

• EM Area (EM bank 7): E7_0 to E7_32767

 

 

 

 

• EM Area (EM bank 8): E8_0 to E8_32767

 

 

 

 

• EM Area (EM bank 9): E9_0 to E9_32767

 

 

 

 

• EM Area (EM bank A): EA_0 to EA_32767

 

 

 

 

• EM Area (EM bank B): EB_0 to EB_32767

 

 

 

 

• EM Area (EM bank C): EC_0 to EC_32767

 

 

 

 

Note If this parameter is omitted, a parameter

 

 

 

 

error will occur.

 

 

 

 

 

 

 

 

Para3:Number of words

Specifies the number of words (1 to 6,000) to read.

Cannot be omit-

 

 

 

Note Up to 6,000 words can be read to the

ted.

 

 

 

 

 

 

Example)

attached file. Specify 6,000 or fewer words

 

 

 

Specifying 50 words:

for the number of words to read.

 

 

 

Note If this parameter is omitted, a parameter

 

 

 

Para3:50

 

 

 

error will occur.

 

 

 

 

 

 

51

Page 75
Image 75
Omron CJ1W-ETN21 operation manual IOMRead I/O Memory Read, Units