0% found this document useful (0 votes)
150 views3 pages

ControlNet Counters, Warnings and Cable Redundancy

This document provides instructions for getting diagnostic counters, cable redundancy warnings, and active channel information from a ControlNet network using a Rockwell Automation 1756CNB module. It describes using an MSG command to retrieve the station status and channel status attribute, which returns a structure containing things like channel state LED values, redundancy warnings, and active channel. It also describes using MSG to get the diagnostic counters attribute, which returns a structure with values for things like good/error frames, overloads, collisions, and more.

Uploaded by

Walter Schroeder
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
150 views3 pages

ControlNet Counters, Warnings and Cable Redundancy

This document provides instructions for getting diagnostic counters, cable redundancy warnings, and active channel information from a ControlNet network using a Rockwell Automation 1756CNB module. It describes using an MSG command to retrieve the station status and channel status attribute, which returns a structure containing things like channel state LED values, redundancy warnings, and active channel. It also describes using MSG to get the diagnostic counters attribute, which returns a structure with values for things like good/error frames, overloads, collisions, and more.

Uploaded by

Walter Schroeder
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

14/11/13 16584 ControlNet Counters, Warnings and Cable Redundancy

Rockwell Automation Support Center

16584 - ControlNet Counters, Warnings and Cable Redundancy


Access Level: TechConnect
Date Created: 02/24/2000 02:07 PM
Last Updated: 02/13/2013 11:09 PM

Question
In ControlNet, how do I get diagnostic counters, cable redundancy warnings, and active channel?

Environment
ControlNet Coax Cabling System

Answer
The following will get the channel A, B , redundant warning and active channel for ControlNet:

Using the MSG Command

Configuration Tab

message type = cip generic

service type = get attribute single

service code = 0e hex get attribute single

class = F0 hex ControlNet object

instance = 1 instance

attribute = 83 hex station status and channel status

source = blank

num. of elements = 0

destination = ControlNet_channel_state[0] ( make this tag a 6 element


SINT)

Communication Tab

path = remote_1756cnb_node11(or whatever the path is to your


respect 1756cnb module)

The structure of these 6 bytes are:

smac_version usint

vender_specific byte[4]

channel_state byte channel state leds,


redundancy warning, and
active channel bits

Value of the Channel State

Note: You can get this from the ControlNet International Standard, version 2.0, March 31, 1998. Page 192, section 240.2.2.12 channel state, table 10-224: channel state bits

Bits 0,1, 2 Channel A led State

0 = off
1 = solid green
2 = flashing green-off
3 = flashing red-off
4 = flashing red-green
5 = railroad red-off

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/16584 1/3
14/11/13 16584 ControlNet Counters, Warnings and Cable Redundancy
6 = railroad red-green
7 = solid red

bits 3,4, 5 Channel B led state. Indicators same as channel A led

bit 6 Redundancy Warning

when warning, the non-active channel in a redundant configuration is unusable by the controller.

0 - normal ( no warning)

1 - warning

bit 7. Active Channel

Indicates which of two channels the receiver is currently listening to


0 - channel B
1 - channel A

Use MSG Command to Get ControlNet Diagnostic Counters with the 1756cnb

Configuration Tab

message type = cip generic

service code = 0e hex get attribute single

object type = F0 hex ControlNet object

object id = 1 instance

object attribute = 82 hex diagnostic counters

source = blank

num. of elements = 0

destination = ControlNet_counters ( make this tag a 42 element SINT or


larger)

Communication Tab

path = remote_1756cnb_node11

Structure of Diagnostic_counters (also in this order)

buffer_errors uint

error_log byte[8]. bad mac frame log. records the last eight such
indications event_counters.

There will be a structure of 32 bytes.

They are listed below:

good_frames_transmitted byte[3]

good_frames_received byte[3]

selected_channel_frame_errors usint

channel_A_frame_errors usint

channel_B_frame_errors usint

aborted_frame_transmitted usint

highwaters usint

nut_overloads usint

slot_overloads usint

blockages usint

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/16584 2/3
14/11/13 16584 ControlNet Counters, Warnings and Cable Redundancy

non_concurrence usint

aborted_frames_received usint

lonely_counter usint

duplicate_node usint

noise_hits usint

collisions usint

mod_mac_id usint

non_lowman_mods usint

rogue_count usint

unheard_moderator usint

vendor_specific usint

reserved byte[4]

vendor_specific usint

vendor_specific usint

reserved byte

Comments (0)
This answer has no comments

Post a Comment

Product Tree for This Answer (expand/collapse)

DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an exhaustive treatment of such subjects.
Accordingly, the information in this web site is not intended to constitute application, design, software or other professional engineering advice or services. Before making
any decision or taking any action, which might affect your equipment, you should consult a qualified professional advisor.

ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY
MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS
"AS IS." IN NO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS
PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE INFORMATION (INCLUDING SOFTWARE)
PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that
certain jurisdictions do not countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.

This page is best viewed in Internet Explorer 7, Firefox 3.5, Chrome 4, Safari 4 or newer.

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/16584 3/3

You might also like