CX-Server OPC Redundancy Quick Start Guide



Similar documents
Technical Note. Configuring an Omron PLC with Omron FINS Ethernet Driver. 1. Introduction

FINS Gateway For OMRON PLCs

Wireless LAN g USB Adapter

Andover Continuum Remote Communication Configuration Guide

M-series Virtual I/O Module 2

Smart Control Center. User Guide. 350 East Plumeria Drive San Jose, CA USA. November v1.0

DataWorX32 Professional Getting Started with Redundancy

MBP_MSTR: Modbus Plus Master 12

Flexi Soft Ethernet IP: Implicit Messaging with a Omron PLC

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

Integration with IP Phones

Modbus and ION Technology

Configuring a Gateway of Last Resort Using IP Commands

StarWind iscsi SAN Software: Configuring High Availability Storage for VMware vsphere and ESX Server

GE Fanuc Automation. CIMPLICITY HMI Plant Edition. Server Redundancy. CIMPLICITY Monitoring and Control Products. Operation Manual

Lab Creating a Logical Network Diagram

Stratix 5700 Network Address Translation. Quick Start

Cisco - Configure the 1721 Router for VLANs Using a Switch Module (WIC-4ESW)

Beckhoff TwinCAT. Assigning IP Addresses to Beckhoff Ethernet Devices

IDDERO HOME SERVER. Quick start guide

Using the AnyBus -X Gateway to Communicate between a DVT camera and a Profibus Master

CREATING AN IKE IPSEC TUNNEL BETWEEN AN INTERNET SECURITY ROUTER AND A WINDOWS 2000/XP PC

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability storage with Windows Server 2003 and 2008

Back-up Server DOC-OEMSPP-S/2014-BUS-EN-10/12/13

Configuring PROFINET

Networking Basics for Automation Engineers

Pulse Redundancy. User Guide

StarPort iscsi and ATA-over-Ethernet Initiator: Using Mirror (RAID1) disk device

StarWind iscsi SAN Software: Providing shared storage for Hyper-V's Live Migration feature on two physical servers

HP ProLiant Cluster for MSA1000 for Small Business Hardware Cabling Scheme Introduction Software and Hardware Requirements...

Lab Diagramming External Traffic Flows

QuickStart Guide vcenter Server Heartbeat 5.5 Update 2

Computer Networks I Laboratory Exercise 1

Ross Video Limited. DashBoard Server and User Rights Management User Manual

Wireless-N. User Guide. PCI Adapter WMP300N (EU) WIRELESS. Model No.

Backup Server DOC-OEMSPP-S/6-BUS-EN

Using the WAGO PROFINET Coupler as Remote I/O with a Siemens S7 PLC

SonicWALL Global Management System Configuration Guide Standard Edition

IDDERO HCx-KNX TOUCH PANELS. Quick start guide

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

EPSON Scan Server & EPSON TWAIN Pro Network

Watchdog Monitor user guide

WinCC Options. Redundancy. Manual C79000-G8263-C142-01

R70 Ethernet to CAN interface Software reference manual (1.3 EN)

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

AKD EtherNet/IP Communication

EZ-ZONE RMA & EtherNet/IP Configuration & Startup Using an Allen-Bradley CompactLogix PLC EtherNet/IP Fundamentals

Appendix C Network Planning for Dual WAN Ports

SNMP Agent. Functional Description and Specifications Version: 1.1 March 20, Simple Network Management Protocol Option S for IE and PM Modules

ebus Player Quick Start Guide

Avigilon Control Center System Integration Guide

RouteFinder SOHO. Quick Start Guide. SOHO Security Appliance. EDGE Models RF825-E, RF825-E-AP CDMA Models RF825-C-Nx, RF825-C-Nx-AP

Lab Diagramming Intranet Traffic Flows

Integrated Citrix Servers

Industry White Paper. Ensuring system availability in RSView Supervisory Edition applications

Keeper Care System Data Manager Version 1.0

WorkstationST* Network Monitor

Lab Characterizing Network Applications

WinCC Runtime Professional Readme SIMATIC HMI. WinCC V11 SP1. Readme WinCC Runtime Professional. Special considerations for Windows 7.

Chapter 1 Implement EIGRP operations Chapter 2 Implement multiarea OSPF operations Chapter 4 Implement Cisco IOS routing features...

Configuring the WT-4 for Upload to a Computer (Ad-hoc Mode)

The Project Management Software for Outlook, Web and Smartphone

Custom Solutions Center. Users Guide. Low Cost OEM PackML Templates L02 Release. Version LC-1.0

Transferring Media Between K2 Summit 3G Media Server Systems with the K2 Dyno S Replay Controller in Live Replay Environments

FactoryTalk View Site Edition V5.0 (CPR9) Server Redundancy Guidelines

HP ProLiant DL380 G5 High Availability Storage Server

A Division of Cisco Systems, Inc. GHz g. Wireless-G. PCI Adapter with RangeBooster. User Guide WIRELESS WMP54GR. Model No.

Clearswift SECURE Exchange Gateway Installation & Setup Guide. Version 1.0

SIMATIC PCS 7. SIMATIC Maintenance Station PDM A stand-alone Solution. Siemens AG All Rights Reserved.

Redundant Gigabit Backbone Adds Speed and Reliability to Industrial Networks

Broadband Router ESG-103. User s Guide

How To Load Balance On A Cisco Cisco Cs3.X With A Csono Css 3.X And Csonos 3.5.X (Cisco Css) On A Powerline With A Powerpack (C

Configuration of a Load-Balanced and Fail-Over Merak Cluster using Windows Server 2003 Network Load Balancing

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

TPP Date: March 2010 Product: ShoreTel NICE System version: ShoreTel 9.2

Step-by-Step Guide for Creating and Testing Connection Manager Profiles in a Test Lab

Using the Control Panel for Wireless Network Installation. WorkForce 600 Series Artisan 700 Series

Preparing the Computers for TCP/IP Networking

LOAD BALANCING 2X APPLICATIONSERVER XG SECURE CLIENT GATEWAYS THROUGH MICROSOFT NETWORK LOAD BALANCING

Intel Active Management Technology with System Defense Feature Quick Start Guide

Remote Connection to a WAGO using a High-Speed Internet connection Application note

SoftRAID 5 QUICK START GUIDE. for OWC ThunderBay

SPPA-T3000 Control System The Benchmark in Controls

DTAP3000 DTSX3000 Control Visualization Software LAS2.0 Data Conversion Guide

Step by Step Bandwidth Management

Network Interface Panel User s Guide NPD EN

Device Interface IP Address Subnet Mask Default Gateway

Deploying Remote Desktop IP Virtualization Step-by-Step Guide

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

Technical Note. Monitoring Ethernet Traffic with Tolomatic ACS & Managed Switch. Contents

Step By Step Guide: Demonstrate DirectAccess in a Test Lab

Any system currently running the Schneider Electric MBX Driver Suite or any activated Cyberlogic software suite.

TFTP Firmware upgrade

AvePoint Record Rollback for Microsoft Dynamics CRM

TSX ETY 110 Module 8

Configuring the Fabric Interconnects

Configuring Omron CJ2H PLC s with Ethernet/IP for use with Acromag Ethernet/IP Remote I/O

Failover Manager for WhatsUp Gold v16.0 Quick Start Guide

Transcription:

CX-Server OPC Redundancy Quick Start Guide Version 2.0 Page 1

CX-Server OPC Redundancy Quick Start Guide ª OMRON, 2008 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON. All copyright and trademarks acknowledged. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication. Warning: Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each chapter in its entirety and be sure you understand the information provided in the chapter and related chapters before attempting any of the procedures or operations given. Page 2

Table of Contents Introduction... 4 Overview... 5 Redundancy Levels...5 Fins Gateway Communications...5 Principles of Operation...5 Ethernet NIC s... 7 Installation...7 Configuration...7 CX-Server OPC Configuration... 8 CX-Server Project...8 Redundancy configuration...8 Device configuration... 9 IP addresses and Subnet Masks...9 IP address table...9 PLC Programming... 10 FB Configuration... 10 OPC Client application... 12 Device Names... 12 OPC System Items... 12 Data Read / Write... 13 Appendix A System Diagram... 14 Appendix B FB Configuration Example... 15 Page 3

CX-Server OPC Redundancy Quick Start Guide Introduction The purpose of this document is to act as a starter guide to creating a redundant system, with the use of CX-Server OPC and PLC function blocks (FBs). It is expected that this example would be used as a base for developing your own redundant solution using CX-Server OPC. It is recommended to contact your local representative for further information on redundant solutions. Page 4

Overview Redundancy Levels CX-Server OPC and the supplied Redundancy Control function blocks (FB) support multiple levels of redundancy - device redundancy and optional network redundancy. This document assumes a full redundant system with dual networks is being configured. Fins Gateway Communications It is recommended to use CX-Server communications in a redundant environment. If you do choose to use Fins Gateway communications note that it does not support dual network redundancy. Principles of Operation In order to successfully design and configure a redundant solution it may be an advantage to understand some of the principles that are used in CX-Server OPC and the Redundancy Control function blocks. These most important of these are discussed in the following sections. Device / Partner Relationship A device in a redundant pair has equal status to it s partner. That is, there is no master/slave hierarchy but rather a peer-to-peer relationship. Each device communicates with it s partner (via Network Receive PLC instructions) in order to detect device and/or network failure. The Redundant Control FBs usually operate in stand-alone mode in which they have sole responsibility for deciding whether to become active or not, no input from CX-Server OPC is required. FB / Server Relationship CX-Server OPC communicates with the Redundancy Control FBs using Input and Output words. These are used to send commands to the device and for the device to report it s status. Refer to the section titled FB Configuration for the structure of these words. CX-Server Device Relationship In a redundant system, CX-Server OPC is connected to both devices in a redundant pair yet only a single virtual device is exposed to OPC clients. All OPC read requests are performed on the currently active device. To ensure data integrity and smooth changeovers, all OPC write requests are sent to both the currently active device and it s partner. Page 5

CX-Server OPC Redundancy Quick Start Guide Switchover Behaviour The following sections discuss switchover conditions and how the Redundancy Control FBs and CX-Server OPC react to them. PLC / FB In each device, an incrementing Lifecycle Word is read by it s peer device in order to determine it s status. If it is incrementing as expected the device is considered to be healthy. If the device is powered off, or enters program mode or fatal error, the Lifecycle Word is no longer incremented and so the device is considered to have failed. In this case the partner device will attempt to become active. Note that if communications are restored and the lifecycle word of the originally active device is able to be read, the device will remain active (there is no device preference). CX-Server OPC The output words of all devices in the redundant system are read by CX-Server OPC. This status information is used to monitor the state of the system and to route OPC client requests to the correct (currently active) device. If the connection to the currently active device is lost CX-Server OPC will respond according to the value of the OPC item AutoSwitch. If set, CX-Server OPC will make it s own decision on which device is currently active. If it is not set, the Active/InActive flags will be used. Network Preference In a redundant system with dual networks the devices are monitored via both networks. In case of failure, the currently active network is changed to the secondary network. It is worth noting that CX-Server OPC will continue to monitor the status of the primary network and will switch back once communications have been restored. Page 6

Ethernet NIC s Installation Refer to the manufacturer s instructions for details on how to install the Ethernet NIC s. Configuration If dual network redundancy will be used, it is suggested that the NIC s are configured in the following way in order for Windows networking to route device communications through the correct network. On the NIC s Internet Protocol (TCP/IP) Properties dialog, set the IP address and subnet masks like in the example below. NIC Number IP Address Subnet Mask 1 10.0.10.50 255.255.255.0 2 10.0.11.50 255.255.255.0 The networks are separated by the use of different subnet identifiers in the third part of the IP address (10 or 11 in this example). It is important that the last part of the IP address is the same for every NIC, as it is used for the node number of the PC on the network(s). Page 7

CX-Server OPC Redundancy Quick Start Guide CX-Server OPC Configuration CX-Server Project The CX-Server Project (.CDM file) is configured in the same way as in a non-redundant system; the method used for adding devices and points is no different. Note that for each redundant pair only one device (and its associated points), should be added to the project. Redundancy configuration The Redundancy Settings dialog is used to configure the redundant devices. In the example below there is a single redundant pair of CS1G-H PLC s which are configured to use dual network redundancy. Node and Network Numbers The node and network numbers entered here should match those configured in the PLC s Ethernet Bus Units. PLC Status Location This is the address of the Output Word of the redundancy control FB. The name of a point can also be used here. Page 8

Device configuration The PLC s IO table and bus unit configuration (IP address and node number), should match what was entered in the Redundancy Settings dialog. IP addresses and Subnet Masks As with the Ethernet NIC s on the PC, subnet masks are used in combination with the IP addresses in order to split communications between the two networks. For example, based on the Redundancy Settings dialog above, the IP address configuration of the device s Ethernet Bus Unit connected to the redundancy network would be: 10.0.11.21, and have a subnet mask of 255.255.255.0. It is important that the first 3 parts of the IP address matches the first 3 parts of the NIC s IP address. IP address table A number of network node / IP addresses are required to be added to each of the Ethernet Bus Units: The PC on which CX-Server OPC is running. The device s partner. This is required by the network send and receive function used in the Redundancy Control FB. It is also recommended to add the device s own network node and IP address in the list. Note that in most cases the combined conversion option should be used. Page 9

CX-Server OPC Redundancy Quick Start Guide PLC Programming The supplied Redundancy Control FB can be dropped in to a CX-Programmer project to easily add redundancy control capabilities to a PLC program. FB Configuration There are a number of input and output parameters that require configuration. Some of them are standard to all FBs, others are used to set runtime options. The network and node number inputs variables are required by the device/partner communications functions. Input Parameters Many of these match the Ethernet Bus Unit settings for the devices. EN Standard FB input. Enable Included for use by future customisations of the Redundancy Control FB, to enable/disable internal parts. InputWord This must be the address of the PLC Status Location set in the Redundancy Settings dialog plus 4 words. It is used by CX-Server OPC and connected clients to send command messages to the device. See the section titled OPC Output Items for more details. RecoveryDelay This is used by the FB to avoid potential clashes between devices in a redundant pair. The value of this input must be different in a device and it s partner. PartnerPrimaryNetwork This is the network number of the partner s primary network. PartnerPrimaryNode This is the partner s node number on the primary network. EnableSecondaryNetwork In a dual network system this should input should be set to P_On. Otherwise it should be set to P_Off in order to disable secondary network functionality. PartnerSecondaryNetwork This is the network number of the partner s secondary network. PartnerSecondaryNode This is the partner s node number on the secondary network. Page 10

DevicePrimaryNodeNum This is the device s node number on the primary network. Output Parameters These are provided for use by the host PLC program and in the case of OutputWord, by CX- Server OPC. ENO Standard FB output. OutputWord This is the address of the PLC Status Location set in the Redundancy Settings dialog. It is used by CX-Server OPC and connected clients to monitor the device s redundancy related status. RunPLC Set to On if the Redundancy Control FB considers that the PLC should be active. PartnerConnected_Primary Set to On if the Redundancy Control FB is able to communicate with the partner device via the primary network. PartnerConnected_Secondary Set to On if the Redundancy Control FB is able to communicate with the partner device via the secondary network. Internal Variables The Specified Address of the internal variable SourceData, must match the PLC Status Location entered in the Redundancy Settings dialog. Program Differences It is worth noting that the PLC programs in a device and it s partner are identical. The only exception to this is the input variables of the Redundancy Control FB (eg PartnerPrimaryNetwork). Stand Alone Operation The Redundancy Control function blocks are solely responsible for monitoring the partner devices for failure and deciding to switch between active and inactive states. CX-Server OPC can send commands to the devices (via the InputWord parameter) but for purely monitoring a redundant system, this is not required. Page 11

CX-Server OPC Redundancy Quick Start Guide OPC Client application Device Names The names of the devices exposed to an OPC client follow a simple convention; suffixes are appended to the device name set in the CDM file which refer to the virtual device s network redundancy level in addition to it s device/partner status. With a CDM file containing a single device called MyPLC the following devices would be exposed to an OPC client in a redundant system with dual networks. Name MyPLC MyPLC_2 MyPLC_P MyPLC_P_2 Description Configured device, first network Configured device, second network Partner device first network Partner device, second network OPC System Items A number of built-in system items are exposed to OPC clients which can be used to monitor the status of any device in addition to the system as a whole. Some of the most useful ones are discussed in the following sections. Refer to the CX-Server OPC manual for a complete list of items including further descriptions. OPC Input Items These OPC items expose the output word of the Redundancy Control FB and can be used to monitor the state of any device in a redundant system. For example, the Active / InActive can be used to determine which device is currently the active device. OPC Output Items These OPC items expose the input word of the Redundancy Control FB and can be used to send commands to a device in a redundant system. Note that the Redundancy Control FB will only respond to these commands if the UseFBInput flag is set. This is a Boolean OPC item which can be written to in the usual way. Changing the Active Device There are three OPC output items that allow OPC clients to decide which device in a redundant pair is active. Two of these items are quite simple; MakeActive causes the device to be active, MakeInactive causes the device to be inactive. Setting ForceRunPLC causes the device to be active and stay in this state until it is reset. Page 12

FB Generated Alarms The OPC output items include two alarm items; ProgChangeAlm (the device s program has changed) and PartnerFailAlm (the device has lost peer-to-peer communications with it s partner). These alarms can be acknowledged by setting the corresponding OPC input flags; AcceptPCAlarm and AcceptPFAlarm. Monitoring Device Status A number of the system points can be used to get a complete picture of the state of the devices in a redundant system. Status and StatusText indicate the current status of a device in OPC hexadecimal and an easy to read textual representation. For example, a Status of 0x1c would co-respond to a StatusText of OPC Quality Out of Service. The value of the OKConnections OPC item coresponds to number of currently valid connections to a device (e.g. in a system with both device redundancy and network redundancy this value will normally be 4). FatalError is a Boolean OPC item and indicates that the device has gone into a fatal error condition. The AutoSwitch OPC item affects how CX-Server OPC treats a communications loss. If set, it will treat the device as inactive regardless of the Active and InActive flags. If it is not set, the redundancy is under full FB control. Data Read / Write In a redundant system an OPC client sees a single connected device, which in fact consists of two physical devices which are effectively duplicates of each other in terms of programs, data, I/O connectivity etc. All OPC read requests use the current active device. All OPC write requests are sent to both the active and inactive devices. This is to ensure that, in the event of a switchover, the newly active device has the same data as it s partner. Write Loading It is worth noting that due to this single-read, double-write operation, any processing requirements and network traffic associated with OPC write requests are effectively doubled, by the introduction of partner devices and redundant systems. Page 13

CX-Server OPC Redundancy Quick Start Guide Appendix A System Diagram A diagrammatic view of the redundant system used as an example in this document. Page 14

Appendix B FB Configuration Example The table below lists example input/output values for the Redundancy Control FB of the partner device shown in the Redundancy Settings dialog screenshot. Parameter Name Value EN P_On Enable P_On InputWord D4 RecoveryDelay #30 PartnerPrimaryNetwork &4 PartnerPrimaryNode &20 EnableSecondaryNetwork P_On PartnerSecondaryNetwork &12 PartnerSecondaryNode &21 DevicePrimaryNodeNum &30 ENO W3.00 OutputWord D0 RunPLC W0.00 PartnerConnected_Primary W1.00 PartnerConnected_Secondary W2.00 Page 15