63
YS1000 Release Information Copyright © Yokogawa Electric Corporation January 23rd, 2007 INetConn201 Version 1 Yokogawa Corporation of America Technology Semina r Industrial Connec tivity with MW100 & DXAdvance d

YS1000 Release Information Copyright © Yokogawa Electric Corporation January 23rd, 2007 INetConn201 Version 1 Yokogawa Corporation of America Technology

Embed Size (px)

Citation preview

YS1000 Release Information Copyright © Yokogawa Electric CorporationJanuary 23rd, 2007

INetConn201 Version 1

Yokogawa Corporation of America

Technology Seminar

Industrial Connectivitywith

MW100 & DXAdvanced

Page 2YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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-up

Page 3YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Topics

A 15 Minute Network RefresherWebserver, FTP, Email, and SNTP demosIntroduction to Industrial ProtocolsProtocol DemonstrationsProtocol Gateways Protocol DemonstrationsRemote Access (wireless, cellular and dial-up)Wireless DemosOPC with DemosApplication Software Demonstrations

Page 4YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Today’s Network (with local internet access)

192.168.1.201(Radio 5440)

192.168.1.202(Radio 5448)

PR300192.168.1.110

Allen-BradleyCompactLogix192.168.1.13

0

YS1700192.168.1.13

5

MW100192.168.1.140

DX2000192.168.1.15

0

MW100192.168.1.12

5

10.10.10.1

DX1000(seminar)

MV1000192.168.1.115

CX2000192.168.1.95

Page 5YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

15 Minute Network Refresher

An Ethernet History LessonNetwork Cards and CablingFiber NetworksNetwork Addressing: MAC and IPStatic vs Dynamic AddressingThe Network Language: TCP/IP and PacketsRouting ConceptsNetwork Address TranslationUsing Switches to Make a Better NetworkDemonstrations of TCP IP protocols– Webservers– FTP– Email– SNTP

Page 6YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

10baseT

SpeedPhysical Media(Twisted Pair)

Cat 5: voice and data at 100 mbpsCat 5e: voice and data at 100 mbpsCat 6: voice and data at 250 mbps

UTP: unshielded twisted pair (normal in office)Patch cable: straight thru; used with hubs & routersCross cable: crossed; used for PC to device directRJ45: standard 10baseT (twisted pair) connector*

Physical Layer: The Wire

Page 7YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Network Interface Card

A computer card containing and Ethernet controller chip and communications transceivers able to connect to the “wire” and talk using Ethernet rules and format.

Desktop “NIC” CardIEEE802.3

Laptop PCMCIA CardIEEE802.3

Laptop PCMCIA CardWireless IEEE802.11

Desktop “NIC” CardIEEE802.3u

Term Alert: NIC

Page 8YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 9YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 10YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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

Internet Assigned Numbers Authority 4676 Admiralty Way, Suite 330 Marina del Rey, CA 90292 USA+1-310-823-9358 (phone) +1-310-823-8649 (facsimile)www.iana.org

More About IP Addresses

Page 11YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Most IP addresses are “full” internetCalled routable because they workSpecial addresses for non-routableUsed on local networkCannot directly access the internet– 10.x.x.x– 192.168.x.x– 172.16.x.x

Routable vs. Non-Routable

Page 12YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Dynamic Host Configuration Protocol

Process of automatically assigning an IPaddress when a device is connected to alocal area network. Typically used in anoffice to conserve IP addresses.

DX does not support DHCP. DX is always connected and other devices suchas (FTP and email servers) expect a constant IP address from DX.

Term Alert: DHCP

Page 13YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Static IP Dynamic IP(DHCP)

Static vs. Dynamic Addressing

Page 14YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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").

Term Alert: DNS

Page 15YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

LAN

192.168.225.102 192.168.225.103 192.168.225.104

192.168.225.101

LAN

Hub

Data Flow with a Hub

• Is this a Class A, B, or C network?• What is the network number?• Should the hub have an IP address?

Page 16YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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

Page 17YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

RouterDynamic NAT

192.168.1.1

175.56.28.03

192.168.1.2

192.168.1.3

192.168.1.4

69.203.177.85

Network Address Translation enables multiple computers to communication via the a single IP address.

Term Alert: NAT

Page 18YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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

Term Alert: Ports

Page 19YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Demonstration of Some Common Protocols

• HTTP (webserver)

• FTP (automatic file transfer)

• SMTP (email)

• SNTP (network time synchronization)

Page 20YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Industrial Protocol Primer

What is a “Protocol”?What do they do?What are some protocol types?

Page 21YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Protocol Types

Proprietary (i.e. Yokogawa, Honeywell…)MODBUS (RTU and TCP)Allen Bradley ProtocolsEthernet IPDNP3HARTFoundation FieldbusDeviceNetProfibus

Page 22YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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• Ethernet IP• DeviceNet• Profibus

Page 23YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Yokogawa Protocols: Telnet Examples

telnet 192.168.1.125 34318

telnet 192.168.1.125 34317 (login admin 0)

Page 24YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 25YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Example of MODBUS Mapping

Page 26YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

MODBUS TCP (Ethernet)

MODBUS RTU over EthernetClient/Server– Client issues commands (i.e. read/write)– Server responds to command– Allows multiple devices to issue commands

Uses port 502

Page 27YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Allen Bradley Protocols

Lots of A-B 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

Page 28YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Ethernet IP

Communications protocol built on TCP/IPEthernet IP 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 IP uses two message types– Explicit: Client/server transaction executed on demand (configuration)– Implicit: I/O data transfer done at a specific, periodic rate

Ethernet IP is widely used in Allen-Bradley PLC productsLegacy A-B products support CIP within PCCC (DF1)– PCCC (Programmable Controller Communication Commands)– PCCC has extensions to support CIP. These are Rockwell proprietary

Page 29YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Ethernet IP

Page 30YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

CIP and PCCC

Page 31YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

I/O Messaging (1)

Set IP address and access point to MW 100

RS Logix 5000 screen

(1) set connection point

* you can assign another size within its assembly size.

Page 32YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

DNP3

Page 33YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

DNP3 and MODBUS Comparison

From Triangle Micro Works

Page 34YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 35YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

HART

Page 36YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Industrial Protocol Demonstrations

Yokogawa Protocol – MW100 with telnet

MODBUS RTU Serial– Green Series controller to CX2000

MODBUS TCP– DXA with MW100– MW100 with PR300

HART– HART transmitter to MODBUS RTU on CX2000

Ethernet IP– Compact Logix and MW100

Page 37YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Procotol Gateways

Serial to Ethernet ConverterModbus RTU serial to MODBUS TCPDH+ to MODBUS TCPHART to MODBUS RTU serialMODBUS serial to DNP3

Page 38YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Ethernet / IP Details

There are two types of messaging

MW 100

Control Logix PLC-5 SLC500

Ethernet / IP

Scanner

Adapter- Explicit messaging

- I/O messaging

Page 39YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Configuration

Logix supports both type of messaging

RS Logix 5000 screen

I/O messaging by adding ethernet module

Explicit messaging with adding “MSG” instruction

Page 40YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Explicit Messaging (1)

Set communication path to MW 100

(1) put MSG instruction

(2) set path at “Communication” tab

RS Logix 5000 screen

Page 41YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

I/O Messaging (2)

Set IP address and access point to MW 100

RS Logix 5000 screen

(2) set connection point

* when input only connection, set 191 at output as a heart-beat.

Page 42YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

File number / Tag names in the MW100

File number / Tag names for Explicit messaging

– I/O Channel (001 to 060, max. 60 ch)

– Computation Channel (A001 to A300, max. 300 ch)

Ch. PLC2 PLC5 / SLC CIP int CIP dint CIP real

001 1000 N,D,F10:0 int [1000] dint [1000]

real [1000]

: : : : : :

060 1060 N,D,F10:60

int [1060] dint [1060]

real [1060]

Ch. PLC2 PLC5 / SLC CIP int CIP dint CIP real

A001

2000 N,D,F20:0 int [2000] dint [2000]

real [2000]

: : : : : :

A300

2299 N,D,F22:99

int [2299] dint [2299]

real [2299]

Page 43YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

File number / Tag names (2)

– Communication Channel (C001 to C300, max. 300 ch)

• With N file or CIP int tag, you can access to the data as short integer (word)

• With D file or CIP dint tag, you can access to the data as long integer (double word)

• With F file or CIP real tag, you can access to the data as real (float)

Ch. PLC2 PLC5 / SLC CIP int CIP dint CIP real

C001

3000 N,D,F30:00

int [3000] dint [3000]

real [3000]

: : : : : :

C300

3299 N,D,F32:99

int [2299] dint [3299]

real [3299]

Page 44YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Assembly

Assembly instances for I/O messaging

– Channels in Assembly Object

Ch. Kind Instance ID

Size Type

001 - 060 Producer 110 4 x 60 dint

A001 - A100 Producer 120 4 x 100 dint

A101 - A200 121 4 x 100

A201 - A300 122 4 x 100

C001 - C100 Producer / Consumer

130 4 x 100 dint

C101 - C200 131 4 x 100

C201 - C300 132 4 x 100

Configuration 190 0

Consumer 191 0

Page 45YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Protocol Gateways

Allow you to bridge between two devices that speak different protocolsOffered by many different vendors– Prosoft– Anybus (HMS)– Lantronix– Digi– Fieldserver– Equustek

Page 46YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

MODBUS RTU serial to MODBUS TCP

Page 47YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

DH+ to MODBUS TCP

Page 48YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

HART to MODBUS

Page 49YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Remote Access

Wireless Technology BackgroundTypes of Wireless RadiosCellular Modems

Page 50YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Microwaves, RC Cars, Cordless Phones, & Door Openers

These everyday devices use radio frequency technology

Microwave(2.5 GHz)

Garage Door Opener(300-400 MHz)

Cordless Phones(900MHz, 2.4GHz, 5.8GHz)

RC Toys(27 or 49 MHz)

Page 51YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 52YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Back to Basics

The Two Commonly Used Typesof Spread Spectrum Technology

FHSS

Frequency Hopping

DSSS

Direct Sequence

Page 53YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 54YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Wireless A B G

Page 55YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

DX104

DX104

DX104

RLX-FHE

RLX-FHE

RLX-FHE

RLX-FHE

10baseT

10BaseTEthernet

Data from Remote DX100’s & MW100’s is Consolidated in PC

PC running:• DAQStandard (configuration)• DAQLogger• SCADA/HMI with OPC

10baseT

10baseT

M1223UJ-A: RLX-FHE Frequency Hopping Ethernet (2.4GHz)

Page 56YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

UT351 with Radiolinx 802.11b Hotspot

Laptop with 802.11b“Wi-Fi” wireless ability

Laptop with 802.11b“Wi-Fi” wireless ability

RLX-IH

Page 57YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Expansion of RadioLinx® Line

Page 58YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 59YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Airlink Cellular Application Examples

Page 60YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 61YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

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 62YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Yokogawa OPC Products

KepServerEX

LinkMaster

U-Con

RedundancyMaster

SQLDataLogger

ClientAce

iSNMP Suite

Page 63YS1000 Release InformationCopyright © Yokogawa Electric CorporationJanuary 23rd, 2007

Internal Use Only

Application Software Demonstrations

DAQWorx data loggerYSuite Scada/HMIPrintwave (automatic trend/data printing)Reportwave (automatic custom reports)OPC to SQL databaseLabview with MW100