Tech Note 587 Monitoring Communication Between InTouch, a DAServer

Similar documents
This tech note will explain how to use the following parameters in Configurator General Parameters.

Communication to End Device Going In and Out of Slow Poll Mode

1. Under Application Objects, open the $Tank object and then open the $TankDisplay as shown in Figure 1 (below).

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Tech Note 751 Installing InBatch Report Contents for Wonderware Information Server (WIS)

Introduction. Configuration: Entity and OCO Modeling. Application Version: OCO General Configuration

This Tech Note describes modem connections using DAServers and provides some guidelines on how to make the modem connection work.

Tech Note 400 Configuring Remote Connections for Windows 2000/2003/XP

Tech Note 743 Configuring Reporting Services 2008 Configuration for a New Host Name in Windows 2008 R2

Tech Note 652 Changing an ArchestrA Symbol's Custom Property Expression or Reference in Runtime

Part I: Setting up Bristol Babcock's OPC Server

Enabling Cross-Machine Distributed Transactions (via MSDTC)

Introduction. Notes. Important Considerations. Application Versions. Assumptions. 8/22/13 Setting Up Historian Servers for Tier-2 Summary Replication

Tech Note 1010 SQL Server Authentication and ArchestrA Network Account Restrictions When Installing Wonderware Historian

8/22/13 Configuring the SST5136SD PCI Card Using the New SSTDHP IO Server V8.1 or the DASDHPlus Server

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

8/23/13 Configuring SIDirect DAServer to Communicate with S7 PLC Over TCP Connection

Tech Note 338 How to Change the ActiveFactory Reporting Website Default Install Location

Introduction. Symbol Script Timeout Setting. Sample MES Custom Code in Symbol Script. Application Versions. Sample Code

Tech Note 612 Upgrading DLL Version Mismatches Between CBM Solution and System Platform

8/22/13 Configuring Windows SharePoint Services for PEM v1.0 to Work with SuiteVoyager v2.6

Introduction. Tech Note 884 Setting Up Historian Servers for Tier-2 Summary Replication

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Tech Note 920 Resolving Disabled ActiveFactory Reporting Website for Wonderware System Platform R2

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Note: Not all messages in the log are indicative of a problem. Contact Technical Support if questions arise.

Tech Note 957 Creating Custom Password Entry on Intermec-Supported Handhelds

Using Network Application Development (NAD) with InTouch

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

How To Write A Summary On A Historyorian Server

Introduction. Application Versions. Assumptions. Delete $$ExportTempFolders. Tech Note 930 Wonderware System Platform Clean-up Guide

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

Tech Note 847 Installing Wonderware Information Server (WIS) on the Windows Server Window 7 64 and 32-bit Operating System

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Tech Note 912 Using Alternate TCP Port Numbers with Modbus Ethernet DAServer

Introduction. Back Up the Runtime Database. Application Versions

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

To allow SQL Server Agent to trigger when a report is executed, we need to provide a set of report group types.

Tech Note 551 Configuring SQLMail or Database Mail for the Historian Event

Tech Note 1035 Moving the Historian Runtime Database to Another Machine Using SQL Server 2012

Tech Note 1042 Solving Historian Memory Issue with SQL Server MemToLeave Configuration

Instead, use the following steps to update system metadata that is stored in sys.servers and reported by the system function

Migrating QI 8.0 Admin and Process Databases from Microsoft Access to Microsoft SQL Server

This Tech Note describes working with Microsoft Reporting Services in order to publish InBatch Reports to Wonderware Information Server.

Introduction. Issues. Symptoms. Application Versions. Case 1: Deploy an ArchestrA Object - UDO4DevUsers_001_001 - Has Error Messages

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Industrial Application Server Redundancy: Troubleshooting Guidelines

Implementing the system using these guidelines should improve your system performance for a large database while your database grows in size.

8/23/13 Configuring the Wonderware SECS-II/GEM Host Creator (SERIAL-RS232)

Introduction. Application Versions. Compatibility and System Requirements. Firewall and DCOM Settings

How To Migrate Qi Analyst To A New Database On A Microsoft Access (Windows) From A New Version Of Qi.Io To A Newer Version Of A New Qi 8.0 (Windows 7.3

This Tech Note provides detailed guidelines and options for defragmenting and maintaining your production databases.

This Tech Note provides step-by-step procedures to install Microsoft SQL Server 2012 on a 32- or 64-bit Operating System.

Note: This Tech Note was formerly titled Installing Microsoft SQL Server 2008 for Wonderware Historian v10.0.

Security Settings for Wonderware Products

Tech Note 905 Troubleshooting Wonderware Information Server (WIS) Part Six: ArchestrA Graphics No Live-Data

Tech Note 813 Troubleshooting Wonderware Information Server (WIS) Part Four: Client License Release

8/23/13 Configuring the S7 I/O Server for Windows 95 to Access S7 PLCs Via the Profibus Network

8/23/13 Configuring the S7 Server for Windows NT 4.0 to Access S7-400 PLCs via the Siemens CP1613 Card for ISO (Industrial Ethernet)

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Kepware Technologies KEPServerEX Client Connectivity Guide for Wonderware InTouch

Installing the TCP/IP Network Protocol

InTouch HMI Scripting and Logic Guide

2011, The McGraw-Hill Companies, Inc. Chapter 5

Installing An ActiveX Control in InTouch

SHORT TRAINING COURSES

Tech Note 53 Configuring the Siemens SINEC H1 CP1413 for Windows NT

Wonderware Historian Client Installation Guide. Invensys Systems, Inc.

Connecting System Platform to TOP Server. Using the SuiteLink DI Object

InTouch Example Description

The goal is to program the PLC and HMI to count with the following behaviors:

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

Alarm Display. Tips & Tricks DIANA SMIT. Tel: 0861-WONDER Fax: (011)

LOWER TOTAL COST OF OWNERSHIP & INCREASED PRODUCTIVITY

Understanding TOP Server Scan Rate Settings as They Affect Wonderware InTouch Applications

Tech Note 213 Finding Memory Leaks in Windows 95/98/98SE Using System Monitor

STEP 7 MICRO/WIN TUTORIAL. Step-1: How to open Step 7 Micro/WIN

How Wonderware Software Addresses the Top Challenges of the Municipal Water and Wastewater Business. Steve Garbrecht, Director of Product Marketing

Terminal Services for InTouch 7.1/7.11. Terminal Services for InTouch 7.1/7.11 PRODUCT POSITION PRODUCT DATASHEET

The Benefits of Component Object- Based SCADA and Supervisory System Application Development

ENGINEERING NOTE. Connectivity to Allen-Bradley Controllers

LADDER LOGIC/ FLOWCHART PROGRAMMING DIFFERENCES AND EXAMPLES

Introduction to LogixPro - Lab

abc Operations Viewer and Server Product Data MODELSOpsF,OpsS,OpsW

How to use KEPServerEX OPC Server (Kepware) with iologik 4000 (Modbus TCP/IP NA-4010 and Modbus Serial NA-4020/NA-4021)

Wonderware FactorySuite

WW HMI SCADA-11 System Platform Best Practices 1: Engineering Efficiencies

Wonderware Allen-Bradley ControlLogix I/O Server

InTouch 9.0. Wonderware InTouch 9.0. Data Sheet. Visualization Software OVERVIEW POWER AND VERSATILITY. b Powerful and Flexible.

Programming A PLC. Standard Instructions

Pipeliner CRM Phaenomena Guide Sales Pipeline Management Pipelinersales Inc.

Quick installation guide for the Vista Quantum QNVR Network Video Recorder

Wonderware Finland solutions for alarm management in power industry

Wonderware. SCADAlarm User's Guide. Invensys Systems, Inc. Revision A Last Revision: 10/21/04

Adobe Digital Signatures in Adobe Acrobat X Pro

Memory Management Simulation Interactive Lab

Transcription:

Tech Note 587 Monitoring Communication Between InTouch, a DAServer and a PLC All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 002343 C reated: March 2009 Introduction This Tech Note discusses two ways to monitor the communication between InTouch and a PLC or other type of end device. The first option uses status bits built into InTouch and DAServers to determine connection status. The second option uses a heartbeat tag between InTouch and the PLC using InTouch scripts. This Tech Note describes how to use both methods to produce the best results. Procedure This example illustrates monitoring the connection between a PLC and an InTouch application using the ABCIP DAServer. The application name and I/O items will differ depending on what DAServer is used. Follow these steps to set up the PLC $SYS$STATUS bit, InTouch IOStatus bit, and heartbeat so that they can monitor the communication status between InTouch and a PLC. Configure the $SYS$Status Status Bit DAServers have a Device- Specific System Item called $SYS$STATUS. This is a binary status indication of the connection to the PLC or end device. Once you have requested items and have received initial data from the PLC, this item changes to FALSE if there is an error communicating with the device. Note: This Tech Note assumes that you have already installed and configured a DAServer to get data from a PLC or other end device. In your InTouch application, create an Access name that points to a device group in your DAServer. If one already exists go on to the next step. 1. Open WindowMaker, and click Special/Access Names on the main menu. 2. Add a new Access Name that will be used to get data from your DAServer. In this example (Figure 1 below) the Access Name is SLC500, and DASABCIP is used along with a device group called SLC500_Group1. The SLC500_Group1 device group has been previously added to the DAServer configuration. SuiteLink is the protocol and only active items are advised. https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 1/9

FIGURE 1: ADD AND CONFIGURE ACCESS NAME 3. Click OK to save and exit. 4. Click Special/Tagname Dictionary. 5. Click the New button and create an I/O Discrete tag called SLC500_PLCStatus. 6. Set the Access Name to the one created in Step 2. 7. Type $SYS$STATUS in the Item field (Figure 2 below). 8. Conifgure other details to match Figure 2, then click Save and Close. Note: If there is more than one Access name in the InTouch application that is configured to get data from the same PLC or end device, only one Access Name/device group per PLC needs to be monitored for connection status. FIGURE 2: I/O DISCRETE TAG AND SETTINGS Note: Repeat the procedure in step 1 for each PLC or end device to be monitored. Configure the IO Status Bit https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 2/9

InTouch has built- in functionality to monitor SuiteLink connections. Configure an Access Name in order to connect to the InTouch View process. 1. In WindowMaker, click Special/Access Names. 2. Click the Add button and create an Access Name called IOStatus. 3. Type view for the Application Name and IOStatus for the Topic Name. 4. Select SuiteLink for the protocol and other settings included in Figure 3 (below): This Access Group can be used to monitor the connection to any application. The Access Name is arbitrary, but the Application Name and Topic Name must be view and IOStatus. FIGURE 3: IOSTATUS ACCESS NAME 5. Click OK to save. 6. Click Special/Tagname Dictionary. 7. Click the New button and create an I/O Discrete tag. This tag will be used to monitor the SuiteLink connection to your DAServer. In this example the tag name is DASABCIPStatus. 8. Select IOStatus for the Access Name. For the item name, enter the Access name that was created in Step 2 to communicate with the PLC or end device. SLC500 is used for this example. Repeat this step for each DAServer to be monitored. https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 3/9

FIGURE 4: DASABCIP STATUS TAG Create a Heartbeat Tag A heartbeat tag can be used to monitor the connection of InTouch all the way to the PLC or end device. The heartbeat tag can provide additional information on the status of the PLC. For example, if the PLC program stops, the connection to the PLC is still good so the DAServer $SYS$Status tag will indicate a Good status. However, the heartbeat tag will stop updating. This indicates a problem at the PLC. 1. Create a timer in the PLC. 2. In WindowMaker, click Special/Tagname Dictionary from the main menu. 3. Click the New button and create an I/O Integer tag. For this example the Item is the t4:0.acc counter in the SLC500 PLC, and the tag is called SLC500Timer (Figure 5 below). FIGURE 5: I/O INTEGER TAG FOR THE PLC SECONDS COUNTER https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 4/9

4. Click Save and Close. 5. Create and save a Memory Integer tag called Counter (Figure 6 below). FIGURE 6: MEMORY INTEGER TAG FOR COUNTER DISPLAY 6. Click Special > Scripts > Data Change Scripts. Create a Data Change script for the tag SLC500Timer that resets Counter to zero (Figure 7 below). FIGURE 7: DATA CHANGE SCRIPT FOR SLC500 TIMER https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 5/9

7. Validate and Save your changes. 8. Create another Data Change script for the InTouch system tag $Second that increments Counter by one (Figure 8 below). FIGURE 8: DATA CHANGE SCRIPT FOR INCREMENTING COUNTER 9. Validate and Save all your changes. 10. In the Tagname Dictionary create a Memory Discrete tag called WatchdogStatus and set the initial value to On (Figure 9 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 6/9

FIGURE 9: SET WATCHDOGSTATUS TO ON 11. Click Special > Scripts > Data Change Scripts. 12. Create an OnTrue Condition Script. If the Counter is greater than 9, set the WatchdogStatus to 0 (Figure 10 below). FIGURE 10: CONDITION SCRIPT FOR SETTING WATCHDOGSTATUS TO FALSE 13. Validate and Save your changes. 14. Create another OnTrue Condition Script: If Counter is less than or equal to 9 set it to 1 https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 7/9

(Figure 11 below). FIGURE 11: CONDITION SCRIPT FOR SETTING WATCHDOGSTATUS TO TRUE The WatchdogStatus will be set to FALSE if 10 seconds lapse without an updated value from the PLC. Once the status tags have been configured in the InTouch application, they can be displayed or used in other logic to generate messages to indicate a problem with communications to a PLC or end device. The following graphic shows an example InTouch window that displays the status indicators (Figure 12 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 8/9

FIGURE 12: INTOUCH MONITORING WINDOW EXAMPLE Click the following icon to view this file in.pdf format: D. Schell-Stirland Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, C A 92630. There is also technical information on our software products at Wonderware Technical Support. For technical support questions, send an e-mail to support@wonderware.com. Back to top 2013 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc. Terms of Use. https://wdnresource.wonderware.com/support/kbcd/html/1/t002343.htm 9/9