Omron CS CJ1W-ETN21 User Manual

Page 68

Advertising
background image

44

Remote Mail Command Details

Section 3-4

FileRead (File Read)

Function

Reads any file from the CPU Unit's EM file memory or a Memory Card
mounted in the CPU Unit and returns the file as an attachment.

Command Format

Response Format

Subject: FileRead

Notation

Description

Omission

Body: Para1:Source folder name

Example)

Specifying subdirectory OMRON in
the Memory Card:

Para1:MEMCARD\OMRON

Specifies the source folder.

• MEMCARD specifies the Memory

Card's root directory.

• EM specifies the EM file memory's

root directory.

Note If this parameter is omitted,

the default read source is the
Memory Card's root directory.

Can be omitted.

Para2:File name

Example)

Specifying AUTOEXEC.STD:

Para2:AUTOEXEC.STD

Specifies the name of the file
(including the filename extension) to
be read.

Note If this parameter is omitted, a

parameter error will occur.

Cannot be omitted.

Attached file: None

Subject: Re:FileRead

Response contents

Description

Body: Response Code:

@@@@

Refer to 3-4-2 Response List.

Response Status:

@@@@

Refer to 3-4-2 Response List.

> Para1:Source folder name

Included only if this parameter was specified.

> Para2:File name

Attached file: Yes

Advertising