beautypg.com

Cos (change of state) allocation – Rockwell Automation 2100-GK61 DeviceNet to SCANport User Manual

Page 206

background image

Publication 2100-DU021B-EN-P - January 2004

B-7

COS (Change of State) Allocation

When you set up a COS allocation, the scanner will send output data to the
adapter when the data changes. If no changes occur the scanner will send the
output data to the adapter at a constant rate (called a heartbeat). To use COS,
you must enable COS in the adapter and in the scanner.

Enabling COS in the Adapter

1. Enable the desired I/O and datalinks (parameters 4 – 8).

2. Set the M-S Input (24) parameter. Refer to the “M-S Input Parameter

Configurations” section in this chapter.

3. Set the M-S Output (25) parameter. Refer to the “M-S Output Parameter

Configurations” section in this chapter.

4. Ensure the Cmd/Stat Config (4) parameter is On.

5. Ensure the lowest bit in the M-S Output (25) parameter is set to 1. For

example, xxx0, 0001. This enables status/feedback to be sent over the
slave connection.

6. Set the COS Status Mask (26) parameter to specify which bits in the logic

status word will trigger a message to the scanner when changed. (0 = do
not check the corresponding bit.)

7. Set the COS Fdbk Change (27) parameter to specify the amount of

change required in the reference word needed to trigger a message to
the scanner. (0 = do not check the corresponding bit.)

8. Reset the adapter by setting the Reset Adapter (22) parameter to Enable.

Enabling COS in the Scanner

Use RSNetWorx to enable COS in the scanner. Refer to Chapter 4, Configuring
a Scanner to Communicate with the Adapter,
for more information on configuring
the scanner.

COS must be enabled in the Edit Device I/O Parameters dialog box.