Omron CS CJ1W-ETN21 Operation Manual page 168

Sysmac cs and cj series ethernet units construction of applications
Hide thumbs Also See for CS CJ1W-ETN21:
Table of Contents

Advertisement

Using Socket Services with CMND(490)
D00030
D01000
D01010
Stores the response after command execution.
D01020
D1030
144
0
1
2
3
CMND(490) control data for TCP RECEIVE REQUEST
000CH 0004H 0001H 0110H 0000H 0032H
Number bytes to receive: 4 bytes
Number of TCP RECEIVE REQUEST command data bytes:
Number of bytes received specified in command data.
0
1
2
TCP PASSIVE OPEN REQUEST command data
2710H 0001H 8203H FC00H 1000H 0000H
TCP socket number (Ethernet Unit socket number): set to 1
Command code
0
1
2
TCP PASSIVE OPEN REQUEST response
Re-
sponse
2710H
code
0
1
2
TCP PASSIVE OPEN REQUEST results storage area
Re-
Remote IP
Remote
sponse
address
TCP
code
port No.
0
1
2
TCP CLOSE REQUEST command data
2714H 0001H 8204H 1A00H
TCP socket number to close: set to 1 (0001
Command code
4
5
6
3
4
5
6
C424H 2037H 0000H
Timeout value: Not set
Local port number: set to 4096 (1000
Results storage area: set to D01020 (03FC
(Refer to page for details on the results storage area.)
3
4
5
6
3
4
5
6
3
4
5
6
Results storage area: set to D01050 (041A
Section 6-8
7
8
9
12 bytes (000C
)
hex
7
8
9
Remote node: Not specified
Host computer IP address: 196.36.32.55
(C4
.24
.20
.37
)
hex
hex
hex
hex
)
hex
)
hex
7
8
9
7
8
9
7
8
9
)
hex
)
hex

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs cs1w-etn21Sysmac cs1w-etn21Sysmac cj1w-etn21

Table of Contents