Omron CJ1W-ETN11 Operation Manual page 175

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

Advertisement

Using Socket Services with CMND(490)
Program Memory Maps
DM Area
D00000
D00010
D00020
D00030
Number of bytes received is specified in command data.
D01000
154
The send and receive data and bits (flags) used by the program are shown in
the following diagrams.
0
1
2
3
CMND(490) control data for UDP OPEN REQUEST
000AH 0004H 0001H 0110H 0000H 0032H
Remote Ethernet Unit designation
Network address: 01
Node number: 01
Unit address: 10
Number bytes to receive: 4 bytes
Number of bytes to send: 10 bytes (000A
0
1
2
3
CMND(490) control data for UDP CLOSE REQUEST
0008H 0004H 0001H 0110H 0000H 0032H
Number bytes to receive: 4 bytes
Number of bytes to send: 8 bytes
0
1
2
3
CMND(490) control data for UDP SEND REQUEST
0074H 0004H 0001H 0110H 0000H 0032H
Number bytes to receive: 4 bytes
Number of bytes to send: 114 (0072
Command format = 14 bytes + 100 bytes send data
0
1
2
3
CMND(490) control data for UDP RECEIVE REQUEST
000CH 0004H 0001H 0110H 0000H 0032H
Number bytes to receive: 4 bytes
Number of bytes to send: 12 bytes (000C
0
1
2
3
UDP OPEN REQUEST command data
2701H 0001H 8203H FC00H 1000H
Results storage area: set to D01020 (03FC
(Refer to page 198 for details on formats for socket services)
UDP socket number (Ethernet Unit socket number): set to 1
Command code
4
5
6
7
Response monitor time: 5 s
FINS communications port: Port #0
hex
hex
hex
)
hex
4
5
6
7
4
5
6
7
) bytes
hex
4
5
6
7
)
hex
4
5
6
7
Local port number: set to 4096 (1000
Section 6-3
8
9
8
9
8
9
8
9
8
9
)
hex
)
hex

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

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

Table of Contents