Upload
hayden-owens
View
230
Download
6
Tags:
Embed Size (px)
Citation preview
YS1000 Release Information Copyright © Yokogawa Electric CorporationJanuary 23rd, 2007
INetConn201 Version 1
Industrial Networking
& Connectivity
MW100 DX2000
Page 2YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Format of the Seminar
Introduce technologies and devices to use in your facilityDiscussion will focus on practical aspects, not theoryWe will not cover all products/technologiesUse hands on, live demonstrations with lots of hardwareProvide good resources (info,tutorials, books, software….)Have a website for follow-upSo let’s take a look at our topics for the day!
Page 3YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Today’s Network
PR30010.200.10.126
Allen-BradleyMicroLogix
110010.200.1.4
YS170010.200.10.23
MW10010.200.1.1DX2000
10.200.10.21
MW10010.200.10.22
10.200.10.200
Fiber
UT351E 10.200.1.5
Steam Plant
Waste Water Plant Production
Area
MODBUSRTU 485
HART
Central Control Room
VPN Device10.200.10.xxx
Off-SitePC Accessto Network
Proface AGP3200
10.200.1.3
Wireless Radio
10.200.1.2
10.200.1.200 (Wireless)
Page 4YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Content Selector
Basic Networking
DAQLoggerWorkshop
Protocols&
Connectivity
AdvancedNetworking
OPC &
SCADA
WirelessTechnology
MODBUSConnectivityWorkshop
MW100Workshop
DXAdvancedWorkshop
Allen-BradleyConnectivityWorkshop
NetworkSecurity
Workshop
ManagedSwitchesWorkshop
WirelessWorkshop
YSuiteWorksho
p
YS1700Workshop
Green SeriesWorkshop
FA-M3 PLCWorkshop
OPCWorkshop
ReportWaveWorkshop
PrintwaveReportwaveWorkshop
ExaQuantumWorkshop
DatabaseWorkshop
Databases&
Historians
Using the Networking
ReportingSoftware
Links
Page 5YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Basic Networking
Cables and CategoriesUTP vs STP cablesFiber optic cablePatch vs cross-over auto MDIXNetwork addressingSetting IP addresses on devicesNetwork diagnosticsDynamic (DHCP) vs static addressingRoutable vs non-routable IP addressesDomain Name System (DNS)Hubs vs. switches (Why you should use a switch!)Ports
Return
Page 6YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
100base-TX
Speed Physical Media(Twisted Pair)
RJ45: standard Ethernet (twisted pair) connector
Topology and Speed
Page 7YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UTP vs STP
UTP is unshielded twisted pairSTP is shielded twisted pairMajority of installations successful use UTPSTP can be useful if very high EMI problems
Drawings Courtesy of Turck
Shielded“STP”
UnShielded“UTP”
Page 8YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Patch vs. Cross Over Cables
Use Patch Cables Use Cross-over cable
Page 9YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Ethernet Designations
Page 10YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Details on UTP Cable Categories
• Category 3: 16MHz; 10base-T,100Base-T4, 100Base-T2
• Category 4: 20MHz; 10base-T,100Base-T4, 100Base-T2
• Category 5: 100MHz; 10base-T,100Base-T4, 100Base-T2, possible 1000Base-T
• Category 5e: 100MHz; 10base-T,100Base-T4, 100Base-T2, 1000Base-T
• Category 6/Class e: 200MHz; 100Base-T, 1000Base-T, possible 10GBase-T
Page 11YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
A Quick Fiber Optic Overview
• Fiber is immune to radio and electrical interference• Provides greater distances between segments (2 km and more)• Multimode fiber is most commonly used for process automation• Single mode fiber is used for long distance communications• Variety of connector types (ST and SC are very common)• More expensive cost and installation than copper
Page 12YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Copper vs Fiber
Page 13YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Let’s Negotiate
• Auto Negotiation: devices automatically deteremine”• Data rate• Half vs Full duplex
• Auto MDIX (Cross-over) • Devices automatically determine which wire pairs• Eliminates concern for patch vs cross-over
Older Hub without Auto MDIXPress switch to change port 4
from straight to cross-over
Page 14YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MAC (Media Access Control) address– Also known as the physical or Ethernet address– What device within a network– Similar to the VIN number in your car
IP (Internet protocol) address– Known as the logical address– What Network is the device on?– Similar to the state license plate on your car
Network Addressing Basics
Two Types of Addresses
Page 15YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
IP Address 192.168.10.3Subnet Mask 255.255.255.0Gateway 192.168.10.1
32 bit number shown as 4 bytes (each 0-255 or 255.255.255.255)
IP addresses are unique. No two machines can have the same IP number. IP addresses are global, standardized, and controlled Need subnet mask to know network vs. host
The Big 3: IP, Subnet, Gateway
255 means network
0 means device
This is the 192.168.10 network This is the .3 device
Page 16YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
More on Subnet Mask
network.host.host.hostnetwork.network.host.hostnetwork.network.network.host
20.10.2.5134.140.2.5
192.230.10.5
Class Range Example Max. Host PurposeA 1-127 020.010.002.005 16, 777,214 Large Org.B 128-191 134.140.002.005 65,534 Medium Org.C 192-223 192.230.010.005 254 Small Org.D 224-239 224.154.128.001 N/A Multicast GroupsE 240-254 240.132.120.101 N/A Experimental
#Networks
# Devicesper Network
Least
Most
Most
Least
Page 17YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
00-00-64-13-34-04
Vendor Device
48 bit number as 6 hexadecimal bytes
Physical/MAC/Ethernet Address
Page 18YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Setting the IP Address of your PC
Page 19YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Setting the IP Address on DXAdvanced
Volunteer navigates DX2000 menus to check IP
Page 20YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
IP Address on MW100 via Webserver
Volunteer executes call (click 00), class views on MW100 LED
Page 21YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
IP Address on CompactLogix
Page 22YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
How do you set the IP address– On PC?– On DXAdvanced?– MW100– CompactLogix
Run network discovery softwareOpen an MS-DOS Window ipconfig to get IP information for the PCipconfig/all to get IP and MAC addressPing a device on the networkPing a “bogus” IP addressPing a network that does not existRun ping with -t optionPing your PC’s IP address
Exercises with Class Help!
Page 23YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
“ping”
Page 24YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
“ping 192.168.1.125 –t”
Seminar volunteer to disconnect a device
Page 25YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Some IP addresses are “full” internetCalled routable because they workSpecial addresses for non-routableUsed on local networkCannot directly access the internet
Routable vs. Non-Routable
10.x.x.x 192.168.x.x 172.16.x.x
Page 26YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
ipconfig and ipconfig/all
Page 27YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Static IP Dynamic IP
Static vs. Dynamic Addressing (DHCP)
Dynamic Host Configuration Protocol (DHCP)
Process of automatically assigning an IP address when a device is connected to a local area network. Typically used in an office to conserve IP addresses.
Page 28YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Domain Name Server
Software running on a host machine that linksan IP address with a name. Allows users toconnect to a device by IP address or by name.
dx200.us.yokogawa.com
Domain names ending with .biz, .com, .info, .name, .net or .org can be registered through many different companies (known as "registrars").
Domain Name Server (DNS)
Page 29YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
LAN
192.168.225.102 192.168.225.103 192.168.225.104
192.168.225.101
LAN
Hub
Data Flow with a Hub
All Packets go to All Devices
Page 30YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Data Flow with a Switch
Switch
192.168.225.101
192.168.225.105192.168.225.104192.168.225.103
Hub
192.168.225.102
Send Packet
Send Reply
What Does Your Plant Use?
Page 31YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Port numbers are divided into three ranges:
Well Known Ports 0 - 1023Registered Ports 1024 - 49151Dynamic and/or Private Ports 49152 - 65535
Ports in an network device are similar to different doors into a house. A house has one street address but many doors to enter the house. A network device has one IP address but many ports. Ports are used to allow traffic to go directly to a device and/or application ( i.e. email to an email server PC or program).
Ports can also be used by firewalls to filter traffic.
Type Port NumberFTP 21Telnet 23SMTP 25www-http 80POP3 110Daqstation data 34260Daqstation maintenance 34261
Ports
Page 32YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands-On with DXAdvanced
Trend/Bargraph/Digital4 Panel DisplayDual speed trendingRealtime vs. historicalWebserverTrigger an alarm Alarm overviewAlarm historyMessage on alarmUSB memoryUSB keyboard
Volunteer will modify AI and alarm from keyboard
Page 33YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Using Your Network
Device configuration over the networkViewing data with webserversYokogawa DAQLogger SoftwareEmailing alarms and reports (SMTP)Automatic File Transfer (FTP)Time synchronization (SNTP)
Return
Page 34YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On with DX2000 Configuration Software
modify range on DX2000 temperature input as example
Page 35YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Realtime Data on MW100 via Webserver
Sample of realtime data on MW100 192.168.1.125
Page 36YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Web Client
View Real Time and Historical Data– Multiple WEB clients can view the DAQSTATION
Advanced display using a standard WEB browser
– The current display, alarm log and message log can be selected via an operator control menu
– Security can be enabled requiring a user to enter a username and password
– View data from anywhere in the world via the internet
WEBCLIENTWEB
CLIENT
Web Client #1
WEBCLIENTWEB
CLIENT
WEB Client #2
WEBCLIENTWEB
CLIENT
WEB CLIENT #n
Ethernet SwitchDAQSTATION Advanced
WEB Server
Please send a display
Page 37YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On: Configuring MW via Webserver
– Create a message5 = “Calibrate”– Set USER2 key to trigger message5– Test User2 key in runtime
No PC SoftwareRequired!
Page 38YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Email Server
System Alarm and Status – Alarm, Scheduled, Report, Power failure
recovery, Memory full, Test or Error message E-mails can be configured and sent to multiple recipients
– Emails will be sent to an Email server and then distributed to the appropriate recipients
– 150 characters can be entered into the recipient 1 and recipient 2 settings in the DAQSTATION EMAIL
SERVEREMAIL
SERVER
Email Recipient #1
Email Recipient #2
Email Recipient #n
Ethernet SwitchDAQSTATION
Advanced
Email Client
Page 39YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On: Alarm/Reports with MW100 Email
Show setup of MW100 emailShow setup of SMTP serverTrigger alarmView alarm email
Page 40YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
FTP (File Transfer Protocol) Server
Automated Data File Storage– DAQSTATION Advanced automatically transfers data to any ftp
server– Real time, Report and other files will be transfer to a specific file
folder in the ftp server.– If the primary ftp server fails, files will be transferred to the
secondary ftp server
FTPSERVER
FTPSERVER
Ethernet SwitchDAQSTATION Advanced
FTPSERVER
FTPSERVER
Primary FTP Server
Secondary FTP Server
Data Files
Data Files
Data Files
FTP Client
Data Files
May I Send a File
Page 41YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
FTPCLIENT
FTPCLIENT
FTP CLIENT #1
FTPCLIENT
FTPCLIENT
FTP CLIENT #2
FTPCLIENT
FTPCLIENT
FTP CLIENT #n
FTP (File Transfer Protocol) Client
Retrieve Historical Data Files– FTP client computers can connect to the DAQSTATION
as an ftp client– Data files can be selectively transferred from the
DAQSTATION– Multiple FTP clients can connect to a single
DAQSTATION– Files stored in the DAQSTATION Advanced internal 80
or 200 megabyte internal memory can be transferred– Files stored on the removable CF Card can be
transferred
Ethernet SwitchDAQSTATION
Advanced
Data Files 4
CLIENT Pulls Data Files
Data Files 3
Data Files 2
Data Files 1
Data Files 2
Data Files 1
Data Files 4
FTP Server
Please Send File 1
Page 42YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On: Automatic File Delivery with DXA FTP
Show setup of FTP server in BulletproofShow setup of FTP client in DX2000 (files and report)Trigger a fileWatch it arrive!
Page 43YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
SNTP (Simple Network Time Protocol) Server/Client
Synchronized Historical Data– SNTP enables multiple devices to synchronize their
clocks with a single master server– A single DAQSTATION can act as a time server for
multiple DAQSTATION recorders– DAQSTATION Clients can be configured to synchronize
to the server at a user defined time– The clock will be synchronized to a resolution of one
second– Time is not synchronized if the time difference is
greater than 10 minutes
SNTP Client #1
SNTP Client #2
SNTP Client #n
SNTP Server
DAQSTATION Advanced
Page 44YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Yokogawa DAQLogger
Let’s take a quick look at realtime trending over a network
Page 45YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Protocols and Connectivity
Protocol primerGeneric MODBUS– RTU Serial example– TCP (Ethernet) example
MODBUS in Yokogawa DAQ and Control ProductsSerial to ethernet convertersProtocol gateways– MW100 as Modbus gateway– Moore Industries HCS Hart to Modbus
Ethernet I/P with Allen-Bradley PLC’s– CompactLogix to MW100– SLC500 connectivity
Return
Page 46YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Industrial Protocol Primer
A “Protocol” is the language a device speaks it defines the rules by which two or more devices connect and exchange data.
How do we make the connection (plugs, sockets, cables…)What signals can I send? (voltage, current, frequency)How do I address a message? (tags, numerical address, data table)What can I put in the messsage? (bits, integers, float, text)
Copyright Romilly Bowden
Page 47YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Connection vs. Protocol
• Do not confuse connection type versus protocol type
• Connection refers to the physical media• RS232• RS422• RS485• Ethernet
• Protocol refers to the “language” spoken• Modbus• DF1• DH+• Ethernet IP• DeviceNet• Profibus
Page 48YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
A Good Listing of Industrial Protocols • AS interface (ASI bus)• BACNET• CAN• ControlNet• DeviceNet• EtherNet I/P• Foundation Fieldbus
• H1• HSE
• HART• Interbus• LonWorks• Modbus
• RTU (serial)• TCP (ethernet)
• Profibus • FMS• DP• PA)
• PROFInet• SDS
Page 49YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MTL Bus Comparison Main Chart
V=Vehicle, B=Building, F=Factory, P=Process, S=Smart Instrumentation, D=Data Communication
Page 50YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Proprietary vs. Open Protocols
Proprietary is created by a company for use in its hardware or software– Yokogawa protocols– Allen-Bradley DH+– Every vendor has one!
Open protocols are developed by organizations– For use by all end users– Foundation Fieldbus– Modbus (originally a proprietary vendor)– HART
Page 51YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Yokogawa Protocol
Yokogawa designed Protocol– Published Protocol
• Serial or Ethernet interface
– Provides an interface to read & write every parameter in Yokogawa devices
– DAQSTANDARD, DAQLOGGER, KEPWARE OPC use Yokogawa protocol
– Provides complete control of Yokogawa products via communications
Send or Receive•Measure & Math Values
•All configuration values
•Read local memory
•Read external memory
•Write Message
Page 52YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Proprietary Protocols: Yokogawa DX2000 Example
1. Open a DOS window2. Telnet 192.168.1.21 342603. UD1, DIGITAL, 1 <CR>
Page 53YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Yokogawa Diagnostic Port
Yokogawa Diagnostic Protocol– Special port to view communications information
• Ethernet Statistical Information• Network Statistical Information
– Enables an IT person to see who is connected and detailed information about packet traffic and device performance
1. Open a DOS window2. Telnet 192.168.1.21 342613. CON <CR>
Check Open Ethernet Connections
Page 54YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS RTU (Serial)
Originally developed by Gould for Modicon PLC’sSimple master/slave structure– One device talks, multiple devices respond
Function codes for read, writeTypically runs on RS232, RS422 or RS485Each data value “lives” in a preset registerHardware data is mapped to registersEasy to exchange data between devicesMany devices support MODBUS RTU– PLC’s, controllers, DCS, recorders, data acquisition,
transmitters, gas chromatographs, flow computers
Page 55YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS is Supported Industry Wide
MooreIndustries
Honeywell
Yokogawa
OhmartVega
Page 56YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Functions and RegistersModbus functions: What can you do?– 01: Read coil (relay) status– 02: Read input (digital input) status– 03: Read holding registers– 04: Read input registers– 05: Force coil – 06: Write a single holding register– 16: Write multiple holding registers
Modbus Registers: Where is the device data stored?– 1-9999 series registers are output coils (digital outputs)– 10000 series registers input coils (digital inputs)– 30000 series registers are holding values (read/write)– 40000 series registers are input values (read only)
Page 57YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Client/Server vs Master/Slave
Modbus serial uses master/slave– Only one master is allowed– 254 possible slave addresses– Master sends commands, slaves respond
Modbus TCP (ethernet) uses Client/Server– Client sends commands, servers respond– Multiple clients and servers allowed
Page 58YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MW100 MODBUS Register Mapping
Page 59YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS TCP Client
READ or WRITE Data from multiple devices– The DAQSTATION can read or write MODBUS
data with up to 16 Modbus TCP Servers– 240 values can be read into extended
communications registers– 60 values can be read into math registers.– All Modbus values can be viewed on real-time
displays and stored into memory.
MODBUS TCPSERVER #1
Ethernet SwitchDAQSTATION Advanced
MODBUS TCPSERVER #2
MODBUS TCPSERVER #16
Modbus TCP Client
Page 60YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS TCP Server
Provide real-time measured values in a standard format– Enables Non-Yokogawa or Yokogawa devices
with Modbus TCP support to read or write measured values from the DAQSTATION
– Support two simultaneous connection; two clients can poll data from a single DAQSTATION at the same time
– Modbus TCP and Modbus RTU can operate at the same time
MODBUS TCP
SERVER #1
Ethernet Switch
Yokogawa CS3000
Modbus TCP Client MODBUS TCP
SERVER #2
MODBUS TCP
SERVER #N
Page 61YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS TCP between MW and DX2000
• “Manual” example• Automatic linking example
Page 62YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS Master
Read data from a serial device– Modbus RTU is a serial interface
and can be used to read or write data to other Modbus RTU devices
– Modbus RTU and Modbus TCP can function simultaneously
– Modbus Support• Measured, Math, Alarm Status, Time
Modbus RTU
Master
Ethernet SwitchYokogawa CS3000
Modbus TCP Client
Modbus RTUSerial Interface
Modbus TCPSimultaneous Communications
Page 63YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS Slave
Provide real time measured values in a standard format– Modbus RTU is a serial interface
and can be used to read or write data to other Modbus RTU devices
– Modbus RTU and Modbus TCP can function simultaneously
– 31 Devices can be connected over a single multi-drop serial interface
MODBUS TCP
SERVER #1
Yokogawa CS3000 or Other DCS
Modbus RTU Master
Modbus RTUSerial Interface
Page 64YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Allen-Bradley Protocols
DF1 is a serial protocol– Uses PCCC (Programmable Controller Communication Command)– Serial programming port on A-B PLC’s is DF1
DH-485Data Highway (DH) & Data Highway Plus (DH+)– Token passing peer to peer LAN protocols
Remote I/O (RIO)– Connecting remote racks of I/O
DeviceNet (now ODVA)– Field sensor for PLC’s
Ethernet IP (now ODVA)– Data and configuration, non-deterministic
ControlNet (now ODVA)– Data, deterministic
Page 65YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Ethernet IP
Communications protocol built on TCP/IPEthernet I/P runs on standard ethernet networksEmploys CIP (Common Industrial Protocol) structure– CIP is common to Ethernet IP, DeviceNet, and ControlNet– Supported by ODVA organization (Open Device Vendor Association)
Ethernet I/P uses two message types– Explicit: Client/server transaction executed on demand (configuration)– Implicit: I/O data transfer done at a specific, periodic rate
Ethernet I/P is widely used in Allen-Bradley PLC products
Page 66YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MW100 Works with These A-B PLC’s !!
MW 100
Control Logix
PLC-5
SLC-505
Ethernet
CompactLogix MicroLogix
SLC-504/3/2
NET-ENIserial to IPconverter
Page 67YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Key Concepts for MW100 Ethernet IP
MW100 looks like an Allen-Bradley deviceAll MW100 data is preformatted in A-B structuresNo Ethernet IP configuration required in MW100Serial to Ethernet interface modules available– Use for SLC-500 and PLC5– A-B 1761 NET-ENI or Digi One IAP
Read and Write data between A-B and MW100Explicit messaging supported– Flexible method using ladder logic– Supports MSG commands for all current A-B models
Implicit messaging supported– Requires no ladder logic– Happens “automatically”
Page 68YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
RSLogix Sees MW as a Native Device!
MW100
Page 69YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MW100 Data is Formatted as A-B Data
Page 70YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Standard A-B OPC Servers Can See MW100
Kepware’s ControlLogixserver configured for SLC500 interface seesMW100 realtime data!
Page 71YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Data Transfer in CompactLogix Demo
A-B reads (10) MW100 input channels– Uses implicit read of input assembly 110, no ladder logic
A-B writes thermocouple input to MW100– Uses explicit messaging (MSG command)
A-B writes counter value to MW100– Uses implicit write to output assembly 131
Page 72YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Implicit Read of MW Data
When MW100 is added as an Ethernet IP device, controller tags for Input assembly 110 (MW100:I.Data[n]) and Output assembly 131 (MW100:O.Data[n]) are automatically created.
Page 73YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Implicit Messaging Uses Predefined “Instance ID’s”
Page 74YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Explicit Write to MW100 (Ladder Logic)
Page 75YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Implicit Write to MW
Simply use a Move instruction to place A-B data into MW100 output instance.– Single value or multiple
Page 76YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Specification
MW 100 Ethernet/IP Model Specification
Spec. Description
Implementation Level 2 (Message Server + I/O Server)
Connection Max. 20
Protocol EIP / PCCC, EIP / native
Messaging Explicit (UCMM, Class 3) + I/O (Class 1)
Object Assembly, PCCC, Data Table
Data Exchange Max. 300 ch (as integer of float data)
I / O AI / AO, DI / DO (Max. 60 ch)Sampling 100 ms - 60 s
Recording Max. 360 ch (60 I/O + 300 Computation)
Page 77YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On: CompactLogix Ethernet I/P to MW100
Page 78YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
EtherNet/IP implicit messaging– UDP/IP CIP (producer/consumer)– Multi-cast packets are NOT acknowledged
at transport layer• Application layer must acknowledge and may
error on NAK!
– Network primarily responsible to ensure packet reception
Wireless Ethernet I/O Applications
Page 79YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Wireless UDP/IP CIP Applications
Page 80YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UDP Traffic on an 802.11 Network
Without wireless IGMP support
CIP
CIP
CIP CIP
Producer
Consumer
Page 81YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UDP Traffic on an 802.11 Network
Without wireless IGMP support
CIP
CIP
CIP CIP
Producer
Consumer
Page 82YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UDP Traffic on an 802.11 Network
Without wireless IGMP support
CIP
CIP
CIP CIP
•UDP multicasts wirelessly broadcasted
•Wireless congestion may drop packets
•Poor performance & comm timeouts
Producer
Consumer
Page 83YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UDP Traffic on an 802.11 Network
With wireless IGMP support
CIP
CIP
ACK
Producer
Consumer
Page 84YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UDP Traffic on an 802.11 Network
With wireless IGMP support
CIP
CIP
ACK
Producer
Consumer
Page 85YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
UDP Traffic on an 802.11 Network
With wireless IGMP support
CIP
CIP
ACK
•Each modem builds a consumption table (IGMP snooping)
•Packets are filtered/ignored
•Each UDP packet is acknowledged & re-transmitted if necessary
Producer
Consumer
Page 86YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
HART
• HART is an acronym for "Highway Addressable Remote Transducer". • The HART protocol makes use of Frequency Shift Keying• (FSK) superimposes digital communication signals on top of the 4-20mA • This enables two-way field communication to take place • It is possible for data other than the process variable to be communicated
Page 87YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Protocol Converters and Gateways
Bridge between devices with different protocolsConverters are “simple” in and outGateways provide conversion and routingOffered by many different vendors– Yokogawa– Prosoft– Moore Industries– Anybus (HMS)– Lantronix– Digi– Fieldserver– Equustek
Page 88YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On: HART to MODBUS with MW100
OR
Page 89YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
MODBUS RTU serial to MODBUS TCP
Page 90YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
DH+ to MODBUS TCP
Page 91YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Wireless and Remote Access Technologies
Return
Wireless Dial-upCellular
Page 92YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
A Look At Radio Frequencies
Radio frequency spectrum is assigned by governments– CB radio: 26.96 - 27.41 MHz– FM radio: 88 - 108 MHz– WiFi for PC’s: 2.4 GHZLicensed vs. Unlicensed bands– Licensed provides more power!Two licensed frequency bands– 400 MHz– 900 MHz3 unlicensed frequency bands in U.S.– ISM bands (Industrial, Scientific, Medical)– 902-928 MHz– 2.4 to 2.483 GHz– 5.725 to 5.875 GHz (U-NII*)
.
*Unlicensed National Information Infrastructure
Page 93YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Back to Basics
The Two Commonly Used Typesof Spread Spectrum Technology
FHSS
Frequency Hopping
DSSS
Direct Sequence
Page 94YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Wired & Wireless Standards
Wired
802.3
802.3i
802.5
802.3u
802.3af
10base-T ethernet
Token Ring (IBM…)
100base-TX ethernet
Powered ethernet
802.3ab 1000base-T gigabit copper
Wireless
WPAN (wireless personal area network)
802.1x
802.11
802.11a
802.11b
802.11g
802.16
802.15
54 Mbps at 5.4 GHz
“Wi-Fi”, 11 Mbps in 2.4 GHz
54 Mbps at 2.4 GHz
802.15.1 Bluetooth
802.15.4 Zigbee
WMAN (wireless metropolitan area network)
WLAN (wireless local area network)
Page 95YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Wireless A B G
Page 96YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Wireless Example: Connect to DX1000
802.11abg
Features of Yokogawa Wireless Radio
• 802.11abg ISM band• Works with wireless in PC’s and laptops• 54 Mbps speed• Class I Div 2• Cryptographic strength AES encryption• Configure via webserver• Supports IGMP snooping on RF • Diagnostic OPC server included
Page 97YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Cellular Modems (Forget Line of Sight!)
• Same technology and service providers as your cell phone• No line of sight issues or need for antenna towers• Flexible and mobile
Page 98YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Airlink Cellular Application Examples
Give a remote PC access to existingnetwork via cellular
Give an existing PC access to remoteDAQ hardware viacelluar
Page 99YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Advanced Networking
Protocol AnalyzerUsing Managed SwitchesVLAN’sVPNSNMPNetwork Security
Return
Page 100YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Some Switch Terminology
Auto Negotiation– Ability of a switch to set data rate and half vs. full duplex between devices
Auto Crossover – Ability to determine which wire pairs to use. (is the cable patch or crossover?)
SNMP (Simple Network Management Protocol)– Protocol in managed switches that collects performance and diagnostic info
QoS (Quality of Service)– Allows a managed switch to prioritize traffic based on type of data or application
VLAN (Virtual LAN)– Ability to set devices connected to a switch into isolated “virtual” LAN’s.
Port Mirroring– Allows one port on a switch to show traffic of all ports (used for diagnostics)
Port Locking– Ability to control access to a switch port by MAC address (increases security)
IGMP Snooping (Internet Group Mulitcast Protocol)– Used with Ethernet IP to reduce load associated with multicast traffic
Redundancy– Connecting switches with multiple cables so operations continues if a cable is damaged
Page 101YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Managed vs. Unmanaged Switches
Cost $200-$800 $400 - $2000Perfomance Basic features Qos, Trunking, IGMP Robustness Basic features Redundant power & connectionsDiagnostics Limited SNMP, Port MirroringSecurity None VLAN, Port locking
ManagedUnmanaged
Page 102YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Protocol Analyzer
Let’s you see everything on the network!!
Page 103YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Configuring the Managed Switch
Page 104YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Port Diagnostics
Click on the port and see what it is doing
Page 105YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Setting up Port Mirroring
Allows one port on switch to see all trafficRequired if you want to use a protocol analyzer
Page 106YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Port Locking
Limit a port to work with a single MAC addressPrevents unauthorized access
Page 107YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Setting up IGMP (For Ethernet I/P)
Internet Group Management ProtocolUsed with Ethernet I/P to improve performanceLimits multicast packets used in producer/consumer communication
Page 108YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Reporting Software
Standard Yokogawa filesPrintwaveReportwave
Return
Page 109YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Hands On: Working with DX2000 Data
Start loggingShow memory information Move T/C input, create alarmStop loggingGet file using ftp://192.168.150Copy to PCUse viewing software to displayConvert to ExcelLook at file in Excel
Page 110YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Printwave Software for PC
• Automatic printing of trend graphs or data• Automatic file conversion to PDF or Excel format (.csv)• Eliminates manual processing of data files!!!• Supports
• DX100/200/1000/2000• MV100/MV200• MW100• CX1000/2000
• DAQ or Recorder is on the network• DXAdvanced or MW100 closes a file (hourly, daily…)• File is automatically transferred to central PC via FTP• When file arrives, Printwave triggers output event
Page 111YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Sample Printwave Outputs:Trend
Page 112YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Sample Printwave Outputs: Trend with Stats
Page 113YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Sample Printwave Outputs: .CSV in Excel
Page 114YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Reportwave: Custom Reporting Software
Page 115YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Custom Daily Report on VOC’s
Page 116YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Custom Monthly Report Sample
Page 117YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
OPC and SCADA
Basics of OPCSimple OPC setup exampleAdvanced OPC Concepts– Redundancy– Linking– Custom OPC
SCADA concepts– Yokogawa YSuite Example
Return
Page 118YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Yokogawa OPC Products
KepServerEX
LinkMaster
U-Con
RedundancyMaster
SQLDataLogger
ClientAce
iSNMP Suite
Page 119YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
OPC: OLE for Process Control
OPC is SoftwareBased on Microsoft technologies– OLE– COM/DCOM
Uses a Client/Server modelBased on an open standardDriven by:– SCADA/HMI software vendors– Hardware vendors
Eliminated custom driver librariesDifferent components– DA: Data Access– HDA: Historical Data Access– A&E: Alarms and Events– UA: Unified Architecture
Page 120YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Things You Can Do with OPC
Connect hardware to a SCADA/HMI package– Wonderware, Iconics, RSView, Proficy, Citect…
Connect hardware to plant information systems– OSI PI, Aspentech, Exaquantum
Get 3rd party devices into a DCSPut real-time data into an SQL databaseMove data between two devices that do not talkCreate a driver for a one off deviceMonitor SNMP network data in your HMI package
Page 121YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
YSuite SCADA/HMI Software
Page 122YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Databases and Historians
Why would I use a database?
Getting Realtime data into an Access
Realtime data into SQL databases
What is a Historian?
Exaquantum example
Return
Page 123YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Live Demonstration of OPC to SQL
Allen-BradleyCompactLogix192.168.1.13
0
MW100192.168.1.125
192.168.1.2Production Area
Page 124YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Exaquantum Plant Historian
Enterprise class historian software
Page 125YS1000 Release InformationCopyright © Yokogawa Electric CorporationDecember 8, 2007
Industrial Networking and Connectivity Seminar
Resources
Seminar CDYokogawa websiteKnowledgebase– Seminar contents– Others
Industrial Ethernet UniversitySuggested Reading
Return