Mail Transmission Function
• When it is executed under the following condition, a error code is set to the execution done
code as a transfer error.
Status
Destination server is not set.
Transfer setting is not set.
Destination group is not set.
Registering a process request failed.
Precautions during programming
• This instruction is not available in interrupt programs.
Details of setting parameters
Setting
Settings
item
Transmission
S
No.
Time chart
• It shows the process that a transfer request was executed and data was obtained
successfully from a server to FP7.
• The control relays (bit0 to bit15) can be monitored by reading arbitrary operation devices
with ETSTAT instruction.
①
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
①
RUN (Power on)
②
SMTP client preparation done
Transfer setting (Executes SSMTPcSET
③
instruction)
6-52
Code
1
2
3
4
Specify the device address storing a transmission number or a
constant.
②
③
④
④
⑤
⑤
Status
Transfer prohibition setting
Data decompression failed. (When
accessing data with PUT)
Data decompression failed. (When
accessing data with GET)
⑤
⑥
Turns OFF when
transfer is requested.
Transfer request (Executes SMTPcREQ instruction)
SMTP client login succeeded (Starts transfer)
Transfer process done (Completes the execution of
SMTPcREQ instruction)
Code
5
8
9
Setting
range
0 to 15
Normal end
Execution result relay: 0
Transfer done code: 0