Omron CS1W-ETN11 Operation Manual page 90

10base-5, 10base-t ethernet units
Hide thumbs Also See for CS1W-ETN11:
Table of Contents

Advertisement

CIO Area Allocations
Status of UDP/TCP Sockets 1 to 8 (Ethernet Unit to CPU Unit)
n+1 to n+16
Bit
Flag
0
Opening Flag
1
Receiving Flag
2
Sending Flag
3
Closing Flag
4 to 13 (Not used.)
14
Results Storage Error
Flag
15
TCP/UDP Open Flag
15 14 13 12 11 10
9
Results Storage Error Flag
TCP/UDP Open Flag
Status
Manipulated
by
ON
Unit
OFF
Unit
ON
Unit
OFF
Unit
ON
Unit
OFF
Unit
ON
Unit
OFF
Unit
---
---
ON
Unit
OFF
Unit
ON
Unit
OFF
Unit
Note The status of these flags can also be checked using the software switch set-
tings on the CX-Programmer.
Opening Flag (Bit 0)
Turns ON when an open request is received either by control switch manipula-
tion or the CMND(490) instruction, and turns OFF again when the open 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 Opening Flag turns
OFF if there is an error in the Results Storage Area designation.
Receiving Flag (Bit 1)
Turns ON when a receive request is received either by control switch manipu-
lation or the CMND(490) instruction, and turns OFF again when the receive
processing has been completed. When CMND(490) is used, the Results Stor-
age Error Flag (bit 14) will turn ON at the same time as the Receiving Flag
turns OFF if there is an error in the Results Storage Area designation.
8
7
6
5
4
3
2
Unit operation
ON during open processing. (Turns ON when
open request is received.)
Turns OFF when open processing has been
completed.
ON during receive processing. (Turns ON when
receive request is received.)
Turns OFF when receive processing has been
completed.
ON during send processing. (Turns ON when
send request is received.)
Turns OFF when send processing has been
completed.
ON during close processing. (Turns ON when
close request is received.)
Turns OFF when close processing has been
completed.
---
Turns ON if there is an error in storing the results
when socket services are used by means of the
CMND(490) instruction.
Turns OFF when the next request is received.
(Connected by TCP.)
Turns ON when open processing has been com-
pleted.
Turns OFF when close processing has been
completed. (Stays OFF for abnormal open pro-
cessing completion.)
Section 4-3
1
0
Opening Flag
Receiving Flag
Sending Flag
Closing Flag
Reference
Section 6
Socket Ser-
vices
---
Section 6
Socket Ser-
vices
69

Advertisement

Table of Contents
loading

Table of Contents