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.
2 CIP Components
The following CIP components are available with N-TRON CIP enabled switches.
2.1 Electronic Data Sheet (EDS)
An electronic datasheet for each N-TRON switch is provided.
In a Rockwell environment EDS files are installed using the “EDS Hardware Installation
Tool”. This allows N-TRON switches to be recognized in an RSLinx environment.
2.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 specific:
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.
Revision August 23, 2013, 2013 Page 3 of 37
CIP Manual – NT24k N-Tron Corporation
2.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) 1006. This is N-TRON’s ODVA EtherNet/IP
managers, Boot loader version, N-Link partner port unknown,
N-Link multiple masters, N-Link control fault, N-Link
configuration fault
11 Major Unrecoverable Fault none
Revision August 23, 2013, 2013 Page 5 of 37
CIP Manual – NT24k N-Tron Corporation
2.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 DWORD
Set Format
(32)
Description
Interface status
0 interface configuration attrib
not configured
1 interface configuration attrib
is valid
2 Configuration
Capability
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
3 Configuration
Control
Set 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
4 Physical Link
Object
STRUCT
of:
Path Size UINT (16) Size of Path
Path Padded
5 Interface
STRUCT
Configuration
EPATH
of:
Logical segments identifying the
physical link object
IP Address Set UDINT (32) The device’s IP address.
Network Mask Set UDINT (32) The device’s network mask
Gateway
Set UDINT (32) Default gateway address
Address
Name Server Set UDINT (32) Primary name server
Name Server 2 Set UDINT (32) Secondary name server
Domain Name Set STRING Default domain name
6 Host Name STRING Host name
Revision August 23, 2013, 2013 Page 6 of 37
CIP Manual – NT24k N-Tron Corporation
2.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
2 Interface Flags
3 Physical Address
4
5
Interface Counters
In Octets
In Ucast Packets
In Nucast Packets
In Discards
In Errors
In Unknown Protos
Out Octets
Out Ucast Packets
Out Nucast Packets
Out Discards
Out Errors
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. Base
MAC plus port number.
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
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
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.
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 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.
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
Revision August 23, 2013, 2013 Page 8 of 37
CIP Manual – NT24k N-Tron Corporation
Id
1
Name
Device Up
Set
Format
UDINT (32)
Description
Number of seconds since device was powered up.
Time
2
3
Port Count
Valid Ports
UDINT (32)
LWORD (64)
AB: DINT[2]
Total port count
0 = Invalid Port, 1 = Port Exists on device
Bit 0: Port 1
Bit 1: Port 2
etc.
4
Global Admin
Status
LWORD (64)
AB: DINT[2]
0 = Port Disabled, 1 = Port Enabled
Bit 0: Port 1
Bit 1: Port 2
etc.
5
Global Link
Status
LWORD (64)
AB: DINT[2]
0 = Link Down, 1 = Link Up
Bit 0: Port 1
Bit 1: Port 2
etc.
6
System Faults
DWORD (32)
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: the configuration on an installed
configuration device is invalid
Bit 08: N-Link Fault
Bit 09: Boot loader version mismatch
Bit 10: Port Utilization Alarm
Bit 11: Temperature Alarm
7
IGMP Querier
Status
USINT (8)
Query Status:
0 = Disabled, 1 = Active (manual), 2 = Active
(Auto), 3 = Backup (Auto) [enabled but not active].
10
8
IGMP Version
9
IGMP
Resource
Usage
IGMP Active
USINT (8)
USINT (8)
UDINT (32)
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.
Querier
11
12
13
14
CPU Usage
Class 1
Connections
Class 3
Connections
Temperature
Alarm Upper
Threshold
USINT (8)
UINT (16)
UINT (16)
Set INT (16)
Percent of usage (0-100).
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
Revision August 23, 2013, 2013 Page 9 of 37
CIP Manual – NT24k N-Tron Corporation
15
16
17
18
19
20
21
22
Temperature
Alarm Lower
Threshold
Contact Status
Temperature_C
Temperature_F
Reset MIB
Counts
Device MAC
Address
Device Role
Config Device
Status
Set INT (16)
BYTE (8)
Lower temperature (C) at which to declare an alarm
2 Bits per contact. 00=Not Present, 01=Open,
10=Closed.
INT (16)
INT (16)
Set LWORD (64)
ARRAY of 6
USINTs (8)
UDINT (32) Bit mask of device roles. Bits=
BYTE (8)
Temperature in degrees C. 0x7FFF = Not Supported on
device.
Temperature in degrees F. 0x7FFF = Not Supported on
device.
Reset port MIB counters. (1 bit per port to reset).
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
SHORT_STRI
NG
SHORT_STRI
NG
STRINGI
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.
UDINT (32)
4 Bits per power supply. 0000 = DC Power, 0001 =
AC Power, 1111 = Unknown.
Power supply 1 configuration is in bits 0-3 and
Power supply 2 configuration is in bits 4-7.
Revision August 23, 2013, 2013 Page 10 of 37
CIP Manual – NT24k N-Tron Corporation
2.3 CIP Services
The table following is a summary of the supported services as defined by CIP Vol 1,
Appendix A: Explicit Messaging Services [1].
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.
2.4.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.
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.
Revision August 23, 2013, 2013 Page 12 of 37
Loading...
+ 25 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.