Omron CS/CJ Series Network Card User Manual


 
70
CIO Area Allocations Section 4-3
Sending Flag (Bit 2)
Turns ON when a send request is received either by control switch manipula-
tion or the CMND(490) instruction, and turns OFF again when the send pro-
cessing has been completed. When CMND(490) is used, the Results Storage
Error Flag (bit 14) will turn ON at the same time as the Sending Flag turns
OFF if there is an error in the Results Storage Area designation.
Closing Flag (Bit 3)
Turns ON when a close request is received either by control switch manipula-
tion or the CMND(490) instruction, and turns OFF again when the close pro-
cessing has been completed. When CMND(490) is used, the Results Storage
Error Flag (bit 14) will turn ON at the same time as the Closing Flag turns OFF
if there is an error in the Results Storage Area designation.
Results Storage Error Flag (Bit 14)
Turns ON if there is an error in the Results Storage Area for a socket service
request (open, receive, send, close) made using CMND(490). This flag turns
ON at the same time as the services request processing flags (bits 0 to 3) turn
OFF. It remains ON until the next services request is received, and then it
turns OFF again. When this flag turns ON, check the set values in the Results
Storage Area.
The Results Storage Error Flag does not operate when socket services are
requested by control switch manipulation.
TCP/UDP Open Flag (Bit 15)
Remains ON while a socket is open by means of control switch manipulation
or the CMND(490) instruction. In the case of TCP, it indicates a connection.
When the socket is closed, this flag turns OFF again. (If the socket did not
close properly, the flag remains ON.)
Check to be sure that this flag is ON before executing a send or receive
request.
Service Status (Ethernet Unit to CPU Unit)
FTP Status (Bit 0)
Turns ON while connected to an FTP client, and OFF while not connected.
With the FTP server function only one FTP client can be connected at a time,
so while this bit is ON no other clients can connect to the server.
The FTP status is also shown by the Ethernet Unit’s FTP indicator, as follows:
Not lit: FTP server on standby. (FTP status: OFF)
Lit: FTP server operating. (FTP status: ON)
Power status (CS1W-ETN01 only)
FTP status
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
n+17
Bit Name Status Manipulated
by
Unit operation Reference
0 FTP Status Flag ON Unit FTP server operating. (FTP client connected.) Page 173
OFF Unit FTP server on standby. (FTP client not connect.
2 to 14 (Not used.) --- --- --- ---
15 Power status
(CS1W-ETN01 only)
ON Unit Power is being supplied
to transceiver.
CS1W-ETN11: Always
OFF
CJ1W-ETN11: Always
OFF
Page 42
OFF Unit Power is not being
supplied to transceiver.