■
Control relay
Name Bit No. Description
Send request relay 0 0: No request, 1: Request
Send active relay 1 0: Stop, 1: During transfer
Send retry active relay 2 0: No retry, 1: During retry
Execution done relay 3 0: During process, 1: Instruction execution complete
Execution result relay 4 0: Normal 1: Failed
Transfer direction relay 5 0: Send, 1: Receive
Reserved for system 6 to 13 -
Send cancel request relay 14 0: Not cancel, 1: Cancel
Send disable relay 15 0: Transfer enabled, 1: Transfer disabled
(Note 1) The state of control relays can be read with ETSTAT instruction.
■
Done codes
Name
Number of
words
Description
Execution done code 1 Execution done code
Send done code 1 Response code of SMTP client
(Note 1) The state of completion codes can be read with ETSTAT instruction.
When the instruction is executed under one of the following conditions, a transfer error occurs
and the corresponding error code is set in the execution done code.
Status Code Status Code
Destination server is not set. 1 Transfer prohibition setting 5
Transfer setting is not set. 2
Data decompression failed. (When
accessing data with PUT)
8
Destination group is not set. 3
Data decompression failed. (When
accessing data with GET)
9
Registering a process request failed. 4
■
SMTP client preparation done (WX6 bit 9)
Name Bit No. Description
SMTP client preparation
done (X69)
9
0: SMTP client preparation incomplete, 1: SMTP client
preparation complete
(Note 1) For details of Ethernet-related flags, refer to "19.10 Ethernet Function: IP Addresses".
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
To be set when the slot number [S1] specified with UNITSEL is not 100 (built-in ET-LAN).
To be set when the SMTP client preparation done (X69) is OFF at the time of the execution of
instruction.
17.26 SMTPcREQ (Mail Send Request)
WUME-FP7CPUPGR-12 17-137