Omron CS CJ1W-ETN21 Operation Manual page 167

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)
Program Memory Maps
Legend
DM Area
D00000
0012H 0004H 0001H 0110H 0000H 0032H
D00010
D00020
The send and receive data and bits (flags) used by the program are shown in
the following diagrams. The following example shows how the memory maps
are structured.
Describes the meaning of the data.
0
D0000
CMND(490) control data
0012H 0004H 0001H
Indicates the contents of D00000 is 0012 Hex.
15 to 8
CIO 0000
0
1
2
3
CMND(490) control data for TCP PASSIVE OPEN REQUEST
Remote Ethernet Unit designation
Network address: 01
Node address: 01
Unit address: 10
Number bytes to receive: 4 bytes
Number of TCP PASSIVE OPEN REQUEST command data bytes: 18 (0012
0
1
2
CMND(490) control data for TCP CLOSE REQUEST
0008H 0004H 0001H 0110H 0000H 0032H
Number bytes to receive: 4 bytes
Number of TCP CLOSE REQUEST command data bytes:
0
1
2
CMND(490) control data for TCP SEND REQUEST
006EH 0004H 0001H 0110H 0000H 0032H
Number bytes to receive: 4 bytes
Number of TCP SEND REQUEST command data bytes
Command format = 10 bytes + 100 bytes send data
1
2
00
Indicates the contents of D00001 is 0004 Hex.
7
6
Indicates that CIO 000001 is used as the TCP Close Bit.
Indicates that CIO 000000 is used as the TCP Open Bit.
4
5
6
7
Response monitor time: 5 s
Port number: Port #0
hex
hex
hex
3
4
5
6
3
4
5
6
5
4
3
2
8
9
) b
ytes
hex
7
8
9
8 bytes
7
8
9
: 110 (006E
) bytes
hex
Section 6-8
1
0
TCP
TCP
Close
Open
Bit
Bit
143

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs cs1w-etn21Sysmac cs1w-etn21Sysmac cj1w-etn21

Table of Contents