beautypg.com

Request data from devicemaster up – Comtrol UP DeviceMaster User Guide User Manual

Page 111

background image

DeviceMaster UP EtherNet/IP User Guide: 2000424 Rev. L

Chapter 5. Programming the PLC - 111

Request Data from DeviceMaster UP

5.3.7.3. Request Data from DeviceMaster UP

Use the Configuration tab on the Message Configuration dialog to request data from a specified serial port on
the DeviceMaster UP. Only the Polling receive method uses this feature.

Provide the following information.

The following image displays the user defined data type for received data.

Field

Selection

Message Type

CIP Generic

Service Type

Get Attribute Single

Service Code

0E Hex (Get Attribute Single)

Class

71 Hex (Serial Port Data Transfer object)

Instance

1 (Port 1)

Attribute

2 (Receive message data attribute)

Destination

Com1_RxDataStr (Receive data structure)

The Receive data structure includes:

Produced data sequence number (one INT). A change indicates new data.

Data length in bytes (one INT).

Data array (zero to 440-bytes)

Source Length

128 (Length of the configuration data structure.)