2 - 20 2 - 20
MELSEC-Q
2 USING THE E-MAIL FUNCTION
2.7.2 When receiving data in the attached file
This section explains the MRECV instruction and a program to receive e-mails sent
from external devices.
The MRECV instruction reads the attached file received.
(D2)
2)
3)
4)
1)
(D1)
(S)
"Un"
ZP.MRECV
Attached file
Header
Read
Mail server
attached file
Qn
CPU
QJ71E71
I/O No.
Main text of mail
1) I/O number of the Ethernet module
2) Control data (such as mail No. to be read)
3) Storage device of attached file
4) Complete bit
Receive mail is temporarily stored in the buffer memory shown below.
Address
(hexadecimal)
Item
Description
Remarks
2680
H
Received e-mail size
Indicates the size of received e-mail ( attached file) data.
2681
H
Header size
Indicates the size of the header data.
2682
H
Mail information
(
1
)
—
2683
H
Head address of attached file
Indicates the head address where the attached file data information is
stored.
2684
H
Head address of header
Indicates the head address where the header information is stored.
2685
H
From head address
Indicates the head address of this data stored in the header information.
2686
H
Date head address
Indicates the head address of this data stored in the header information.
2687
H
Subject head address
Indicates the head address of this data stored in the header information.
2688
H
Attached file name head address
Indicates the head address of this data stored in the header information.
2689
H
Message ID head address
Indicates the head address of this data stored in the header information.
(
2
)
268A
H
System area
—
Header information (maximum of
373 words)
Indicates the content of the header designation items above.
268B
H
to 3FFF
H
Attached file (maximum of 6144
words)
Indicates the contents of the attached file data.
4000
H
System area
—
—
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......