Omron CS1W-ETN01 Network Card User Manual


 
173
Using FTP Commands Section 7-5
PPP: Path name
XXX: IP address
YY: Port number
MM: FINS error code
NN: Socket error code
Checking FTP Status
Note 1. File operations for files on the Memory Card are performed during FTP
communications. Do not remove the Memory Card or turn OFF power to
the PC while FTP is being used.
2. When using File Memory Instruction from the program in the CPU Unit,
program exclusive control using the FTP Status Flag so that the same data
is not manipulated simultaneously by more than one instruction.
FTP Status Flag The current status of the FTP server can be obtained from the service status
in the words allocated to the Ethernet Unit in the CPU Bus Unit Area in the
CIO Area. The word containing the FTP Status Flag can be computed as fol-
lows: 1500 + (25 x unit number) + 17
Note The FTP status can also be checked using the software switch settings on the
CX-Programmer.
FTP Indicator The FTP indicator on the Ethernet Unit indicates FTP status as shown in the
following table.
FTP File Transfer Time File transfers using FTP can require up to 5 or 10 minutes depending on the
capacity of the file. Approximate file transfer time are provided in the following
table for reference.
All times are in seconds unless otherwise specified.
Note 1. The above times assume that the peripheral servicing time setting in the
PC Setup is set to the default value of 4%.
Status of
bit 00
Meaning
1 FTP server busy
0 FTP server free
FTP Status Flag
Power status (CS1W-ETN01 only)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
n+17
FTP indicator Meaning
Lit FTP server busy
Not lit FTP server free
File system Memory Card EM File Memory
CPU Unit status Operating mode PROGRAM RUN PROGRAM RUN
Cycle time --- 20 ms --- 20 ms
Transfers using
put
1 KB 3 17 1 3
30 KB 10 53 5 24
60 KB 17 91 11 52
120 KB 31 173 24 128
Transfers using
get
1 KB1211
30 KB 6 22 4 14
60 KB 10 43 9 37
120 KB 19 100 22 113