beautypg.com

Rockwell Automation 1768-EWEB EtherNet/IP Web Server Module User Manual User Manual

Page 144

background image

Publication ENET-UM527E-EN-P - October 2006

144 Socket Interface

MSG Source Element

Create a user-defined data type

.

where:

You can use a single string tag for the combination of AddrLen and
DestAddr (since the string data type is a DINT followed by the string
characters). Note that the quotes displayed on the RSLogix 5000 Data
Monitor are not counted in the string length.

The MSG instruction that issues the OpenConnection service should
have a Source Length of 8 (Timeout + AddrLen) plus the number of
characters in the destination address.

MSG Source Length

Specify 8 bytes (Timeout + AddrLen) + number of characters in the
destination address

Element

Element

Description

Timeout

DINT

Specify the timeout in milliseconds

DestAddr

STRING

Specify an array of characters (maximum of 64) to define the destination
of the connection. Specify either of these:

• Hostname?port=xxx
• IPAddr?port=xxx

For example, to specify an IP address, enter 10.88.81.10?port=2813

.LEN

DINT

The length of the destination address.

.DATA

SINT array

The array containing the destination address.

This manual is related to the following products: