Escolar Documentos
Profissional Documentos
Cultura Documentos
DeviceNet Ethernet/IP
CANopen EtherCAT
PROFIBUS PROFINET
Ethernet/IP
PROFINET
Modbus TCP/IP
4. Transport
TCP and UDP
3. Network IP
2. Data Link
Ethernet
1. Physical
Industrial Ethernet protocols are not all just
Ethernet. They add features for reliability and
determinism and the trade-off is compatibility
with standard Ethernet.
Ethernet-Based Industrial Protocols
Modbus TCP/IP
EtherCAT
Ethernet/IP
PROFINET
Similarities
Reuse OSI model layers 1 and 2
What about the other 5 layers?
Define master (scanner) and slave (adapter)
devices
Address 1 or more target applications
Non Real Time
Real Time
Hard Real Time
Application Targets
Non Real Time
Uses standard TCP/IP or UDP/IP
Application: PLC to HMI or PLC to SCADA
Real Time
Provides added determinism with COTS hardware
Application: Control data
Hard Real Time
Adds specific hardware to deliver determinism
Application: Distributed motion
Where Protocols Fit?
100001165535 Boolean value Yes No Yes Yes Accesses single-bit discrete inputs. 100002 = {100002}
16-bit
Accesses 16-bit input registers as unsigned integers
300001365535 unsigned Yes No Yes Yes ranging from 0 to 65,535.
300001 = {300001}
integer
16-bit
Accesses 16-bit holding registers as unsigned integers
400001465535 unsigned Yes Yes Yes Yes ranging from 0 to 65,535.
400002 = {400002}
integer
Ethernet-Based Industrial Protocols
Modbus TCP/IP
EtherCAT
Ethernet/IP
PROFINET
EtherCAT Overview
EtherCAT Ethernet Control Automation Technology
Managed EtherCAT Technology Group (ETG)
Open and based on standards such as IEC 61158
Advantages
Hard real-time industrial protocol
Extremely efficient and straightforward communication
Disadvantages
Addresses only hard real time (?)
Not designed for standard TCP/IP packets and EtherCAT packets
Functional Principle: Ethernet On-the-Fly
Fast Train Analogy
Train (Ethernet frame) does not stop
Even when watching the train through a narrow window one sees the entire train
Car (subtelegram) has variable length
One can extract or insert single person (bits) or entire groups even multiple
groups per train
Master
Slave Slave Slave Slave
Ethernet Frames
EtherCAT commands are transported in the Ethernet frame data area
and coded via a special EtherType
EtherType is limited to an Ethernet subnet (not relayed by routers)
Ethernet-Based Industrial Protocols
Modbus TCP/IP
EtherCAT
Ethernet/IP
PROFINET
EtherNet/IP Overview
Dominant bus for Rockwell Automation
Managed by Open Device Vendors Association (ODVA)
Extends DeviceNET concepts to Ethernet
Advantages
Uses Ethernet transport layer (TCP and UDP)
Disadvantages
Can overload networks with UDP messages if note correctly
configured, recommend managed switches with IGMP snooping
Device Classes
Master
Scanner Class Initiate implicit and explicit communications
Slave
Adapter Class Only sends data if requested by a scanner
Supports explicit and implicit messaging
CIP Motion
Builds on CIP Sync to perform distributed control for motion
Uses clock sharing not QoS
CIP Safety
Builds on DeviceNet safety
Intelligent devices with time-out parameters
Ethernet/IP Terminology
TCP/IP
Used to set parameters and initiate
Explicit Messages implicit communication
UPD/IP multicast
Used to communicate I/O data
Implicit Messages
Normally set up for cyclical updates
Communication from NI LabVIEW to
ControlLogix PLCs
EtherNet/IP
RT (Real Time)
PROFINET CBA and PROFINET I/O
I/O applications
Up to 10 m/s cycle times
Host Computer
(TCP/IP)
(TCP/IP) NI PXI System
NI PXI System
with Ethernet Interface
with Ethernet Interface
NI cRIO-9074
NI cRIO-9074
(EtherCAT)
(EtherCAT)
NI 9144
NI 9144
NI Master Controllers
Requirements
NI CompactRIO or PXI real-time system with two
Ethernet ports
NI-Industrial Communications for EtherCAT
NI 9144 Expansion Chassis
Two ports for
daisy chaining
Rugged Chassis
-40 to 70C Eight slots
9 to 30 V input for
HazLoc NI C Series
Shock/vibe
LabVIEW Experience
CompactRIO
Chassis
{
NI 9144
Expansion {
Chassis
Deterministic
Distributed I/O
Demo
C Series I/O
Supports more than 30 analog and digital modules
All single-point measurements
No waveform support (NI 9233 and NI 9234)
Module-to-module and chassis-to-chassis
synchronization
Compatibility with different NI chassis
PROFIBUS
DeviceNet
EthernetIP
ControlNet
Modbus TCP
PXI/PCI with Real-Time Support
PROFIBUS
CAN
CANopen
DeviceNet
FOUNDATION fieldbus
PROFIBUS
Compatible with Windows XP/2000, LabVIEW Real-Time OSs
Graphical networking configuration software
LabVIEW Express API for simplified programming
Supported services include DPV0 Master class 1/2, DPV0 Slave, and
DPV1 Master class 2
Ethernet/IP VIs for LabVIEW
VIs for Ethernet/IP message and scanner modes
Available on NI Labs
Installer that provides VIs for communication to
Ethernet/IP adapters
Demo: Ethernet/IP VIs
Questions?