5-250
5.4 Network Dedicated Instruction
5.4.33 MRECV instruction
ZP_MRECV
Program Example
The following program performs the e-mail receiving process by the receive instruction (X21).
(The I/O signals of the Ethernet module are X/Y00 to X/Y1F)
[Structured ladder/FBD]
Sets to read
the first mail
Sets to adjust data
length to that of
the received mail
Sets to adjust header
data length to that
of the received mail
Sets to inquire
to server
Reads received
e-mail
N
ormal completion
Error completion
Process on normal completion
Process on error completion