2 - 22 2 - 22
MELSEC-Q
2 USING THE E-MAIL FUNCTION
(1) Reception using the sequence program
The following explains the designation method in a sequence program.
For details, see Chapter 6, "MRECV".
Instruction
Read the receive
mail information
Processing program when normal completion
Processing program when abnormal completion
ZP.MRECV
"U0"
D0
D100
M0
M1
M1
M0
Create control data at D0 and on
E-mail is read if there is recieve mail in
Ethernet module
Un\G9858.F
(2) Execution timing of the instruction
Initial normal completion (X19)
Number of mails remaining
on the server
(Buffer memory address:
22640)
Mail buffer
(Buffer memory address:
9857 to)
Flag indicating whether
there are receive mails
(Buffer memory address:
9858, bit 15)
MRECV instruction
MRECV instruction
completion device
MRECV instruction
completion 1
Initial
processing
Receive mail
confirmation
MRECV
MRECV
Mail 1
Mail 2
Mail 1
0
1
Inquiry interval
Inquiry interval
Receive mail
confirmation
1 scan
1 scan
Abnormal
completion
2
Mail 2
1)
2)
2)
4)
3)
5)
6)
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......