Wonderware®
SIDirect DAServer User’s Guide
Invensys Systems, Inc.
Revision 1.1
Last Revision: 7/18/06
Copyright
© 2003-2004, 2006 Invensys Systems, Inc. All Rights Reserved.
All rights reserved. No part of this documentation shall be reproduced, stored in a
retrieval system, or transmitted by any means, electronic, mechanical,
photocopying, recording, or otherwise, without the prior written permission of
Invensys Systems, Inc. No copyright or patent liability is assumed with respect to
the use of the information contained herein. Although every precaution has been
taken in the preparation of this documentation, the publisher and the author
assume no responsibility for errors or omissions. Neither is any liability assumed
for damages resulting from the use of the information contained herein.
The information in this documentation is subject to change without notice and does
not represent a commitment on the part of Invensys Systems, Inc. The software
described in this documentation is furnished under a license or nondisclosure
agreement. This software may be used or copied only in accordance with the terms
of these agreements.
Invensys Systems, Inc.
26561 Rancho Parkway South
Lake Forest, CA 92630 U.S.A.
(949) 727-3200
http://www.wonderware.com
Trademarks
All terms mentioned in this documentation that are known to be trademarks or
service marks have been appropriately capitalized. Invensys Systems, Inc. cannot
attest to the accuracy of this information. Use of a term in this documentation
should not be regarded as affecting the validity of any trademark or service mark.
Alarm Logger, ActiveFactory, ArchestrA, Avantis, DBDump, DBLoad, DT Analyst,
FactoryFocus, FactoryOffice, FactorySuite, FactorySuite A
2
, InBatch, InControl,
IndustrialRAD, IndustrialSQL Server, InTouch, MaintenanceSuite, MuniSuite, QI
Analyst, SCADAlarm, SCADASuite, SuiteLink, SuiteVoyager, WindowMaker,
WindowViewer, Wonderware, and Wonderware Logger are trademarks of Invensys
plc, its subsidiaries and affiliates. All other brands may be trademarks of their
respective owners.
3
SIDirect DAServer User’s Guide
Contents
Welcome............................................ 7
About this Book ...................................................................7
Documentation Conventions...............................................8
Technical Support ...............................................................8
Chapter 1 Introduction ........................................ 9
Overview ..............................................................................9
Communications Protocols................................................10
Application Communications Protocols.........................10
Bus Communications Protocols .....................................12
Accessing Items via the DAServer ...................................12
Accessing Items Using the OPC Communications
Protocol .......................................................................12
Accessing Items Using the DDE/SuiteLink
Communications Protocol..........................................14
Features .............................................................................16
Demo Mode ........................................................................17
Chapter 2 Configuration..................................... 19
Getting Started Quickly with the SIDirect DAServer ....19
Configuring the SIDirect DAServer .................................21
SIDirect Hierarchy in the DAServer Manager .............23
Configuring Device Group and Device Item Definitions.30
Device Group Definitions ...............................................31
4Contents
SIDirect DAServer User’s Guide
Device Item Definitions .................................................36
Scan-Based Message Handling......................................39
Unsolicited Message Handling ......................................40
Archiving Configuration Sets ........................................41
Hot Configuration .............................................................42
PLC Connectivity Detection .............................................42
Chapter 3 Item Naming.......................................43
Data Blocks and Instance Blocks .....................................43
Flag Bytes ..........................................................................46
Input Bytes ........................................................................49
Output Bytes .....................................................................52
Peripheral Input Bytes .....................................................56
Peripheral Output Bytes...................................................60
Counters.............................................................................64
Timers ................................................................................65
Block Items ........................................................................66
Read-Only Block Items ..................................................66
Write-Only Block Items ....................................................68
Alarms and Events............................................................71
Alarms and Events Terms .............................................77
Specific S7-200 Item Syntax .............................................79
V Memory........................................................................79
Analog Input...................................................................82
Analog Output ................................................................83
Stage Memory.................................................................84
Special Memory ..............................................................86
High-Speed Counter.......................................................88
S7-200 Timers.................................................................88
Conversions and Suffixes of Items ...................................90
Endian Conversion .........................................................90
Suffix BCD......................................................................90
Suffix DT.........................................................................90
Suffix KT.........................................................................91
Suffix S5T .......................................................................91
Suffix TR.........................................................................92
Suffix D ...........................................................................92
Suffix T............................................................................93
Suffix TOD......................................................................93
DAServer Standard System Items ...................................94
DAServer Global System Item ......................................95
5
SIDirect DAServer User’s Guide
DAServer Device-Specific System Items.......................96
DAServer Device-Group-Specific System Items ...........98
Generic OPC Syntax .......................................................102
Chapter 4 Troubleshooting ................................103
Finding the DAServer Version Number.........................103
Monitoring Connectivity Status with the PLC ..............104
Monitoring the Status of DAS Conversations................105
Using DDEStatus and IOStatus in Excel ...................105
Reading Values from the DAServer into Excel...........105
Writing Values to the DAServer from Excel...............106
Debugging Communications Between the SIDirect
DAServer and the PLC ................................................107
Client Groups................................................................108
Structure.......................................................................109
Transactions .................................................................110
Statistics .......................................................................111
Messages .......................................................................111
Device Groups...............................................................113
Diagnostics and Error Tracing .......................................114
Diagnostics Facility......................................................114
DASTrace Diagnostic Messages ..................................116
Error Tracing with the Wonderware Logger ..............117
Error Messages, Trace Messages, Error Codes, and
Warnings ..................................................................118
Data Conversion ...........................................................142
Quality Settings............................................................142
Chapter 5 Reference........................................147
DAServer Architecture....................................................147
DAServers.....................................................................148
Component Environments ..............................................149
Chapter 6 Supported DAServer Hardware and
Firmware .......................................151
Index .............................................153