Get 1769 i/o module configuration – Rockwell Automation 1769-ADN Compact I/O 1769-ADN DeviceNet Adapter User Manual

Page 186

Advertising
background image

Publication 1769-UM001B-EN-P - October 2002

B-28 Explicit Messaging Application Examples

The following table illustrates the Save 1769 I/O Module Configuration
command and the command reply:

Get 1769 I/O Module Configuration

This command has 6 words, where the first three are required by the
1747-SDN and the last three are sent to the 1769-ADN and the
specified 1769 I/O module. This command allows you to get the
specified I/O module’s configuration so that you may verify the
configuration of any 1769 I/O module. Refer to the Ladder Logic
Example Program on page B-30 for the ladder logic containing this
command.

Command (Hexadecimal)

Description (High Byte/Low Byte)

0101

TXID

1

/Command

2

0004

Port #

3

/Byte Count

4

1613

Service

5

/Mac ID

6

000F

Class

7

0000

Instance

8

Reply (Hexadecimal)

Description (High Byte/Low Byte)

0101

TXID

1

/Status

0000

Port #

3

/Byte Count

4

9613

Service

5

/Mac ID

6

1

TXID (Transmission ID) is used by the scanner to track the transaction to completion and returns the same

value with the reply. To properly track commands with their replies, this value should be incremented for

each new command sent. TXID size is one byte.

2

Command instructs the scanner on how to administer the request. “01” is the Execute This Transaction

Block command. The command data size is one byte. Refer to the 1747-SDN User Manual, publication

1747-5.8, for list of supported commands.

3

Port # is the physical channel of the scanner where the transaction is to be routed. The port # must be 0

(channel A) and the data size is one byte.

4

Byte Count identifies the number of bytes in the transaction body. The transaction body begins with

word 3 and the data size is one byte.

5

Service for the Save command is 16 hexadecimal (22 decimal). Service data size is one byte.

6

Mac ID is the DeviceNet network node address of the device for which the transaction is intended. The

slave device must be listed in the scanner module’s scan list and be online for the explicit message

transaction to complete successfully. The Mac ID value must be hexadecimal. In this example, the node

address of the 1769-ADN adapter is 19 decimal or 13 hexadecimal. The Mac ID data size is one byte.

7

Class specifies the desired DeviceNet class. “000F” hexadecimal is the class code for the object

responsible for saving configuration, the parameter object. The class data size is one word.

8

Instance for the Save command is 0000 hexadecimal.

There is no Attribute for this command.

Advertising