(3)
Transfer setting (Executes FTPcSET
instruction)
(6)
Transfer process done (Completes the execution of
FTPcREQ instruction)
■
Control relay
Name Bit No. Description
Transfer request relay 0 0: No request, 1: Request
Transfer active relay 1 0: Stop, 1: During transfer
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 -
Transfer cancel request
relay
14 0: Not cancel, 1: Cancel
Transfer 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
Transfer done code 1 Response code of FTP 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
Registering a process request failed. 4
Data decompression failed. (When
accessing data with GET)
9
■
FTP client preparation done (WX6 bit 5)
Name Bit No. Description
FTP client preparation
done (X65)
5
0: FTP client preparation incomplete, 1: FTP 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
To be set when the slot number [S1] specified with UNITSEL is not 100 (built-in ET-LAN).
To be set in the case of out-of-range in indirect access (index modification).
17.14 FTPcREQ (FTP Client Transfer Request)
WUME-FP7CPUPGR-12 17-75