8 selecting cos, cyclic, or polled i/o, 1 using cos (change of state) data exchange – Rockwell Automation RECOMM-DNET DeviceNet Adapter for use with DPI AC Drives User Manual

Page 39

Advertising
background image

Configuring the DeviceNet Adapter

4-15

Step 9. Set Peer Inp Enable (37) to On. The adapter is now

configured to receive I/O from the specified node. Ensure
that the specified node is configured to transmit I/O.

4.8

Selecting COS, Cyclic, or Polled I/O

The data exchange (sometimes called allocation) is the method that
the adapter uses to exchange data on the DeviceNet network. The
adapter can be configured to use one of the following data
exchanges:

• COS (change of state)

• Polled and COS

• Cyclic

• Polled and cyclic

• Polled

If “polled and COS” or “polled and cyclic” is used, the adapter
receives the I/O from the polled messages. It transmits its Logic
Status and Feedback in COS or cyclic messages. Other data is
transmitted in polled messages.

Cyclic and polled data exchanges are configured in the scanner, so
you only need to set the I/O configuration in the adapter. COS data
exchange must be configured in both the adapter and the scanner.
You need to set the I/O configuration and COS parameters in the
adapter.

4.8.1 Using COS (Change of State) Data Exchange

Step 1. Set bit 0 (the Logic Command/Reference bit) in DPI I/O

Config (13) to 1 (Enabled) and bit 0 (the Logic
Status/Feedback bit) in M-S Output (26) to 1 (Enabled).
Changes to bits in the Logic Status or Feedback trigger
messages in COS data exchange. See figure 4.23.

Figure 4.22 – Peer Fault Action Screen on an LCD OIM

Port 5 Device

RECOMM-DNET

Parameter #: 34

Peer Flt Action

0

Fault

Value

Description

0

Fault (Default)

1

Stop

2

Zero Data

3

Hold Last

4

Send Flt Cfg

Advertising