Hone

Lessons · Network switches · EtherNet/IP

EtherNet/IP is ordinary Ethernet

EtherNet/IP carries CIP messages over standard Ethernet and IP. The IP stands for Industrial Protocol, and the network underneath is the one you already know.

Hone is a place to practise programming. This is one of its lessons, written out in full and free to read without an account.

What it is for

It is why an ordinary managed switch can run a production cell, and why VLANs, multicast and duplex are not office concerns that happen to appear on a plant floor. They are the plant floor.

How to think about it

Treat the cell as a network with deadlines. Everything you know applies; what changes is that the cost of getting it wrong is a stopped line rather than a slow page.

Worked example

enable
The # prompt.
configure terminal
Into configuration mode.
vlan 70
A VLAN for the cell, exactly as you would make one for an office.
name CONTROL
Named for the people who will read it.
exit
Out.
interface gi0/2
The controller's port.
description Cell 7 controller
Say what is on it. On a plant floor this is worth more than anywhere else.
switchport mode access
One VLAN, no tags. A controller is a single device.
switchport access vlan 70
In the cell's VLAN.
spanning-tree portfast
It is one device, so there is no reason to make it wait to forward.
end
Out.
show vlan brief
Gi0/2 against CONTROL. The same screen, the same commands, and traffic that must not be late.

Your turn

Put the controller's port in the control VLAN.

switchport access vlan 

The trap

Assuming industrial protocols need industrial switches. Many run on any managed switch; what the industrial hardware buys you is the temperature range, the DIN rail, the redundant power and the ring protocols.

Practise EtherNet/IP on HoneA question on it now, a coding challenge where there is one, and it is remembered for review. Free, no email needed.