beautypg.com

Rockwell Automation 1771-SDN DeviceNet Scanner Module Installation Instructions User Manual

Page 31

background image

Publication 1771-IN014B-EN-P - September 2001

DeviceNet Scanner Module Catalog Number 1771-SDN/C 31

The following figure describes the format and mapping of transaction
blocks for request and response messages in the scanner module:

How the Processor and Scanner Module Manage Messages

Block transfer operations between the processor and the scanner
always originate in the processor. The scanner module can only wait
for the processor to download a transaction block to the module or
request an upload of a transaction block from the module.

Once an Explicit Message Request transaction block is downloaded to
the scanner module, a ladder logic program in the processor polls the
scanner module for the transaction block containing the Explicit
Message Response for that request. This is done by the processor with
a Block Transfer Read on the scanner module.

service

port

TXID

command

size

MAC ID

Service Data

word 0

Transaction
Header
(3 words)

word 31

15

0

Class

Instance

Attribute (optional)

Transaction #1

service

port

TXID

command

size

MAC ID

Service Data

word 32

Transaction
Header
(3 words)

word 63

Class

Instance

Attribute (optional)

Transaction #2

Format of 64-word Block Transfer Write

for Explicit Message Request

service

port

TXID

status

size

MAC ID

Service Response Data

word 0

Transaction
Header
(3 words)

word 31

15

0

Transaction #1

service

port

TXID

status

size

MAC ID

Service Response Data

word 32

Transaction
Header
(3 words)

word 63

Transaction #2

Format of 64-word Block Transfer Read

for Explicit Message Response