2-1 socket service parameters, Socket service parameters – Omron W343-E1-07 User Manual

Page 135

Advertising
background image

114

Using Socket Services with Socket Service Request Switches

Section 6-2

6-2-1

Socket Service Parameters

The Socket Service Parameter Areas in which parameters are set to request
socket services is in the CPU Bus Unit Area in the DM Area of the CPU Unit.
The Socket Service Parameter Areas are allocated as shown in the following
diagrams. The first word of in the DM Area allocated to the Ethernet Unit as a
CPU Bus Unit is referred to as “m” and is computed as follows:

m = D30000 + (100 x unit number)

The configuration of each of the Socket Service Parameter Areas is shown in
the following diagram.

Socket Service Parameter Area 1

Socket Service Parameter Area 8

Socket Service Parameter Area 2

m+18

m+27
m+28

m+37

m+88

m+97

Offset

UDP/TCP socket number (0001 to 0008 Hex)

Local UDP/TCP port number (0000 to FFFF Hex)

Remote IP address (00000000 to FFFFFFFF Hex)

Number of bytes to send/receive (0000 to 07C0 Hex)

Send/receive data address

Timeout value (0000 to FFFF Hex)

Response code

Remote UDP/TCP port number (0000 to FFFF Hex)

15 14 13 12 11 10 9

8

7

6

5

4

3

2

1

0

+0

+1

+2

+3

+4

+5

+6

+7

+8

+9

Advertising
This manual is related to the following products: