Mitsubishi Electric Melsec Q Series User Manual page 52

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

2 USING THE E-MAIL FUNCTION
Setting value for
designating the
Setting type
type of execution
b9
b8
Do not inquire
0
0
Do not read
Inquire
1
0
Read
2 - 24
(3) Sample program
The following is a sample program for receiving e-mail by a programmable
controller CPU.
It performs reception processing of e-mail using the receive command (X21).
Processing program when normal completion
Processing program when abnormal completion
The following explains the types of execution that can be designated in the MRECV
instruction's control data. For more details on how to designate the execution types,
see Section 6.2 "MRECV Instruction".
b9
Description of processing
Execute only e-mail read processing.
The inquiry (read) processing of the
remaining receive mail information is
executed after the time set with a
parameter of a programming tool.
Execute read processing of e-mails.
After executing the MRECV
instruction, the inquiry (read)
processing of the remaining receive
mail information is also executed.
When I/O signals of the Ethernet module are X/Y00 to X/Y1F.
b8
Complete type
Type of MRECV instruction execution
Designate whether or not to read the next mail
after executing the MRECV instruction.
Inquiries to the mail
server can be less
frequent.
Mails received by the
mail server can be
read in succession.
MELSEC-Q/L
Designate to make inquiry
to the server.
Designate to read the head mail.
Designate to adjust to the data
length of the receive mail.
Designate to adjust to the header
data length of the receive mail.
Read receive mails.
Merit
Demerit
The next receive mail
cannot be read
immediately.
Mails tend to
accumulate on the
mail server.
Inquiries to the mail
server become more
frequent.
More processing in the
module affects other
internal processing.
2 - 24

Advertisement

Table of Contents
loading

Table of Contents