Panasonic FP7 Series Command Reference Manual page 1024

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

17.26 SMTPcREQ (Mail Send Request)
flag (X69). An operation error occurs if this instruction is executed when the flag (X69) is
OFF.
● When the instruction is completed successfully, the system relay SR9 (carry flag CY) and the
system data register SD29 (Ethernet communication error code) are cleared.
Precautions for programming
● Insert the UNITSEL instruction immediately before this instruction and specify the unit (built-
in ET-LAN in the CPU unit) and the connection number.
● This instruction is not available in interrupt programs.
Operand [S] setting
Setting item Settings
S
Send number Specify the device address storing a send number or a constant.
Timing chart
● The following diagram shows the process in which a transfer request is executed and data
transfer from a server to FP7 is completed successfully.
● The control relays (bit0 to bit15) can be monitored by using the ETSTAT instruction to read
and store their state in arbitrary operation devices.
Ethernet initialization
active flag (X61)
SMTP client preparation
done flag (X69)
Send request relay
ETSTAT [D] bit0
Send active relay
ETSTAT [D] bit1
Send retry active relay
ETSTAT [D] bit2
Execution done relay
ETSTAT [D] bit3
Execution result relay
ETSTAT [D] bit4
Transfer cancel request
relay ETSTAT [D] bit14
Transfer disable relay
ETSTAT [D] bit15
(1) RUN (Power on)
(2) SMTP client preparation done
Transfer setting (Executes SMTPcSET
(3)
instruction)
17-136
(1)
(2)
(3)
(4)
(5)
Turns OFF when sending is requested.
(4) Transfer request (Executes SMTPcREQ instruction)
(5) SMTP client login succeeded (Starts transfer)
Transfer process done (Completes the execution of
(6)
SMTPcREQ instruction)
(6)
Normal completion
Execution result relay: 0
Transfer done code: 0
WUME-FP7CPUPGR-12
Setting
range
0 to 15

Advertisement

Table of Contents
loading

Table of Contents