1/24/12
Wonderware
SIDirect DAServer
User’s Guide
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.
© 2003-2004, 2010-2012 by Invensys Systems, Inc. All rights reserved.
Invensys Systems, Inc.
26561 Rancho Parkway South
Lake Forest, CA 92630 U.S.A.
(949) 727-3200
http://www.wonderware.com
For comments or suggestions about the product documentation, send an e-mail message to
ProductDocumentationComments@invensys.com.
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, Factelligence,
FactoryFocus, FactoryOffice, FactorySuite, FactorySuite A
2
, InBatch, InControl, IndustrialRAD,
IndustrialSQL Server, InTouch, MaintenanceSuite, MuniSuite, QI Analyst, SCADAlarm, SCADASuite,
SuiteLink, SuiteVoyager, WindowMaker, WindowViewer, Wonderware, Wonderware Factelligence, 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
SIDirect Version 3.0 Features ......................................................... 8
Documentation Conventions ........................................................... 9
Technical Support ............................................................................ 9
Chapter 1 Getting Started.......................................... 11
Overview ......................................................................................... 11
Before You Begin ............................................................................ 12
Supported Client Protocols ............................................................ 13
OPC .............................................................................................. 13
SuiteLink ..................................................................................... 13
DDE/FastDDE ............................................................................. 14
Supported Device Protocols ........................................................... 15
Chapter 2 Setting Up Your DAServer ........................... 17
Checklist for Setting up the SIDirect DAServer .......................... 18
Finding Your DAServer in the SMC ............................................. 19
Chapter 3 Configuration............................................. 21
Configuring the SIDirect DAServer .............................................. 21
SIDirect Hierarchy in the DAServer Manager .......................... 24
4 Contents
SIDirect DAServer User’s Guide
Device Redundancy ........................................................................ 31
Run-time Behavior ...................................................................... 31
Configuring Device Redundancy ................................................ 32
Using the S7 Tag Creator .............................................................. 36
Chapter 4 Device Groups and Device Items .................. 37
Device Group Definitions ............................................................ 38
Device Item Definitions .............................................................. 43
Scan-Based Message Handling .................................................. 46
Unsolicited Message Handling ................................................... 47
Chapter 5 Managing Your DAServer............................. 49
Configuring the DAServer as Service ........................................... 50
Configuring the DAServer as Not a Service ................................. 50
Archiving Configuration Sets ........................................................ 50
Activating/Deactivating the DAServer ......................................... 53
In-Proc/Out-of-Proc ........................................................................ 53
Hot Configuration .......................................................................... 54
Demo Mode ..................................................................................... 54
Chapter 6 Accessing the Data in Your DAServer ............ 57
Accessing Items Using the OPC Communications Protocol ........ 57
Accessing Items Using the DDE/SuiteLink Communications
Protocol ........................................................................................ 59
Chapter 7 Item Naming ............................................. 61
Data Blocks and Instance Blocks .................................................. 61
Flag Bytes ....................................................................................... 64
Input Bytes ..................................................................................... 67
Output Bytes .................................................................................. 71
Peripheral Input Bytes .................................................................. 75
Peripheral Output Bytes ................................................................ 79
Counters ......................................................................................... 83
Timers ............................................................................................. 84
Block Items ..................................................................................... 85
Read-Only Block Items ............................................................... 85
Write-Only Block Items .............................................................. 87
Alarms and Events ......................................................................... 90
Alarms and Events Terms .......................................................... 96
Contents5
SIDirect DAServer User’s Guide
Specific S7-200 Item Syntax .......................................................... 98
V Memory .................................................................................... 98
Analog Input .............................................................................. 101
Analog Output ........................................................................... 102
Stage Memory ............................................................................ 103
Special Memory ......................................................................... 104
High-Speed Counter .................................................................. 107
S7-200 Timers ........................................................................... 107
Specific S7-1200 Item Syntax ...................................................... 109
S7-1200 Data Blocks and Instance Blocks ............................... 109
LREAL Data Type and Syntax ................................................. 112
DTL Data Type and Syntax ...................................................... 113
High-Speed Counters ................................................................ 118
Conversions and Suffixes of Items .............................................. 118
Endian Conversion .................................................................... 118
Suffix BCD ................................................................................. 118
Suffix DT .................................................................................... 119
Suffix KT .................................................................................... 119
Suffix S5T .................................................................................. 120
Suffix TR .................................................................................... 120
Suffix D ...................................................................................... 121
Suffix T ...................................................................................... 121
Suffix TOD ................................................................................. 121
DAServer Standard System Items .............................................. 122
DAServer Global System Item ................................................. 123
DAServer Device-Specific System Items ................................. 124
DAServer Device-Group-Specific System Items ...................... 126
DAServer Redundant Device Specific System Items .............. 130
DAServer Global System Item ................................................. 131
Generic OPC Syntax .................................................................... 133
VT_Array Syntax ......................................................................... 134
Chapter 8 Troubleshooting ....................................... 135
Finding the DAServer Version Number ..................................... 135
Monitoring Connectivity Status with the PLC ........................... 136
Monitoring the Status of DAS Conversations ............................ 137
Using DDEStatus and IOStatus in Excel ................................ 137
Reading Values from the DAServer into Excel ....................... 137
Writing Values to the DAServer from Excel ............................ 138