beautypg.com

Class attributes, Instance attributes, Common services – Comtrol UP DeviceMaster User Guide User Manual

Page 48

background image

48 - Chapter 2. Programming Interface

DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I

Socket Port Data Transfer Definition Object (74 Hex)

2.3.5. Socket Port Data Transfer Definition Object (74 Hex)

The Socket Port Data Transfer vendor specific object defines the attributes by which the PLC can transfer
data to and from an Ethernet device, via a socket port through a DeviceMaster UP over EtherNet/IP.

Note: There is one instance of this object per socket port. The instance number corresponds to the associated

socket port number on the DeviceMaster UP. (Port numbers are numbered from one to N.)

2.3.5.1. Class Attributes

2.3.5.2. Instance Attributes

2.3.5.3. Common Services

Attribute ID

Name

Data Type

Data Value(s)

Access Rule

1

Revision

UINT

1

Get

2

Max Instance

UINT

Number of ports on the DeviceMaster UP

Get

3

Num Instances

UINT

Number of ports on the DeviceMaster UP

Get

Attribute ID

Name

Data Type

Data Value(s)

Access Rule

1

Transmit (PLC to DeviceMaster UP) message data
Structure of:

Produced data sequence number

Data length

Data array

UINT

UINT

Array of USINT

0-65535 (FFFF hex

1-440

0-255

Set/Get

2

Receive (DeviceMaster UP to PLC) message data
Structure of:

Produced data sequence number

Data length

Data array

UINT

UINT

Array of USINT

0-65535 (FFFF hex)

0-440*

0-255

Get

3

Receive (DeviceMaster UP to PLC) produced data sequence number
Normally sent to the PLC from the
DeviceMaster UP in data transfer.

UINT

0-65535 (FFFF hex)

Set/Get

4

Receive (DeviceMaster UP to PLC) consumed sequence number
Normally updated by the PLC in the
Write-to-Tag-Synced receive method.

UINT

0-65535 (FFFF hex)

Set/Get

5

Transmit (PLC to DeviceMaster UP) produced data sequence number
Normally sent to the DeviceMaster
UP from the PLC in data transfer.

UINT

0-65535 (FFFF hex)

Set/Get

*

For the Polling receive method only. The maximum sized socket port message in the Write-to-Tag and

Write-to-Tag-Synced receive method is 2048 bytes.

Service Code

Implemented in Class

Implemented in Instance

Service Name

0E Hex

Yes

Yes

Get_Attribute_Single

10 Hex

No

Yes

Set_Attribute_Single