Udp/Tcp Socket Status - Omron CJ1W-ETN11 Operation Manual

Sysmac cs/cj series ethernet units
Hide thumbs Also See for CJ1W-ETN11:
Table of Contents

Advertisement

Using Socket Services with CMND(490)
6-3-1

UDP/TCP Socket Status

Bit
Flag
0
Opening Flag
1
Receiving Flag
2
Sending Flag
3
Closing Flag
140
Note If there is more than one Communications Unit mounted to the PC, the FINS
network address must be set as a parameter for CMND(490) and a local net-
work table must be created in the routing tables from the CX-Programmer.
The status of the UDP and TCP sockets is provided in the Socket Status
Words shown in the following diagram. There is a status word for each socket
for both UDP and TCP. The Socket Status Words are allocated in the CPU
Bus Unit Area in the CPU Area starting at the word n+ 1. The value of n can
be calculated from the unit number as follows:
n = 1500 + (25 x unit number)
n+1
n+2
n+3
n+4
n+5
n+6
n+7
n+8
n+9
n+10
n+11
n+12
n+13
n+14
n+15
n+16
The flags shown in the following diagram are provided in the Socket Status
Words for socket service requests made with CMND(490).
15 14 13 12 11 10 9
Results Storage Error Flag
Socket Open Flag
Status Manipulated
by
ON
Unit
Turns ON when an open request is received.
OFF
Turns OFF when open processing has been completed.
ON
Turns ON when a receive request is received.
OFF
Turns OFF when receive processing has been completed.
ON
Turns ON when a send request is received.
OFF
Turns OFF when send processing has been completed.
ON
Turns ON when an close request is received.
OFF
Turns OFF when close processing has been completed.
15
8
7
UDP Socket No. 1 Status
UDP Socket No. 2 Status
UDP Socket No. 3 Status
UDP Socket No. 4 Status
UDP Socket No. 5 Status
UDP Socket No. 6 Status
UDP Socket No. 7 Status
UDP Socket No. 8 Status
TCP Socket No. 1 Status
TCP Socket No. 2 Status
TCP Socket No. 3 Status
TCP Socket No. 4 Status
TCP Socket No. 5 Status
TCP Socket No. 6 Status
TCP Socket No. 7 Status
TCP Socket No. 8 Status
8
7
6
5
4
Unit operation
Section 6-3
0
3
2
1
0
Opening Flag
Receiving Flag
Sending Flag
Closing Flag

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-etn11Cs/cj seriesCs1w-etn01W343-e1-07

Table of Contents