Comtrol UP DeviceMaster Quick Start User Manual

Page 16

Advertising
background image

16 - Configuring Read-Only Ethernet TCP/IP Devices

DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D

Configuring Read-Only Ethernet TCP/IP Devices

g.

Set the Rx (To PLC) Produced Tag Name for the appropriate environment.

ControlLogix family PLCs: Set this field to the name of the tag where you want the data placed. The
tag must be an array of SINTs (bytes) large enough to hold the maximum sized data plus four bytes for
the sequence number and length fields. The maximum size is 444 SINTs.

SLC or PLC-5 PLCs:

Set the Rx (To PLC) Produced Tag Name to the File number where you want the data placed. This
must be an Integer file or files in sequence large enough for the maximum sized data plus two
integers for the sequence number and length fields.

Set (PLC-5/SLC) Rx MS Byte First if you wish to receive data MS byte first (left to right in integer
format).

For transmit only: set (PLC-5/SLC) Tx MS Byte First if you wish to transmit data MS byte first (left
to right in integer format).

7.

Set the Filtering/Data Extraction Configuration:

If no filtering/data extraction is required, leave all filtering/data extraction settings to defaults.

If filtering/data extraction is required, go to Filtering/Data Extraction Configuration on Page 25.

8.

Set the Application TCP Connection Configuration:

If no application socket interface is required, leave all application socket interface settings at defaults
and verify that the Enable option is not selected.

If an application socket interface is required, go to Application Socket Configuration on Page 31.

9.

Verify Reset Port and Save in Flash are selected and click Submit.

10. Optionally, save the settings in a configuration file using PortVision DX, which saves the network settings

and the protocol settings. You can use configuration files to upload the settings to multiple DeviceMaster
UPs or for restoration purposes.

a.

In PortVision DX, right-click the DeviceMaster UP in the Device List pane (lower), and click
Configuration > Save.

b.

Enter a file name for the configuration file (filename.dc) and click Save.

If all is set up correctly, the DeviceMaster UP will place the data packets into the specified tag(s) or file
locations. The first integer received is the sequence number. This is incremented with each new data packet.
The next integer is the length, which indicates the number of bytes of data received. The rest is data.

The format of data sent to ControlLogix family PLCs:

For large received data packets over 440 bytes in size:

Data larger than 440 SINTs require a series of tags of 444 SINT in size.

The last tag can be smaller in size as long as the total length of all tags in the sequence is sufficient to
hold the largest receive packet, plus four bytes for the sequence number and length parameters.

Each tag must be named in sequence with the second tag having a 2 appended, the third having a 3
appended and so on.

An example series of tags to hold large packets of received data would be: Com1_RxData, Com1_RxData2,
Com1_RxData3, etc.

All data will have been transferred to the PLC when the sequence number is updated.

Name

Data Type

Data Value(s)

Receive (DeviceMaster to PLC) message data.

Structure of:

Produced data sequence

Data length (in bytes)

Data array

UINT

UINT

Array of USINT

0-65535 (FFFF Hex)

0-2048

0-255

Advertising