Omron CJ2H-CPU6@-EIP Network Card User Manual


 
314
Checking FTP Status Section 11-6
PPP: Path name
XXX: IP address
YY: Port number
MM: FINS error code
NN: Socket error code
11-6 Checking FTP Status
11-6-1 FTP Status Flag
The current status of the FTP server can be obtained from the service status
in the words allocated to the EtherNet/IP Unit in the CPU Bus Unit Area in the
CIO Area. The word containing the FTP Status Flag can be computed as fol-
lows: CIO 1500 + (25 x unit number) + 13
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 PLC 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.
Status of
bit 00
Meaning
1 FTP server busy (a user is connected)
0 FTP server free
FTP Status Flag
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
n+13