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



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

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

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

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

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

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

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

Enabling Cross-Machine Distributed Transactions (via MSDTC)

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

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

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

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

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.

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

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

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

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

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

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

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

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

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

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

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

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.

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

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

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 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Part I: Setting up Bristol Babcock's OPC Server

Industrial Application Server Redundancy: Troubleshooting Guidelines

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

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

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

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

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

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

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

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

How To Write A Summary On A Historyorian Server

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

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

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

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

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

Introduction. Back Up the Runtime Database. Application Versions

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

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.

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

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

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

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)

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

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

Installing the TCP/IP Network Protocol

Using Network Application Development (NAD) with InTouch

Security Settings for Wonderware Products

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

Modbus and ION Technology

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

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

Self Help Guide IMPORTANT! F5D Setting Up An Ad Hoc Connection. Please read the following carefully;

Modbus and ION Technology

EtherNet/IP Scanner Configuration for the Moxa MGate 5105-MB-EIP

The Answer to the 14 Most Frequently Asked Modbus Questions

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.

Computer Networks I Laboratory Exercise 1

7. Configuring IPSec VPNs

Pulse Redundancy. User Guide

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

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

Network Installation Guide. Artisan 810 Series

RcWare SoftPLC Modbus server mapping editor User manual

Wonderware Historian Client Installation Guide. Invensys Systems, Inc.

APNT#1168 Modbus - Establishing Communications Hints

Using KEPServerEX OPC Server (Kepware)with the iologik E2210

Network Installation Guide

Integration with IP Phones

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

Technical Brief for Windows Home Server Remote Access

Advantech WebAccess Device Driver Guide. BwSNMP Advantech WebAccess to SNMP Agent (Simple Network Management Protocol) Device Driver Guide

NTP Receiver/Software Installation Guide

VPN Wizard Default Settings and General Information

Lync for Mac 2011 Deployment Guide

Setup Guide Access Manager Appliance 3.2 SP3

Additional Setup Instructions for Modbus: RTU, ASCII, TCP, Omni & Enron

Network Installation Guide. WorkForce 610 Series Artisan 710 Series

1 Application Description System Topology Hardware and Software Requirements... 3

PaperCut Payment Gateway Module - RBS WorldPay Quick Start Guide

One of the following messages will appear in red when DisplayStudio is not properly connected to a media player on the wireless network.

User Guide Novell iprint 1.1 March 2015

Network Client. Troubleshooting Guide FREQUENTLY ASKED QUESTIONS

Using Enhanced Feature Keys and Configurable Soft Keys on Polycom Phones

Network Installation Guide. WorkForce 600 Series Artisan 700 Series Artisan 800 Series

How to Connect WinCC V6 to TOP Server OPC Servers

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

APPLE PUSH NOTIFICATION IN EMC DOCUMENTUM MOBILE APPLICATION

Remote Access. Table Of Contents. Rev: 3.30, 8/03

Transcription:

Tech Note 693 Using DASMBTCP to Solve Third-Party Modbus Device Communication Problems 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#: 002465 Created: March 2010 Introduction The MBTCP DAServer is used to communicate to Modbus Devices over Ethernet. This Tech Note describes Common communication issues between the DASMBTCP object and third-party Modbus-compliant devices. Troubleshooting tips and solutions. Note: This Tech Note assumes you have a basic understanding of DAServers. You should also be familiar with generic Modbus devices. Application Versions DASMBTCP: 1.5 SP1 and later Communication to End Device Going In and Out of Slow Poll Mode This is a common occurrence when communicating to end devices that do not support multiple outstanding messages. By default, DASMBTCP will send up to four messages to the end device without receiving an answer back. Once there are four outstanding messages, DASMBTCP will wait for the end device to answer. Below is a simplified example for the poll cycle for end devices that support this: DASMBTCP sends a poll for register 400001 through 400005. DASMBTCP sends a poll for register 000001 through 000005. DASMBTCP sends a poll for register 100001 through 100005. DASMBTCP sends a poll for register 300001 through 300005. End device sends a reply to the first poll (400001 through 400005). End device sends a reply to the second poll (000001 through 000005). End device sends a reply to the third poll (100001 through 100005). End device sends a reply to the fourth poll (300001 through 300005). Cycle starts again. Some end devices do not support this and will ignore all but the first poll message. For example: DASMBTCP sends a poll for register 400001 through 400005. DASMBTCP sends a poll for register 000001 through 000005. DASMBTCP sends a poll for register 100001 through 100005. DASMBTCP sends a poll for register 300001 through 300005. End device sends a reply to the first poll (400001 through 400005). End device ignores the remaining polls. DASMBTCP waits for the second reply. Since the PLC has ignored this poll, DASMBTCP times out and goes to slow poll mode. After the slow poll period, this process starts again. To resolve this issue, set the Maximum outstanding messages parameter to a value that the end device supports. If the end device does not specify this parameter, set Maximum outstanding messages to 1. https://wdnresource.wonderware.com/support/kbcd/html/1/t002465.htm 1/7

FIGURE 1: MAXIMUM OUTSTANDING MESSAGE CONFIGURATION Floating Point Values Are Not Displaying Correctly DASMBTCP supports the 32-bit single precision floating point data type. You can use two consecutive registers to hold a floating point value that DASMBTCP can access. Enter the first register followed by a space and the letter F. For example: 400001 F. When accessing a floating point value on some end devices, the value may be incorrect. For example, if a value of 123.45 is expected but a value of -2.7E+38 is being returned, the order of the two 16 bit registers that make up the 32-bit floating point value must be reversed. This can be done by selecting (or unselecting) the Use Concept Data Structures (Reals) option in the DASMBTCP PLC object. https://wdnresource.wonderware.com/support/kbcd/html/1/t002465.htm 2/7

FIGURE 2: CONCEPT DATA STRUCTURES SETTING FOR REAL/FLOATING POINT VALUES 32-Bit Integer Values Are Not Displaying Correctly DASMBTCP supports the 32-bit signed and unsigned integer data types. You can use two consecutive registers to hold a 32-bit integer value that DASMBTCP can access. Enter the first register followed by a space and the letter L for 32-bit signed integer values and U for 32- bit unsigned integer values. For example: 400001 L. When accessing a 32-bit integer value on some end devices, the value may be incorrect. For example, if a value of 80000 is expected but a value of 947912705 is returned, the order of the two 16-bit registers that make up the 32 bit integer value must be reversed. This can be done by selecting (or unselecting) the Use Concept Data Structures (Longs) parameter in the DASMBTCP PLC object. https://wdnresource.wonderware.com/support/kbcd/html/1/t002465.htm 3/7

FIGURE 3: CONCEPT DATA STRUCTURES SETTING FOR LONGS Block Size Issues DASMBTCP optimizes polls to the PLC by asking for blocks of data from the end device. For example, a client requests data for registers 400001 through 400200. With the default I/O block size for Register Read set to 122, DASMBTCP sends two polls to the PLC. One poll is for addresses 400001 through 400122 and another poll is for addresses 400123 through 400200. If the end device does not support a block size of 122, the end device can send back an exception error or may not answer the poll. Check your end device documentation for the supported block I/O sizes and modify the Block I/O size option in the DASMBTCP PLC object editor. https://wdnresource.wonderware.com/support/kbcd/html/1/t002465.htm 4/7

FIGURE 4: BLOCK I/O SIZE SETTINGS Unit ID Issues Modbus protocol includes a Unit ID. This corresponds to the Unit ID assigned in the end device. By default, DASMBTCP will use a Unit ID of 255 for direct Ethernet connections. DASMBTCP only allows a user configurable Unit ID when the PLC object is under a bridge object (Figure 5 below). FIGURE 5: PLC OBJECT UNDER A BRIDGE OBJECT If the end device requires a specific Unit ID, a bridge object and a PLC object can be used even if the end device has a direct Ethernet connection. This will allow you to configure a Unit ID (Figure 6 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002465.htm 5/7

FIGURE 6: PLC UNIT ID SETTING Port Issues DASMBTCP uses port 502 by default. If the end device uses a port other than 502, the logger may show the following error: DASProtFail DASMBTCP Fail to Connect to PLC port.'name of PLC object' at IP Address 'IP address of end device', error code = 10061. If the end device requires a different port, use the ModbusPLC object. This object includes a configurable port number. https://wdnresource.wonderware.com/support/kbcd/html/1/t002465.htm 6/7

FIGURE 7: CONFIGURABLE PORT NUMBER Click the following icon to view this file in.pdf format: G. Alldredge Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 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/t002465.htm 7/7