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

Page 164

Advertising
background image

Publication 1769-UM001B-EN-P - October 2002

B-6 Explicit Messaging Application Examples

The status word written to the tag specified in the destination field of
the MSG instruction is defined as follows:

Refer to the Troubleshooting information in Chapter 4 for additional
information on Recoverable and Uncoverable, Major and Minor faults.

Get 1769 I/O Module Configuration Size

1769 I/O modules should be configured in RSNetworx for DeviceNet
when your DeviceNet system is configured. We’ll describe how to
modify 1769 I/O module configuration parameters while the system is
running. Modifying I/O module configuration parameters dynamically
is not a common practice, but for some applications it may be
necessary.

We’ll use a 1769-OF2 analog output module to get/set configuration
parameters dynamically for this example.

The first task is to determine the size of the configuration file for the
1769 I/O module. The following command will read the number of
configuration words (not bytes) from the 1769-OF2 in slot 10 of the
remote DeviceNet system by sending a CIP Generic message to the
1769 I/O module via DeviceNet. One word will be read from the 1769
I/O module which contains the word count of its configuration file.

Bit

Description

0

0 = No module error detected
1 = Module detected error present

1

0 = Communication on bus OK
1 = Communication Fault on bus

2

0 = Module is not configured
1 = Module is configured

3-7

Reserved, set to 0

Advertising