Ethernet Switches - Red Lion - Galco Industrial Electronics

Ethernet Switches - Red Lion - Galco Industrial Electronics
REVISED 2016-01-19
N-Tron® Series
CIPTM Installation & User Manual
700/7000TM Products
Software Manual | January 2016
N-Tron® Series 700/7000 Switch CIP™ Manual
i
REVISED 2016-01-19
COPYRIGHT
Copyright, © 2016 Red Lion Controls, Inc. 20 Willow Springs Circle
York, PA 17406
All rights reserved. Red Lion, the Red Lion logo and N-Tron® are registered trademarks of Red Lion
Controls, Inc. All other company and product names are trademarks of their respective owners.
N-Tron® Series 700/7000 Switch CIP™ Manual
ii
REVISED 2016-01-19
700/7000 CIP User Manual
1.
Introduction ............................................................................................................................................................ 2
1.1 CIP Components ................................................................................................................................................. 2
1.1.1 Electronic Data Sheet (EDS) ........................................................................................................................ 2
1.1.2 CIP Objects .................................................................................................................................................. 2
1.1.2.1 Identity Object ....................................................................................................................................... 3
1.1.2.2 TCP/IP Interface Object ........................................................................................................................ 5
1.1.2.3 Ethernet Link Object.............................................................................................................................. 6
1.1.2.4 N-Tron Switch Object ............................................................................................................................ 8
1.1.2.5 CIP Services ....................................................................................................................................... 11
1.1.3 Accessing Data........................................................................................................................................... 11
1.1.3.1 Explicit Messaging .............................................................................................................................. 11
1.1.3.2 I/O Connections .................................................................................................................................. 11
2.
Rockwell RSLogix 5000 – AOI ............................................................................................................................ 13
2.1 Material Prerequisites ........................................................................................................................................ 13
2.2 Installation Instructions ...................................................................................................................................... 13
2.2.1 Software Installation Prerequisites ............................................................................................................. 13
2.2.2 Summary of Installation Steps .................................................................................................................... 13
2.3 Configuration of RSLogix Project....................................................................................................................... 13
2.3.1 Importing an Add-On Instruction ................................................................................................................ 13
2.3.2 Add a Generic Ethernet Module to the I/O Configuration. ......................................................................... 14
2.3.3 Add an Instance of the AOI in Your Application ......................................................................................... 16
2.3.4 Create and Configure Tags for the AOI ..................................................................................................... 17
2.3.5 Verify the New RSLogix Configuration ....................................................................................................... 20
2.4 Input_Assembly Parameter ............................................................................................................................... 21
2.5 Switch_Parameters Parameter .......................................................................................................................... 22
2.6 Explicit Messaging Options ................................................................................................................................ 22
2.7 Troubleshooting ................................................................................................................................................. 22
2.8 Sample Project................................................................................................................................................... 23
3.
Rockwell RSLogix 5000 – Tag Reference........................................................................................................... 24
3.1 Generic Assembly Tags ..................................................................................................................................... 25
3.2 7506GX2 Assembly Tags .................................................................................................................................. 27
3.3 System Fault Tags ............................................................................................................................................. 28
3.4 CIP Tags ............................................................................................................................................................ 30
3.4.1 Identity Object............................................................................................................................................. 30
3.4.2 TCPIP Object.............................................................................................................................................. 30
3.4.3 Ethernet Link Object ................................................................................................................................... 31
3.4.4 N-Tron Switch Object ................................................................................................................................. 34
4.
Rockwell Automation® FactoryTalk® - Faceplate Installation ............................................................................ 36
4.1 Material Prerequisites ........................................................................................................................................ 36
4.2 Installation Instructions ...................................................................................................................................... 36
4.2.1 Software Installation Prerequisites ............................................................................................................. 36
4.2.2 Summary of Faceplate Installation Steps ................................................................................................... 36
4.3 Configuration of FactoryTalk View Faceplate Displays ..................................................................................... 36
4.3.1 Configure a Shortcut to the PLC Running the NTRON AOI. ...................................................................... 36
4.3.2 Import Graphics into your Project ............................................................................................................... 37
4.3.3 Import Local Messages .............................................................................................................................. 39
4.3.4 Import Images............................................................................................................................................. 40
4.3.5 Import Tags ................................................................................................................................................ 41
4.3.6 Access Faceplate Displays ........................................................................................................................ 41
4.3.7 Configure Display Parameters ................................................................................................................... 44
4.3.8 Optionally Add Composite Switch Image to Display .................................................................................. 46
4.3.9 Optionally Add Specific Switch Image to Display ....................................................................................... 46
N-Tron® Series 700/7000 Switch CIP™ Manual
iii
REVISED 2016-01-19
4.3.10 FactoryTalk View SE Client Setup ........................................................................................................... 47
4.4 Sample Project ................................................................................................................................................... 48
5.
Rockwell Faceplate Quick Reference Guide ....................................................................................................... 49
5.1 Introduction ........................................................................................................................................................ 49
5.2 Home Display..................................................................................................................................................... 50
5.3 Diagnostics Display............................................................................................................................................ 53
5.4 Settings Display ................................................................................................................................................. 55
5.5 Alarm Display ..................................................................................................................................................... 56
N-Tron® Series 700/7000 Switch CIP™ Manual
iv
REVISED 2016-01-19
PREFACE
Purpose This manual gives specific information on how to apply and use the CIP™ functions
on the N-Tron® series 700/7000 switches.
Audience The manual is intended for use by personnel who are responsible for operating and
maintaining network equipment; consequently, it assumes a basic working knowledge
of general switch functions and the Internet Protocol (IP).
Trademark
Acknowledgments
Conventions
Red Lion Controls acknowledges and recognizes ownership of the following
trademarked terms used in this document.
•
Ethernet™ is a registered trademark of Xerox Corporation
•
EtherNet/IP™and CIP™ are registered trademarks of ODVA™
•
All other company and product names are trademarks of their respective
owners
The following conventions are used throughout this manual to show information:
Note: Emphasizes important information or calls your attention to related
features or instructions.
Related Publications This document is revised only at major releases and therefore, may not always
and Document contain the latest product information. As needed, Tech Notes and/or other product
Updates documentation can be provided between major releases to describe any new
information or document changes.
Also, as part of the 700 software, there is an online web-based help that describes all
management related features.
N-Tron® Series 700/7000 Switch CIP™ Manual
v
REVISED 2016-01-19
References
[1] The CIP Networks Library, Volume 1: Common Industrial Protocol (CIP™), Edition
3.16, Publication Number: PUB00001, Open DeviceNet Vendor Association, Inc., 4220
Varsity Drive, Suite A, Ann Arbor, MI 48108‐5006 USA
[2] The CIP Networks Library, Volume 2: EtherNet/IP Adaptation of CIP™, Edition 1.17,
Publication Number: PUB00002, Open DeviceNet Vendor Association, Inc., 4220 Var‐
sity Drive, Suite A, Ann Arbor, MI 48108‐5006 USA
Revision History The following information lists the release history of this document.
Revision Date
April 8 2010
Disclaimer
Content Description
September 2010
Added switches: 711FX3, 7010TX, 709FX, 710FX2, 714FX6, and
712FX4
Added 7012FX2 switch
January 2011
Added 7026TX switch
February 2012
Added 7900 switch
August 2012
Added 716M12 switch
January 2016
Updated format and trademarks
Portions of this document are intended solely as an outline of CIP methodologies
to be followed during the maintenance and operation of N-Tron series 700/7000
equipment. It is not intended as a step-by-step guide or a complete set of all
procedures necessary and sufficient to complete all operations.
While every effort has been made to ensure that this document is complete and
accurate at the time of release, the information that it contains is subject to
change. Red Lion is not responsible for any additions to or alterations of the
original document. Industrial networks vary widely in their configurations,
topologies, and traffic conditions. This document is intended as a general guide
only. It has not been tested for all possible applications, and it may not be
complete or accurate for some situations.
N-Tron® Series 700/7000 Switch CIP™ Manual
vi
REVISED 2016-01-19
1. Introduction
EtherNet/IP™, better known as the Common Industrial Protocol (CIP™), was designed for use
in process control and industrial automation applications. CIP was designed to provide consistent
device access to eliminate the need for vendor specific software for configuration and monitoring
of individual devices.
N-Tron® switches with CIP support can be used to communicate with other industrial devices,
such as Rockwell controllers.
1.1 CIP Components
The following CIP components are available with N-Tron series CIP enabled switches.
1.1.1 Electronic Data Sheet (EDS)
An electronic datasheet for each N-Tron Series switch is provided.
In a Rockwell environment EDS files are installed using the “EDS Hardware Installation Tool”.
This allows N-Tron Series switches to be recognized in an RSLinx environment.
1.1.2 CIP Objects
“Objects” are used to organize various information about the switch. There are four types of
objects provided. Three are specified by the ODVA, and one is N-Tron series specific:
•
•
•
•
Identity object
TCP/IP Interface object
Ethernet Link object
N-Tron switch object
Standard “services” are associated with objects. Services exist for reading an attribute, setting an
attribute, resetting a device, etc. See references [1] and [2] for specific details.
The following sections describe the attributes associated with each object type, such as attribute
Id number and data format. All attributes can be read, but only some can be set, as shown by the
“Set” column.
N-Tron® Series 700/7000 Switch CIP™ Manual
-2-
REVISED 2016-01-19
1.1.2.1 Identity Object
The identity object class (Class code = 0x01) and instance attributes are implemented as defined
by CIP Vol 1, 5-2 [1]. There is one instance (1) of this object. Service code (0x32) will get all
attributes, including optional attributes. The following table summarizes the attributes in the
Identity object.
Id
Name
Set
Format
Description
1
Vendor ID
UINT (16)
2
3
Device Type
Product Code
UINT (16)
UINT (16)
4
5
Major Revision
Minor Revision
Status
USINT (8)
USINT (8)
WORD (16)
6
Serial Number
UDINT (32)
7
Product Name
SHORT_STRING
N-Tron® Series 700/7000 Switch CIP™ Manual
-3-
1006. This is N-Tron’s ODVA EtherNet/IP
Vendor ID.
0x0C. Communications Adapter
Switch product code:
708TX
= 701
708FX2
= 703
716TX
= 705
716FX2
= 706
7018TX
= 708
7018FX2
= 709
708M12
= 710
711FX3
= 711
7010TX
= 713
709FX
= 714
710FX2
= 715
714FX6
= 717
712FX4
= 718
7012FX2
= 719
7026TX
= 720
7900
= 722
716M12
= 723
7506GX2
= 7506
Major version of CIP implementation.
Minor version of CIP implementation.
Summary status of device. Bits:
Bit 0 If set, device has an owner
Bit 1 reserved
Bit 2 If set, device has non-default
configuration
Bit 3 reserved
Bits 4-7 Extended device status – not used
Bit 8 Minor recoverable fault
Bit 9 Minor unrecoverable fault
Bit 10 Major recoverable fault
Bit 11 Major unrecoverable fault
Bits 12-15
reserved
(see fault table below)
Serial number of the device. This is the last
4 octets of the base switch MAC.
Switch Model Number.
EX: 7018FX2
REVISED 2016-01-19
15
Assigned_Name
Set
STRINGI
This is the user assigned switch name.
17
Geographic_Location
Set
STRINGI
This is the user assigned switch location.
The table below defines fault bits within the Status attribute of the Identity object.
Bit
Called
8
Minor Recoverable Fault
9
10
Minor Unrecoverable Fault
Major Recoverable Fault
11
Major Unrecoverable Fault
N-Tron® Series 700/7000 Switch CIP™ Manual
Definition
Power supply 1, Power supply 2, N-Ring Full, System, Port
utilization, Temperature, N-Link partner is down, N-Link
integrity fault
Configuration device error
N-Ring partial low, N-Ring partial high, N-Ring multiple
managers, Boot loader version, N-Link partner port unknown,
N-Link multiple masters, N-Link control fault, N-Link
configuration fault
none
-4-
REVISED 2016-01-19
1.1.2.2 TCP/IP Interface Object
The TCP/IP Interface object class (Class code = 0xF5) and instance attributes are implemented
as defined by CIP Vol 2, 5-3 [2]. There is only one instance (1) of this object. The following
table summarizes the attributes in the TCP/IP Interface object.
Id
Name
1
Status
2
Configuration
Capability
3
Configuration
Control
4
Physical Link
Object
Path Size
Path
5
6
Interface
Configuration
IP Address
Network Mask
Gateway
Address
Name Server
Name Server 2
Domain Name
Host Name
Set
Set
Format
Description
DWORD (32) Interface status
0
interface configuration
attrib not configured
1
interface configuration
attrib is valid
DWORD (32) Interface capability flags. Bits:
0
BOOTP client capable
1
DNS client capable
2
DHCP client capable
3
DHCP-DNS update
capable
4
Configuration is settable
5
Through bit 31 reserved
DWORD (32) Interface control flags.
Bits 0-3:
0
use interface configuration
previously stored
1
get interface configuration
via BOOTP
2
get interface configuration
via DHCP
3
through 15 reserved
Bit 4=1 device shall resolve host
names by querying a DNS server
STRUCT of:
UINT (16)
Padded
EPATH
STRUCT of:
Size of Path
Logical segments identifying the
physical link object
Set
Set
Set
UDINT (32)
UDINT (32)
UDINT (32)
The device’s IP address.
The device’s network mask
Default gateway address
Set
Set
Set
Set
UDINT (32)
UDINT (32)
STRING
STRING
Primary name server
Secondary name server
Default domain name
Host name
N-Tron® Series 700/7000 Switch CIP™ Manual
-5-
REVISED 2016-01-19
8
TTL Value
USINT
9
Mcast Config
Alloc Contro
STRUCT of:
USINT
Reserved
Num Mcast
USINT
UINT
Mcast Start
Addr
Encapsulation
Inactivity
Timeout
USDINT
13
Set
UINT
TTL Value for EtherNet/IP multicast
packets. Default is 1. Range is 1-255
IP multicast configuration
Multicast address allocation control
word. Determines how addresses are
allocated
Reserved for future use. Shall be 0
Number of IP multicast addresses to
allocate for EtherNet/IP
Starting multicast address from which
to begin allocation
Number of seconds of inactivity
before TCP connection is closed. 0 =
Disable, 1-3600 = timeout in seconds,
Default = 120
1.1.2.3 Ethernet Link Object
The Ethernet Link object class (Class code = 0xF6) and instance attributes are implemented as
defined by CIP Vol 2, 5-4 [2]. There is one instance of this object per switch port where
instance 1 = port 1, instance 2 = port 2, etc. As per the CIP specification, the get all service
code (0x01) will get all attributes, excluding vendor extensions. Service code (0x32) will get all
attributes, including the N-Tron vendor extensions. The following table summarizes the
attributes in the Ethernet Link object.
Id
Name
1
Interface Speed
Format
UDINT (32)
2
Interface Flags
DWORD (32)
3
Physical Address
4
Interface Counters
In Octets
In Ucast Packets
In Nucast Packets
ARRAY of 6
USINTs (8)
STRUCT of:
UDINT (32)
UDINT (32)
UDINT (32)
In Discards
UDINT (32)
In Errors
UDINT (32)
In Unknown Protos
UDINT (32)
Out Octets
Out Ucast Packets
Out Nucast Packets
Out Discards
Out Errors
UDINT (32)
UDINT (32)
UDINT (32)
UDINT (32)
UDINT (32)
N-Tron® Series 700/7000 Switch CIP™ Manual
Set
-6-
Description
Interface speed currently in use. Speed
in Mbps (e.g., 0, 10, 100, 1000, etc.)
Interface status flags Bit map of
interface flags. See section 5-4.3.2.1.
Includes Link status, duplex mode,
auto-negotiation status, etc.
MAC address of switch port.
Octets received on the interface.
Unicast packets received on the interface.
Non-unicast packets received on the
interface.
Inbound packets received on the interface
but discarded
= 0. Not available.
Inbound packets that contain errors (does
not include In Discards).
= 0. Not available.
Inbound packets with unknown protocol
Octets sent on the interface
Unicast packets sent on the interface
Non-unicast packets sent on the interface
Outbound packets discarded
= 0. Not available.
Outbound packets that contain errors
REVISED 2016-01-19
5
6
Media Counters
Alignment Errors
STRUCT of:
UDINT (32)
FCS Errors
UDINT (32)
Single Collisions
UDINT (32)
Multiple Collisions
UDINT (32)
SQE Test Errors
UDINT (32)
Deferred Transmissions
UDINT (32)
Late Collisions
UDINT (32)
Excessive Collisions
UDINT (32)
MAC Transmit Errors
UDINT (32)
Carrier Sense Errors
UDINT (32)
Frame Too Long
UDINT (32)
MAC Receive Errors
UDINT (32)
Interface Control
Control Bits
Set
STRUCT of:
WORD (16)
Forced Interface Speed
Set
UINT (16)
7
Interface Type
USINT (8)
8
Interface State
USINT (8)
9
10
Admin State
Interface Label
100
Interface Description
SHORT_STR
ING
101
Interface Utilization
USINT (8)
102
Utilization Alarm Upper Threshold
Set
USINT (8)
103
Utilization Alarm Lower Threshold
Set
USINT (8)
104
Broadcast Limit
Set
USINT (8)
105
TX Unicast Packet Rate
N-Tron® Series 700/7000 Switch CIP™ Manual
Set
USINT (8)
SHORT_STR
ING
UDINT32
-7-
Frames received that are not an integral
number of octets in length
Frames received that do not pass the FCS
check
Successfully transmitted frames which
experienced exactly one collision
Successfully transmitted frames which
experienced more than one collision
= 0. Not available.
Number of times SQE test error message
is generated
Frames for which first transmission attempt
is delayed because the medium is busy
Number of times a collision is detected
later than 512 bit times into the
transmission of a packet
Frames for which transmission fails due to
excessive collisions
= 0. Not available.
Frames for which transmission fails due to
an internal MAC sub layer transmit error
= 0. Not available.
Times that the carrier sense condition was
lost or never asserted when attempting to
transmit a frame
Frames received that exceed the maximum
permitted frame size
= 0. Not available.
Frames for which reception on an interface
fails due to an internal MAC sub layer
receive error
Interface Control Bits. Includes autonegotiation and duplex settings.
Speed at which the interface shall be
forced to operate. Speed in Mbps (10, 100,
1000, etc.)
Type of interface: twisted pair, fiber,
internal, etc
Current state of the interface: operational,
disabled, etc
Administrative state: enable, disable
Human readable identification: TX1, FX1,
GB1, etc.
Human readable description. For example:
Port 1 - 10/100 Mbit TX
Port 15 - 100 MBit FX
Percentage of entire interface bandwidth
being used (0-100).
Upper percentage at which to declare a
utilization alarm (0-100).
Lower percentage at which to declare a
utilization alarm (0-100).
Broadcast limiting percentage (0-100).
(BPCL)
Number of TX unicast packets per second.
REVISED 2016-01-19
106
107
RX Unicast Packet Rate
TX Multicast Packet Rate
UDINT32
UDINT32
108
RX Multicast Packet Rate
UDINT32
109
TX Broadcast Packet Rate
UDINT32
110
RX Broadcast Packet Rate
UDINT32
111
112
113
114
115
TX Multicast Packets
RX Multicast Packets
TX Broadcast Packets
RX Broadcast Packets
Port Role
UDINT32
UDINT32
UDINT32
UDINT32
UDINT32
Number of RX unicast packets per second.
Number of TX multicast packets per
second
Number of RX multicast packets per
second
Number of TX broadcast packets per
second.
Number of RX broadcast packets per
second.
Total number of TX multicast packets.
Total number of RX multicast packets.
Total number of TX broadcast packets.
Total number of RX broadcast packets.
Bit mask of port roles. Bits=
0 = RSTP
1 = N-Ring
2 = N-Link Control
3 = N-Link Partner
4 = N-Link Coupler
1.1.2.4 N-Tron Switch Object
The N-Tron object (Class code = 0xC0) is a vendor specific object and is implemented as
defined by CIP Vol 1, 4 [1]. There is only one instance (1) of this object. The following table
summarizes the attributes of the N-Tron object.
Id
1
2
3
Name
Device Up
Time
Port Count
Valid Ports
Set
Format
UDINT (32)
UDINT (32)
LWORD (64)
AB: DINT[2]
4
Global Admin
Status
LWORD (64)
AB: DINT[2]
5
Global Link
Status
LWORD (64)
AB: DINT[2]
6
System Faults
DWORD (32)
N-Tron® Series 700/7000 Switch CIP™ Manual
Description
Number of seconds since device was powered up.
Total port count
0 = Invalid Port, 1 = Port Exists on device
Bit 0: Port 1
Bit 1: Port 2
etc.
0 = Port Disabled, 1 = Port Enabled
Bit 0: Port 1
Bit 1: Port 2
etc.
0 = Link Down, 1 = Link Up
Bit 0: Port 1
Bit 1: Port 2
etc.
Bit 00: Power Supply 1
Bit 01: Power Supply 2
Bit 02: N-Ring Fault (complete)
Bit 03: N-Ring Partial Fault (low port)
Bit 04: N-Ring Partial Fault (high port)
Bit 05: N-Ring Multiple Managers
Bit 06: System error
Bit 07: Dongle Configuration Invalid
Bit 08: N-Link Fault
Bit 09: Boot loader version mismatch
-8-
REVISED 2016-01-19
7
IGMP Querier
Status
USINT (8)
8
9
IGMP Version
IGMP
Resource
Usage
IGMP Active
Querier
CPU Usage
Class 1
Connections
Class 3
Connections
USINT (8)
USINT (8)
10
11
12
13
14
15
Temperature
Alarm Upper
Threshold
Temperature
Alarm Lower
Threshold
UDINT (32)
USINT (8)
UINT (16)
UINT (16)
Bit 10: Port Utilization Alarm
Bit 11: Temperature Alarm
Query Status:
0 = Disabled, 1 = Active (manual), 2 = Active
(Auto), 3 = Backup (Auto) [enabled but not active].
IGMP Version (V1, V2, V3, etc).
Percent of maximum capacity. Takes into account
the number of groups used per max groups and any
other possible resource limitations (0-100).
IP of the active IGMP querier.
Percent of usage (0-100).
Number of CIP Ethernet/IP class 1 (multicast)
connections.
Number of CIP Ethernet/IP class 3 (unicast)
connections.
Set
INT (16)
Upper temperature (C) at which to declare an alarm
Set
INT (16)
Lower temperature (C) at which to declare an alarm
16
Contact Status
BYTE (8)
2 Bits per contact. 00=Not Present, 01=Open,
10=Closed.
17
Temperature_C
INT (16)
18
Temperature_F
INT (16)
Temperature in degrees C. 0x7FFF = Not Supported
on device.
Temperature in degrees F. 0x7FFF = Not Supported on
device.
19
Reset MIB
Counts
Device MAC
Address
20
Set
LWORD (64)
Reset port MIB counters. (1 bit per port to reset).
ARRAY of 6
USINTs (8)
MAC address of device
21
Device Role
UDINT (32)
Bit mask of device roles. Bits=
0 = N-Ring Manager
1 = N-Ring Member
2 = N-Ring AutoDetect
3 = N-Link Master
4 = N-Link Slave
5 = N-Link Coupler
22
Config Device
Status
BYTE (8)
0 = Not Supported, 1 = Not Present, 2 = Present
23
System
Configuration
UDINT32
Bit mask of system config. Bits=
Bit 0: GET: Changes have been made that have not
been saved.
SET: Save system configuration to flash.
Bit 1: GET: Changes have been made that require a
reboot to take effect.
SET: Shutdown and reboot device
Note: SET feature will be removed in a future
release.
Set
N-Tron® Series 700/7000 Switch CIP™ Manual
-9-
REVISED 2016-01-19
24
System
Firmware
Version String
SHORT_STR
ING
Human readable representation of firmware version
string.
25
System Boot
Loader
Version String
SHORT_STR
ING
Human readable representation of boot loader
version string.
26
System Fault
String
STRINGI
Human readable representation of error status.
May contain multiple errors. Length is contained
as part of the STRINGI data type.
N-Tron® Series 700/7000 Switch CIP™ Manual
-10-
REVISED 2016-01-19
1.1.2.5 CIP Services
The table following is a summary of the supported services as defined by CIP Vol 1, Appendix
A: Explicit Messaging Services [1].
Service
Code
1
5
Get_Attributes_All
Reset
14
16
Get_Attribute_Single
Set_Attribute_Single
Vendor
Specific
50
Object
Specific
76
Service Description
Get_All_Attributes –
including vendor
defined attributes
Identity
TCP/IP
yes
yes
Yes – reset switch
or restore factory
configuration
yes
yes
Attributes 15,17
Attributes
3,5
yes
Ethernet
Link
yes
N-Tron
yes
Attributes
6,9, 102104
yes
yes
Attributes
Attributes
14,15,19,23 6,7,10
yes
yes
Get_And_Clear
Attributes
4,5
1.1.3 Accessing Data
1.1.3.1 Explicit Messaging
Explicit messaging refers to a request/response form of communications over a CIP (TCP/IP)
connection. Applications can use explicit messaging, for example, to invoke the “Get All
Attributes” service and read all attributes of the Identity object.
1.1.3.2 I/O Connections
I/O connections are used to send data (grouped in assemblies) between devices
periodically. The interval between sends is the “Requested Packet Interval”, or RPI.
The N-Tron switch assemblies (Input, Output, and Configuration) are defined in the
following table.
N-Tron switch
Input (to switch)*
Output (from switch)
Configuration*
* - not currently used
N-Tron® Series 700/7000 Switch CIP™ Manual
Assembly Number
101
102
103
-11-
Size (bytes)
4
104
0
Vendor
Object 1
yes
yes
REVISED 2016-01-19
In an RSLogix 5000 environment, these assemblies are configured in the “Connection
Parameters” panel of the Generic Ethernet Module. (Note that input and output
assemblies are reversed.) More information is contained in the section for Add-On
Instruction installation.
N-Tron® Series 700/7000 Switch CIP™ Manual
-12-
REVISED 2016-01-19
2. Rockwell RSLogix 5000 – AOI
2.1 Material Prerequisites
•
•
N-Tron® series switch
RSLogix Add-On Instructions (AOI)
2.2 Installation Instructions
2.2.1 Software Installation Prerequisites
1. RSLogix 5000 version 17 or later
2. N-Tron switch with firmware version that includes CIP™ support
2.2.2 Summary of Installation Steps
1. Import the Add-On Instruction (AOI)
2. Add your N-Tron switch to the I/O Configuration tree
3. Add an instance of the AOI in your application
4. Create and configure tags for the AOI
2.3 Configuration of RSLogix Project
Extract all files from the zip file to your desktop or destination folder.
2.3.1 Importing an Add-On Instruction
1. Open an RSLogix project.
2. Import the N-Tron Add-On Instruction (AOI).
3. In the controller organizer window, right click “Add-On Instructions” folder, select
“Import Add-On Instruction” and browse to the folder containing AOI_NTRON_*.L5X
files. Import an AOI for each switch type installed.
.
N-Tron® Series 700/7000 Switch CIP™ Manual
-13-
REVISED 2016-01-19
4. The Add-On Instruction tree showing AOIs for 708FX2, 708TX, and several auxiliary
AOIs.
2.3.2 Add a Generic Ethernet Module to the I/O Configuration.
The Generic Ethernet Module is located under the “Communications” group:
N-Tron® Series 700/7000 Switch CIP™ Manual
-14-
REVISED 2016-01-19
Configure the module as shown. Use the proper IP address and connection parameters for your
installation.
1. Click the Connection tab and set the desired RPI. The input assembly will be received
from the switch at the selected RPI.
N-Tron® Series 700/7000 Switch CIP™ Manual
-15-
REVISED 2016-01-19
2. Click OK The new module will appear in the I/O Configuration tree:
2.3.3 Add an Instance of the AOI in Your Application
Create a new rung in the MainRoutine and add the AOI for your specific switch to the rung.
N-Tron® Series 700/7000 Switch CIP™ Manual
-16-
REVISED 2016-01-19
The following will appear:
2.3.4 Create and Configure Tags for the AOI
Add tag names for the various fields. For example:
1. Right click on each new tag name and create each tag.
Note: The tags for Switch_Inputs and Switch_Outputs, shown in the rectangle above, were
created when the Generic Ethernet Module was added.
For example:
N-Tron® Series 700/7000 Switch CIP™ Manual
-17-
REVISED 2016-01-19
2. Click the button to the right of the “Get_Message” tag and configure as shown:
N-Tron® Series 700/7000 Switch CIP™ Manual
-18-
REVISED 2016-01-19
3. Click the button to the right of the “Get_Message_Extended” tag and configure as shown:
N-Tron® Series 700/7000 Switch CIP™ Manual
-19-
REVISED 2016-01-19
4. Click the button to the right of the “Set_Message” tag and configure as shown:
2.3.5 Verify the New RSLogix Configuration
1. Verify your changes by clicking Logic > Verify > Controller.
2. If there are no warnings or errors, the RSLogix configuration is complete.
N-Tron® Series 700/7000 Switch CIP™ Manual
-20-
REVISED 2016-01-19
2.4 Input_Assembly Parameter
Some data comes from the switch at the RPI (requested packet interval) set for the Generic
Ethernet Module. The data is available in tags like these below (a mapping of the Switch_Inputs
data):
These tags represent a switch specific (708FX2) view of the assembly data.
N-Tron® Series 700/7000 Switch CIP™ Manual
-21-
REVISED 2016-01-19
2.5 Switch_Parameters Parameter
The AOI requests additional information from the switch as needed by a faceplate display (and
when started). This includes the CIP Identity object, the CIP TCP/IP object, an instance of the
CIP Ethernet Link object, and the NTRON Switch object.
The following RSLogix 5000 screenshot shows a top level view of some of the AOI
“Switch_Parameters” structure:
N228Params.Generic_Inputs is a generic view of the assembly data from a switch.
2.6 Explicit Messaging Options
To direct the AOI to gather this information (via explicit messaging) for other purposes
(example: not using faceplates), use the following members of the N228Params.Control tag:
Name
Data Type
Selected_Port
INT
Request_Data
BOOL
Read_Port_Mask
DINT
Explicit_Messaging_Timer
_Reset
DINT
Description
Use this member to read Ethernet Link object for one port. To
read more than one port, use Read_Port_Mask. Set by the
faceplate. Port data is copied to the
UDT_NTRON_CIP_DATA_v0 data type.
0 - explicit messaging is disabled; 1 - explicit messaging is
enabled
Set bit n to read ethernet link object for port n+1
Used to control time between each MSG call to read CIP
Identity object, TCPIP object, N-TRON object, and selected
Ethernet Link objects. Minimum is 200 ms. Default is 1000
ms.
Sample ladder logic rungs are available that show how to control explicit messaging.
2.7 Troubleshooting
Module Fault (Code 16#0315) Connection Request Error: Invalid segment type.
This error occurs when the assembly information specified for the Generic Ethernet Module does
not match the assembly information on the N-Tron switch.
N-Tron® Series 700/7000 Switch CIP™ Manual
-22-
REVISED 2016-01-19
2.8 Sample Project
A sample project is included in the CIP_Installation_Kit_1_7_0.zip file. It is named
NTRON_Demo.ACD.
To use the sample project, you may need to change the controller type used in your environment,
and you will need to setup the Project path.
If you have any suggestions for improving the AOI or the installation instructions, please send
them to [email protected] with subject “RSLogix5000 AOI”.
N-Tron® Series 700/7000 Switch CIP™ Manual
-23-
REVISED 2016-01-19
3. Rockwell RSLogix 5000 – Tag Reference
The assembly data received from an N-Tron® series switch can be viewed with generic tags or
switch specific tags.
Generic tags are defined by the data type UDT_NTRON_Switch_In_v0. Switch specific tags are
defined by a switch specific data type.
Switch
7018FX2
7018TX
708FX2
708M12
708TX
716FX2
716TX
7506GX2
711FX3
7010TX
709FX
710FX2
714FX6
712FX4
7012FX2
7026TX
7900
716M12
Data Type
UDT_NTRON_Switch_7018FX2_In_v0
UDT_NTRON_Switch_7018TX_In_v0
UDT_NTRON_Switch_708FX2_In_v0
UDT_NTRON_Switch_708M12_In_v0
UDT_NTRON_Switch_708TX_In_v0
UDT_NTRON_Switch_716FX2_In_v0
UDT_NTRON_Switch_716TX_In_v0
UDT_NTRON_Switch_7506GX2_In_v0
UDT_NTRON_Switch_711FX3_In_v0
UDT_NTRON_Switch_7010TX_In_v0
UDT_NTRON_Switch_709FX_In_v0
UDT_NTRON_Switch_710FX2_In_v0
UDT_NTRON_Switch_714FX6_In_v0
UDT_NTRON_Switch_712FX4_In_v0
UDT_NTRON_Switch_7012FX2_In_v0
UDT_NTRON_Switch_7026TX_In_v0
UDT_NTRON_Switch_7900_In_v0
UDT_NTRON_Switch_716M12_In_v0
The following sections present some of the tag descriptions:
N-Tron® Series 700/7000 Switch CIP™ Manual
-24-
REVISED 2016-01-19
3.1 Generic Assembly Tags
Data Type: UDT_NTRON_Switch_In_v0
Generic view of assembly data received from an N-Tron Switch.
Name
Data Type
Description
System_Faults
UDT_NT
RON_Syst
em_Faults
_NT24k_v 0
Status of various system faults
Admin_Status
DINT
Admin Status of first 32 ports. Also available as port
specific tags
BOOL
1=enabled, 0=disabled
DINT
Admin Status of second 32 ports. Also available as
port specific tags
BOOL
1=enabled, 0=disabled
DINT
Link Status of first 32 ports. Also available as port
specific tags
BOOL
1=active, 0=inactive
DINT
Link Status of second 32 ports. Also available as port
specific tags
Admin_Status_1
Admin_Status2
Admin_Status_33
Link_Status
Link_Status_1
Link_Status2
N-Tron® Series 700/7000 Switch CIP™ Manual
-25-
REVISED 2016-01-19
Name
Data Type
Description
Link_Status_33
Link_Status_34
Link_Status_35
…
BOOL
1=active, 0=inactive
DINT
Bandwidth utilization alarms for first 32 ports. Also
available as port specific tags
Link_Status_62
Link_Status_63
Link_Status_64
Utilization_Alarm
Utilization_Alarm_1
Utilization_Alarm_2
Utilization_Alarm_3
…
BOOL
1=bandwidth utilization exceeds a high or low limit,
0=bandwidth utilization within limits
Utilization_Alarm_30
Utilization_Alarm_31
Utilization_Alarm_32
Utilization_Alarm2
DINT
Utilization_Alarm_33
Bandwidth utilization alarms for second 32 ports. Also
available as port specific tags
1=bandwidth utilization exceeds a high or low limit,
0=bandwidth utilization within limits
Utilization_Alarm_34
Utilization_Alarm_35
…
BOOL
Utilization_Alarm_62
Utilization_Alarm_63
Utilization_Alarm_64
Class1_Connections
INT
Number of CIP EtherNet/IP class 1 (multicast)
connections
Class3_Connections
INT
Number of CIP EtherNet/IP class 3 (unicast)
connections
Temperature_C
INT
Temperature in degrees Celsius. 0x7FFF = Not
supported on device.
Temperature_F
INT
Temperature in degrees Fahrenheit. 0x7FFF = Not
supported on device
CPU_Utilization
SINT
Percent of CPU usage, 0-100
Contact_Status
SINT
2 Bits per contact. 00=Not Present, 01=Open,
10=Closed
N-Tron® Series 700/7000 Switch CIP™ Manual
-26-
REVISED 2016-01-19
Name
Data Type
Description
Utilization_1
Utilization_2
Utilization_3
…
SINT
Bandwidth utilization in percent
Utilization_62
Utilization_63
Utilization_64
Update_Counter
INT
3.2 7506GX2 Assembly Tags
Data Type: UDT_NTRON_Switch_7506GX2_In_v0
Specific view of assembly data received from an N-Tron 7506GX2 Switch.
Name
System_Faults
Data Type
UDT_NTRON_
System_Faults_
v0
Admin_Status
DINT
Status of various system faults.
Admin_Status of first 32 ports. Also
available as port specific tags.
Admin_Status_T1
BOOL
1=enabled, 0=disabled
Admin_Status_T2
BOOL
Admin_Status_T3
BOOL
Admin_Status_T4
BOOL
Admin_Status_GB1
BOOL
Admin_Status_GB2
BOOL
Link_Status
DINT
Link_Status of first 32 ports. Also
available as port specific tags.
Link_Status_T1
BOOL
1=active, 0=inactive
Link_Status_T2
BOOL
Link_Status_T3
BOOL
Link_Status_T4
BOOL
Link_Status_GB1
BOOL
Link_Status_GB2
BOOL
Utilization_Alarm
DINT
N-Tron® Series 700/7000 Switch CIP™ Manual
Description
Bandwidth utilization alarms for first 32
ports. Also available as port specific tags
-27-
REVISED 2016-01-19
1=bandwidth utilization exceeds a high
or low limit, 0=bandwidth utilization
within limits
Utilization_Alarm_T1
BOOL
Utilization_Alarm_T2
BOOL
Utilization_Alarm_T3
BOOL
Utilization_Alarm_T4
Utilization_Alarm_G
B1
Utilization_Alarm_G
B2
BOOL
Class1_Connections
INT
Class3_Connections
INT
Temperature_C
INT
Temperature_F
INT
CPU_Utilization
SINT
Contact_Status
SINT
Percent of CPU usage, 0-100
2 Bits per contact. 00=Not Present,
01=Open, 10=Closed.
Utilization_T1
SINT
bandwidth utilization in percent
Utilization_T2
SINT
Utilization_T3
SINT
Utilization_T4
SINT
Utilization_GB1
SINT
Utilization_GB2
SINT
BOOL
BOOL
Number of CIP Ethernet/IP class 1
(multicast) connections
Number of CIP Ethernet/IP class 3
(unicast) connections
Temperature in degrees Celsius. 0x7FFF
= Not supported on device.
Temperature in degrees Fahrenheit.
0x7FFF = Not supported on device.
3.3 System Fault Tags
Data
Type
Name
Description
Faults
DINT
Power_Supply_1
BOOL
1=Indicates a low voltage on power supply V1
Power_Supply_2
BOOL
NRing_Full
BOOL
NRing_Part_Low
BOOL
1=Indicates a low voltage on power supply V2
1=Indicates that an N-Ring connection is
completely broken.
1=Indicates that an N-Ring connection is only
broken in one direction. The lower N-Ring port
is not receiving self health frames around the
N-Tron® Series 700/7000 Switch CIP™ Manual
-28-
REVISED 2016-01-19
N-Ring but the higher N-Ring port is.
NRing_Part_High
NRing_Multiple_Man
agers
BOOL
System
BOOL
Config_Device
BOOL
NLink
BOOL
Boot_Loader_Version
BOOL
Port_Utilization
BOOL
Temperature
BOOL
BOOL
N-Tron® Series 700/7000 Switch CIP™ Manual
1=Indicates that an N-Ring connection is only
broken in one direction. The higher N-Ring
port is not receiving self health frames around
the N-Ring but the lower N-Ring port is.
1=Indicates that more than one N-Ring
Manager exists on an N-Ring.
1=Indicates a system fault.
1=Indicates a problem with the configuration
device.
1=Indicates that the N-Link Master or Slave
encountered a problem.
1=Indicates a problem with the version of the
boot loader firmware.
1=Indicates one or more ports have exceeded a
high or low bandwidth utilization limit.
1=Indicates the switch temperature has
exceeded a high or low temperature limit.
-29-
REVISED 2016-01-19
3.4 CIP Tags
There are tags for each CIP object. The tags correspond to the object’s attributes.
•
•
•
•
Identity object
TCP/IP Interface object
Ethernet Link object
N-Tron® switch object
3.4.1 Identity Object
Data Type: UDT_NTRON_CIP_Identity_v0
Name
Data Type
Description
Vendor_ID
INT
ODVA Vendor ID. N-Tron = 1006
Device_Type
INT
Product_Code
INT
Major_Revision
SINT
Minor_Revision
SINT
0x0C. Communications Adapter
708TX=701, 708FX2=703, 716TX=705,
716FX2=706, 7018TX=708,
7018FX2=709, 708M12=710,
711FX3=711, 7010TX=713, 709FX=714,
710FX2=715, 714FX6=717, 712FX4=718,
7012FX2 =719, 7026TX= 720, 7900= 722,
716M12=723, 7506GX2=7506
Major revision of the item the Identity
Object represents
Minor revision of the item the Identity
Object represents
Status
INT
Summary status of device
Serial_Number
DINT
Product_Name
STRING
UDT_NTRO
N_String1024
UDT_NTRO
N_String1024
Serial number of device
Human readable identification. Switch
model number. Ex: N-Tron 7018FX2
Assigned_Name
Geographic_Location
User assigned switch name.
This is the user assigned switch location.
3.4.2 TCPIP Object
Data Type: UDT_NTRON_CIP_TCPIP_Interface_v0
Name
Data
Type
Description
Status
DINT
Interface status
Configuration_Capability
DINT
Interface capability flags
N-Tron® Series 700/7000 Switch CIP™ Manual
-30-
REVISED 2016-01-19
Configuration_Control
DINT
Interface control flags
Path_Size
INT
Object_Path_1
INT
Object_Path_2
INT
Size of Path
Logical segments identifying the physical
link object
Logical segments identifying the physical
link object
IP_Address
DINT
The device’s IP address.
Network_Mask
DINT
The device’s network mask
Gateway_Address
DINT
Default gateway address
Name_Server_1
DINT
Primary name server
Name_Server_2
DINT
Secondary name server
Domain_Name
STRING
Default domain name
Host_Name
STRING
Host name
3.4.3 Ethernet Link Object
Data Type: UDT_NTRON_CIP_Ethernet_Link_v0
Name
Interface_Speed
Data Type
Description
Interface speed currently in use. Speed
in Mbps (e.g., 0, 10, 100, 1000, etc.)
Interface_Flags
DINT
UDT_NTR
ON_CIP_I
nterface_Fl
ags_v0
Interface status flags
Physical_Address
SINT[6]
MAC layer address
InOctets
DINT
InUcastPackets
DINT
InNucastPackets
DINT
InDiscards
DINT
InErrors
DINT
InUnknownProtos
DINT
Octets received on the interface
Unicast packets received on the
interface
Non-unicast packets received on the
interface
Inbound packets received on the
interface but discarded
Inbound packets that contain errors
(does not include In Discards)
Inbound packets with unknown
protocol
OutOctets
DINT
Octets sent on the interface
OutUcastPackets
DINT
OutNucastPackets
DINT
Unicast packets sent on the interface
Non-unicast packets sent on the
interface
N-Tron® Series 700/7000 Switch CIP™ Manual
-31-
REVISED 2016-01-19
OutDiscards
DINT
Outbound packets discarded
OutErrors
DINT
Alignment_Errors
DINT
FCS_Errors
DINT
Single_Collisions
DINT
Multiple_Collisions
DINT
SQE_Test_Errors
DINT
Deferred_Transmissions
DINT
Late_Collisions
DINT
Excessive_Collisions
DINT
MAC_Transmit_Errors
DINT
Carrier_Sense_Errors
DINT
Frame_Too_Long
DINT
MAC_Receive_Errors
DINT
Control_Bits
INT
Forced_Interface_Speed
INT
Outbound packets that contain errors
Frames received that are not an integral
number of octets in length
Frames received that do not pass the
FCS check
Successfully transmitted frames which
experienced exactly one collision
Successfully transmitted frames which
experienced more than one collision
Number of times SQE test error
message is generated
Frames for which first transmission
attempt is delayed because the medium
is busy
Number of times a collision is detected
later than 512 bit- times into the
transmission of a packet
Frames for which transmission fails due
to excessive collisions
Frames for which transmission fails due
to an internal MAC sub layer transmit
error
Times that the carrier sense condition
was lost or never asserted when
attempting to transmit a frame
Frames received that exceed the
maximum permitted frame size
Frames for which reception on an
interface fails due to an internal MAC
sub layer receive error
0 Auto-negotiate 0 indicates 802.3 link
auto-negotiation is disabled. 1 indicates
auto-negotiation is enabled. If autonegotiation is disabled, then the device
shall use the settings indicated by the
Forced Duplex Mode and Forced
Interface Speed bits; 1 Forced Duplex
Mode If the Auto-negotiate bit is 0, the
Forced Duplex Mode bit indicates
whether the interface shall operate in
full or half duplex mode. 0 indicates the
interface duplex should be half duplex.
1 indicates the interface duplex
Speed at which the interface shall be
forced to operate. Speed in Mbps (10,
100, 1000, etc.)
N-Tron® Series 700/7000 Switch CIP™ Manual
-32-
REVISED 2016-01-19
Interface_Type
SINT
Interface_State
SINT
0-unknown, 1-internal, 2-twisted pair, 3optical
0-unknown, 1-enabled and ready, 2disabled, 3-testing
Admin_State
SINT
1=enabled, 0=disabled
Interface_Label
STRING
Interface_Description
STRING
Broadcast_Limit
SINT
TX_Unicast_Packet_Rate
DINT
RX_Unicast_Packet_Rate
DINT
TX_Multicast_Packet_Rate
DINT
RX_Multicast_Packet_Rate
DINT
TX_Broadcast_Packet_Rate
DINT
RX_Broadcast_Packet_Rate
DINT
Label like "TX5"
Something like: Port 1 - 10/100 Mbit
TX Port 15 - 100 MBit FX
Percentage of entire interface bandwidth
being used (0-100)
Upper percentage at which to declare a
utilization alarm (0-100).
Lower percentage at which to declare a
utilization alarm (0-100).
Broadcast limiting percentage (0-100).
(BPCL)
Number of TX unicast packets per
second.
Number of RX unicast packets per
second.
Number of TX multicast packets per
second
Number of RX multicast packets per
second
Number of TX broadcast packets per
second.
Number of RX broadcast packets per
second
TX_Multicast_Packets
DINT
Total number of TX multicast packets.
RX_Multicast_Packets
DINT
Total number of RX multicast packets.
TX_Broadcast_Packets
DINT
Total number of TX broadcast packets.
RX_Broadcast_Packets
DINT
Port_Role
DINT
Total number of RX broadcast packets.
Bit 0 = RSTP 1 = N-Ring 2 = N-Link
Control 3 = N-Link Partner 4 = N-Link
Coupler
Interface_Utilization
SINT
Utilization_Alarm_Upper_Thres
hold
SINT
Utilization_Alarm_Lower_Thre
shold
SINT
N-Tron® Series 700/7000 Switch CIP™ Manual
-33-
REVISED 2016-01-19
3.4.4 N-Tron Switch Object
Data Type: UDT_NTRON_CIP_Switch_v0
Name
Data Type
Description
Device_Uptime
DINT
Number of seconds since device was powered up.
Port_Count
DINT
Valid_Ports
DINT[2]
Global_Admin_Status
DINT[2]
Total port count
0 = Invalid port, 1 = Port exists on device Bit 0:
Port 1 Bit 1: Port 2 etc.
0 = Port disabled, 1 = Port enabled Bit n: Port
n+1
Global_Link_Status
DINT[2]
System_Faults
UDT_NTR
ON_System
_Faults_v0
IGMP_Querier_Status
SINT
IGMP_Version
SINT
IGMP_Resource_Usage
SINT
IGMP Version (V1, V2, V3, etc).
Percent of maximum capacity. Takes into
account the number of groups used per max
groups and any other possible resource
limitations.
IGMP_Active_Querier
DINT
IP of the active IGMP querier.
CPU_Usage
SINT
Class1_Connections
INT
Percent usage
Number of CIP Ethernet/IP class 1 (multicast)
connections.
Number of CIP Ethernet/IP class 3 (unicast)
connections.
Upper temperature (C) at which to declare an
alarm
Lower temperature (C) at which to declare an
alarm
2 Bits per contact. 00=Not Present, 01=Open,
10=Closed.
Temperature in degrees C. Only available on
devices that support temperature.
Temperature in degrees F. Only available on
devices that support temperature.
Class3_Connections
INT
Temperature_Alarm_Upp
er_Threshold
INT
Temperature_Alarm_Lo
wer_Threshold
INT
Contact_Status
SINT
Temperature_C
INT
Temperature_F
INT
N-Tron® Series 700/7000 Switch CIP™ Manual
0 = Link down, 1 = Link up Bit n: Port n+1
Bit 00: Power Supply 1 Bit 01: Power Supply 2
Bit 02: N-Ring Fault (complete) Bit 03: N-Ring
Partial Fault (low port) Bit 04: N-Ring Partial
Fault (high port) Bit 05: N-Ring Multiple
Managers Bit 06: System error Bit 07: Dongle
Configuration Invalid Bit 08: N-Link Fault Bit
09: Boot loader version mismatch Bit 10: Port
Utilization Alarm Bit 11: Temperature Alarm
Query Status: 0 = Disabled, 1 = Active (manual),
2 = Active (Auto), 3 = Backup (Auto) [enabled
but not active].
-34-
REVISED 2016-01-19
Reset_MIB_Counts
DINT[2]
Reset port MIB counters. (1 bit per port to reset).
Device_MAC_Address
SINT[6]
Device_Role
DINT
MAC address of device
Bit mask of device roles. Bits= 0 = N-Ring
Manager 1 = N-Ring Member 2 = N-Ring
AutoDetect 3 = N-Link Master 4 = N-Link
Slave 5 = N-Link Coupler
Config_Device_Status
SINT
System_Configuration
DINT
System_Firmware_Versi
on_String
STRING
System_Boot_Loader_Ve
rsion_String
STRING
UDT_NTR
ON_String1
System_Fault_String
024
N-Tron® Series 700/7000 Switch CIP™ Manual
0 = Not Supported, 1 = Not Present, 2 = Present
Bit mask of system config. Bits= 0 = Save
system configuration to flash 1 = Shutdown and
reboot device
Human readable representation of firmware
version string.
Human readable representation of boot loader
version string.
Human readable representation of error status.
May contain multiple errors. Length is contained
as part of the STRINGI data type.
-35-
REVISED 2016-01-19
4. Rockwell Automation® FactoryTalk® - Faceplate Installation
4.1 Material Prerequisites
•
•
N-Tron® 700-series switch
FactoryTalk View ME/SE Faceplate Displays
4.2 Installation Instructions
4.2.1 Software Installation Prerequisites
•
•
FactoryTalk View Studio – ME/SE version 5 or later
N-Tron series switch with firmware version 3 or later
4.2.2 Summary of Faceplate Installation Steps
1. Create shortcut to PLC
2. Add global objects to your project
3. Add local messages
4. Add images
5. Import HMI tags
6. Create faceplate display
7. Configure display startup macro
8. Configure display parameter file
9. Optionally add composite switch image to display
10. Optionally add specific switch image to display
In the instructions below, “ME” refers to FactoryTalk View ME (Machine Edition) and “SE”
refers to FactoryTalk View SE (Site Edition).
4.3 Configuration of FactoryTalk View Faceplate Displays
Extract all files from the zip file to your desktop or some other folder.
Start with an existing FactoryTalk View ME/SE application.
4.3.1 Configure a Shortcut to the PLC Running the NTRON AOI.
1. Double click Communications Setup.
N-Tron® Series 700/7000 Switch CIP™ Manual
-36-
REVISED 2016-01-19
2. In the following screenshot, the shortcut is named PLC.
3. Click the “Yes” button and if ME, click the “Copy from Design to Runtime” button.
4.3.2 Import Graphics into your Project
1. Right-click on Global in the Graphics folder and select Import and Export from the pop
up.
2. Click on the radio button as shown and click Next.
N-Tron® Series 700/7000 Switch CIP™ Manual
-37-
REVISED 2016-01-19
3. Click on the desired radio button as shown and click Next.:
4. Click on the desired option radio button as shown and click Next.
5. The following dialog screen should appear.
N-Tron® Series 700/7000 Switch CIP™ Manual
-38-
REVISED 2016-01-19
6. For SE, use the FactoryTalk_View_SE folder in the above dialog.
7. The following global objects should appear in the Explorer window:
4.3.3 Import Local Messages
1. Select the folder (FactoryTalk_View_ME\Display_export\local) containing the local
message files (.loc). Import all N-Tron*.loc files.
N-Tron® Series 700/7000 Switch CIP™ Manual
-39-
REVISED 2016-01-19
.
2. The Explorer window should show these files:
4.3.4 Import Images
1. Select the folder (FactoryTalk_View_ME\Display_export\Install\images) containing the
image files (.bmp). Import all NTRON*.bmp files.
2. The Explorer window should show several new files:
N-Tron® Series 700/7000 Switch CIP™ Manual
-40-
REVISED 2016-01-19
4.3.5 Import Tags
Import tags using the Tag Import and Export Wizard.
1. Select the NTRON-Tags.CSV to
import(FactoryTalk_View_ME\Display_export\Install\tags).
2. The result should be these tags:
4.3.6 Access Faceplate Displays
To access the faceplate displays, create a display using the global object NTRON_Display. (File
> New > Display.
1. Select all objects in the NTRON_Display global object and paste them into the new
display. Save the new display.)
2. Configure a macro for opening your display. Here is the ME form for this example:
Tag from screenshot: {[PLC]N228Params.Control.HMI[0].Display_Mode}
3. Here is the SE form displayed
Tag from screenshot: &{[PLC]N228Params.Control.HMI[0].Display_Mode} = 1;
Note: In the macro definition (and later in the parameter file), the shortcut “PLC” was
created earlier. The other important piece is “N228Params”, which is the name of the
Switch_Parameters tag created for the NTRON_SWITCH AOI in your RSLogix project.
Example:
N-Tron® Series 700/7000 Switch CIP™ Manual
-41-
REVISED 2016-01-19
4. In the Display Settings for the NTRON_Display (open the NTRON_Display display, Edit
> Display Settings)
5. Click the Behavior panel and assign the newly created macro as the startup macro.
6. Click the General tab and change Display Type and Size.
7. Here is the ME form displayed:
N-Tron® Series 700/7000 Switch CIP™ Manual
-42-
REVISED 2016-01-19
N-Tron® Series 700/7000 Switch CIP™ Manual
-43-
REVISED 2016-01-19
8. Here is the SE form displayed:
4.3.7 Configure Display Parameters
1. On the display where you wish to show the faceplate, create a Goto Display button.
2. Create a parameter file that will be associated with the button.
N-Tron® Series 700/7000 Switch CIP™ Manual
-44-
REVISED 2016-01-19
3. Substitute your shortcut for “PLC” and the name of your Switch_Parameters for
N228Params, in the parameter file.
4. Assign a display and parameter file to the Goto Display button.
5. Here is the ME form displayed:
6. Here is the SE form displayed:
N-Tron® Series 700/7000 Switch CIP™ Manual
-45-
REVISED 2016-01-19
4.3.8 Optionally Add Composite Switch Image to Display
You can also display an image of an NTRON switch using the global object NTRON_graphic.
When used, define Global Object Parameter #1 as follows:
4.3.9 Optionally Add Specific Switch Image to Display
The NTRON_graphic global object is a composite of several N-Tron switches. Due to the
number of switches, and the tags used for each switch, you may run into the limit for maximum
tags allowed on a display.
N-Tron® Series 700/7000 Switch CIP™ Manual
-46-
REVISED 2016-01-19
To work around this limitation, use individual global objects for each switch.
1. Import individual global objects using the BatchImport_Global_NTRON_Switches.xml
import file.
The global object names contain the switch name, such as NTRON_708TX.
2. Setup Global Object Parameter #1 as described for the NTRON_graphic object.
3. For more information on the displays, including screen shots, see the Faceplate Quick
Reference.
4.3.10 FactoryTalk View SE Client Setup
N-Tron® Series 700/7000 Switch CIP™ Manual
-47-
REVISED 2016-01-19
4.4 Sample Project
To view a sample project refer to the ME or SE sample project archive named
NTRON_demo.apa.
If you have any suggestions for improving the faceplate’s or the installation instructions, please
send them to [email protected] with subject “FactoryTalk Faceplates”.
N-Tron® Series 700/7000 Switch CIP™ Manual
-48-
REVISED 2016-01-19
5. Rockwell Faceplate Quick Reference Guide
5.1 Introduction
The Faceplates consists of several displays:
• Home
• Diagnostics
• Settings, and
• Alarm
Click the buttons at the top of the screen to navigate between the displays.
The “?” button is used to toggle the display of help text, and the “X” button is used to exit the
Faceplate’s.
The caption at the top of the screen includes the switch product name and the user assigned
switch name, separated by a colon.
N-Tron® Series 700/7000 Switch CIP™ Manual
-49-
REVISED 2016-01-19
5.2 Home Display
The Home Display shows general switch information. The trend shows CPU utilization.
Some fields show simple values, such as IP Address. Other fields, such as Device Role, show
values that depend on the switch configuration. Fields that do not apply to a specific switch
model will be hidden.
The following table describes the Home Display fields and values.
Field
IP Address
Subnet Mask
MAC Address
Software Version
Power Input
Contact Status
Values
Like 192.168.1.201
Like 255.255.255.0
Like 00:07:AF:FE:8F:A0
Like 3.0.2
V1
V2
V1 and V2
Unknown
AC/DC Power
Not Supported
N-Tron® Series 700/7000 Switch CIP™ Manual
Description
Switch IP address
Switch subnet mask
MAC address of switch
Software version of switch
V1 – Power Supply 1
V2 – Power Supply 2
The status of the contact on the
-50-
REVISED 2016-01-19
N-Ring Status
IGMP Querier
IGMP Utilization
Config Device
Role
CPU Utilization
CPU Trend
Open
Closed
Fault
Partial-Low
Partial-High
Multiple-Managers
OK
N/A (if N-Ring auto-member, or N-Ring
disabled)
Unknown (if N-Ring member)
Disabled
Active-Manual
Active-Auto
Backup-Auto
Unknown
0-100 percent
Not Supported
Not Present
Present
Unknown
N-Ring Manager
N-Ring Member
N-Ring AutoMember
N-Link Master
N-Ring Mem, N-Link Master
N-Ring Auto, N-Link Master
N-Link Slave
N-Ring Mem, N-Link Slave
N-Ring Auto, N-Link Slave
N-Link Coupler
N-Ring Mem, N-Link Coupler
N-Ring Auto, N-Link Coupler
Unknown
0-100 percent
0-100 percent
switch.
The N-Ring status, if the switch is
configured as an N-Ring manager.
Internet Group Management
Protocol Querier status
Internet Group Management
Protocol Utilization
This field is displayed for
switches that support a
configuration device.
The role of the switch, which is
based on the switch configuration.
CPU utilization percentage
Trend of CPU utilization
The color of each port, on the switch image, changes based on the port state as described in the
following table.
Port Color
Port State
Active
The port is active
Inactive
The port is inactive
Disabled
The port is administratively disabled
Error
A port utilization limit, high or low, has been exceeded
N-Tron® Series 700/7000 Switch CIP™ Manual
-51-
REVISED 2016-01-19
The LED at the top of the switch graphic will be green if there are no faults, red if a fault has
occurred. Faults can be viewed on the alarms display.
N-Tron® Series 700/7000 Switch CIP™ Manual
-52-
REVISED 2016-01-19
5.3 Diagnostics Display
The diagnostics display shows information for a selected switch port. Use the buttons at the
bottom to select a switch port and use the buttons at the left to select a port variable to trend. The
highlighted variable is trended at the bottom.
The following table describes Diagnostic Display fields and values.
Field
Link Up
Speed/Duplex
Admin Enabled
Values
Description
Yes
No
10/Full
100/Full
1000/Full
10/Half
100/Half
1000/Half
Unknown
Current link state
Yes
No
This configurable field displays the existing status of the
port whether it is Enabled/Disabled
N-Tron® Series 700/7000 Switch CIP™ Manual
This configurable field displays the current speed and
mode of the port
-53-
REVISED 2016-01-19
Port Role
RSTP
N-Ring
N-Link Control
N-Link Partner
RSTP, N-Link Partner
N-Ring, N-Link Partner
N-Link Coupler
RSTP, N-Link Coupler
The role of the port, which is based on the switch
configuration. Some combinations are possible. For more
details, see the user manual for the 700 switch family.
Bandwidth Utilization
RX Broadcast FPS
TX Broadcast FPS
RX Multicast FPS
TX Multicast FPS
RX Unicast FPS
TX Unicast FPS
Port Errors
0-100 percent
Bandwidth utilization displayed as a percentage
The frames per second rate of received broadcast frames
The frames per second rate of transmitted broadcast frames
The frames per second rate of received multicast frames
The frames per second rate of transmitted multicast frames
The frames per second rate of received unicast frames
The frames per second rate of transmitted unicast frames
The sum of alignment errors, FCS errors, SQE Test errors,
excessive collisions, MAC transmit errors, carrier sense
errors, frame too long, and MAC receive errors
N-Tron® Series 700/7000 Switch CIP™ Manual
-54-
REVISED 2016-01-19
5.4 Settings Display
The settings display allows some switch port related settings to be changed.
Use the buttons at the bottom to select a switch port and use the buttons at the left to select a port
setting to change. Use the wide up/down buttons toward the bottom to select a value, and the
Enter button to accept the change.
The following table describes the Settings Display fields and values.
Field
Speed/Duplex
Admin Enabled
Value
10/Full
100/Full
1000/Full
10/Half
100/Half
Unknown
Yes
No
N-Tron® Series 700/7000 Switch CIP™ Manual
Description
This configurable field displays the
current speed and mode of the port
This configurable field displays the
existing status of the port whether it is
Enabled/Disabled
-55-
REVISED 2016-01-19
5.5 Alarm Display
The alarm display shows the status of several alarms. Alarms with a gray background and an
“N/A” suffix do not apply for the switch type, or for the current configuration of the switch.
Values ending with “OK” will be green, values ending with “Error” will be red, and those with
“N/A” will be gray. Fields that do not apply to a specific switch model will be hidden.
The following table describes the Alarm Display fields and values.
Field
Power Supply 1
Power Supply 2
Boot Loader Version
Port Utilization
N-Link
N-Ring
Values
Power Supply 1 OK
Power Supply 1 Error
Power Supply 2 OK
Power Supply 2 Error
Boot Loader Version OK
Boot Loader Version Error
Port Utilization OK
Port Utilization Error
N-Link OK
N-Link Error
N-Link N/A
N-Ring Error (Redundancy Lost)
N-Ring Error (Partial Low)
N-Ring Error (Partial High)
N-Ring Error (Multiple Managers)
N-Ring Error (Redundancy Lost, Mult Mgrs)
N-Ring Error (Partial Low, Mult Mgrs)
N-Tron® Series 700/7000 Switch CIP™ Manual
-56-
Description
V1
V2
Shows error if utilization
limits on any port is exceeded
Shows N/A if not configured
for N-Link
Shows N/A if not configured
for N-Ring
REVISED 2016-01-19
N-Ring Error (Partial High, Mult Mgrs)
N-Ring OK
N-Ring N/A
Configuration Device Configuration Device OK
Configuration Device Error
Configuration Device N/A
Temperature
Temperature OK
Temperature Error
Temperature N/A
The system fault string is shown at the bottom of the display.
N-Tron® Series 700/7000 Switch CIP™ Manual
-57-
This field is displayed if the
switch supports a
configuration device
This field is displayed if the
switch supports a temperature
sensor
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement