Omron CS1W-ETN01 Operation Manuals page 66

Sysmac cs1 series ethernet unit
Hide thumbs Also See for CS1W-ETN01:
Table of Contents

Advertisement

CIO Area Allocations
Service Status (Ethernet Unit to CPU Unit)
Bit
Name
0
FTP Status Flag
2 to 14 (Not used.)
15
Power status
Sending Flag (Bit 2)
Turns ON when a send request is received either by control switch manipulation
or the CMND(490) instruction, and turns OFF again when the send processing
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 manipulation
or the CMND(490) instruction, and turns OFF again when the close processing
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 re-
quest (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 re-
quested by control switch manipulation.
TCP/UDP Open Flag (Bit 15)
Remains ON while a socket is open by 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.
15 14 13 12 11 10
n+17
Power status
Status
Manipulated
by
ON
Unit
OFF
Unit
---
---
ON
Unit
OFF
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 (Bit 15)
Turns ON while power is being supplied from the Ethernet Unit to the transceiver,
and OFF when power is not being supplied. Check to be sure that this bit is ON
before beginning communications.
9
8
7
6
5
4
Unit operation
FTP server operating. (FTP client
connected.)
FTP server on standby. (FTP client not
connect.
---
Power is being supplied to transceiver.
Power is not being supplied to transceiver.
Section
4-3
3
2
1
0
FTP status
Reference
Page 151
---
Page 29
53

Advertisement

Table of Contents
loading

Table of Contents