2 - 15 2 - 15
MELSEC-Q
2 USING THE E-MAIL FUNCTION
2.7 Sending/Receiving E-mail (Attached Files) by the PLC CPU
This section explains how to send and receive attached files of e-mail using the
dedicated instructions (MSEND/MRECV) available for the Ethernet module.
2.7.1 When sending data as an attached file
The following explains the MSEND instruction and program for sending e-mail.
The following illustration shows how the MSEND instruction is used to store data in an
attached file and send it to an external device.
(D)
I/O No.
Mail address
(Parameter setting)
S attached file
2)
3)
4)
1)
(S2)
(S1)
"Un"
ZP.MSEND
Mail server
5)
Main text of mail
(.bin/.asc/.csv)
QCPU
QJ71E71
Desti-
nation
6) Attached file
1) I/O number of the Ethernet module
2) Control data (such as send mail address)
This indicates the mail address of the send destination device set on the send mail
address settings screen.
3) Send mail (s attached file)
Subject consists of the send destination number and the character data designated
by the sequence program. (It is not converted to ASCII format.)
The Subject should be designated in the sequence program in ASCII
characters.
4) Complete bit
5) Main text of mail
There is no data for the main text of mail.
The send data is included in the attached file.
6) Attached file
This indicates the device data designated by the MSEND instruction.
The attached file is sent in either one of binary format, ASCII format or CSV format.
The transmission format for attached file is designated in the control data of the
MSEND instruction.
(See (3) 1.)
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......