Rockwell Automation 2080 Micro800 Digital and Analog Plug-in Modules User Manual

Page 62

Advertising
background image

54

Rockwell Automation Publication 2080-UM004B-EN-E - December 2013

Appendix 5 DeviceNet Plug-in – 2080-DNET20

RA_DNET_EXPLICIT: Input and Output Parameters

Variable Name

Type

Data Type

Description

FBEN

INPUT

BOOL

Function block enable input.
TRUE to enable function.

SlotID

INPUT

UINT

Plug-in slot number (1…5 for plug-in slots).

NodeID

INPUT

USINT

Node address of slave node.

CnxnNumber

INPUT

USINT

Connection number values 1, 2, 3, 4, 5.

MsgLength

INPUT

USINT

Specifies the size of the CIP message in the
transaction block.

CIPService

INPUT

UINT

CIP service code.

CIPClass

INPUT

UINT

CIP Class code (valid values 0…65535).

CIPInstance

INPUT

UINT

CIP instance (valid values 0…65535).

CIPAttribute

INPUT

UINT

CIP attribute (valid values 0…65535).

RequestData

INPUT

USINT[1…54]

Request data from slave.

FBENO

OUTPUT

BOOL

Function block enable output.

Q

OUTPUT

BOOL

TRUE when message is sent out successfully.

Error

OUTPUT

BOOL

TRUE when message transmits error.

ResponseData

OUTPUT

USINT
[1...50]

CIP Response error
Response Data[1] : Extended Error ID
Response Data[2] : Error ID

See

Explicit Message Request Format on

page 54

.

See

Explicit Message Status Codes on page 55

.

Status

OUTPUT

USINT

See

Explicit Message Status Codes on page 55

.

Transaction Block Format

Byte Offset

Contents

0

Status

1

Transaction ID

2

Size

3

Reserved

4

MAC ID

5

Service

6…115

Transaction Body (110 bytes)

Explicit Message Request Format

Byte Offset

Contents

0

Status

1

Transaction ID

2

Size

3

Reserved

Advertising