54
Rockwell Automation Publication 2080-UM004C-EN-E - March 2015
Appendix 5
DeviceNet Plug-in – 2080-DNET20
RA_DNET_EXPLICIT
This UDFB is used for sending explicit message to slave node.
RA_DNET_GENERIC: 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
Slave node address.
OutputData
INPUT
USINT[1…64]
Slave output data.
FBENO
OUTPUT
BOOL
Function block enable output.
TRUE to enable function.
InputData[1…64]
OUTPUT
USINT[1…64]
Input data from slave.
IMPORTANT
For DNET explicit message, the maximum payload supported is 256
bytes.
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
.
See
Explicit Message Status Codes on page 55
.
Status
OUTPUT
USINT
See
Explicit Message Status Codes on page 55
.
RA_DNET_EXPLICIT
FBEN
S
lotID
NodeID
CnxnNumber
FBENO
InputData
MsgLength
CIP
S
ervice
CIPClass
CIPInstance
CIPAttribute
Q
ResponseData
S
tatus
RequestData