Water Library Control Services User Guide
Water Library Control Services User Guide
EIO0000001107 05/2020
EcoStruxure™ Process
Expert Water Library
Control Services User Guide
05/2020
EIO0000001107.08
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical
characteristics of the performance of the products contained herein. This documentation is not
intended as a substitute for and is not to be used for determining suitability or reliability of these
products for specific user applications. It is the duty of any such user or integrator to perform the
appropriate and complete risk analysis, evaluation and testing of the products with respect to the
relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein. If you
have any suggestions for improvements or amendments or have found errors in this publication,
please notify us.
You agree not to reproduce, other than for your own personal, noncommercial use, all or part of
this document on any medium whatsoever without permission of Schneider Electric, given in
writing. You also agree not to establish any hypertext links to this document or its content.
Schneider Electric does not grant any right or license for the personal and noncommercial use of
the document or its content, except for a non-exclusive license to consult it on an "as is" basis, at
your own risk. All other rights are reserved.
All pertinent state, regional, and local safety regulations must be observed when installing and
using this product. For reasons of safety and to help ensure compliance with documented system
data, only the manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant
instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware products may
result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
© 2020 Schneider Electric. All rights reserved.
2 EIO0000001107 05/2020
Table of Contents
Safety Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Part I General Information . . . . . . . . . . . . . . . . . . . . . . . . . 19
Chapter 1 Water Library Control Expert Services . . . . . . . . . . . . . . 21
Delivering Control Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
List of Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 2 Using the Water Library . . . . . . . . . . . . . . . . . . . . . . . . . 25
Basic Features of the Library. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Simulation Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Part II Equipment Control Objects . . . . . . . . . . . . . . . . . . . . 31
Chapter 3 WMOTOR: One-direction and One-speed Motor . . . . . . . 33
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Chapter 4 WMOT1D2S: One-direction and Two-speed Motor . . . . . . 49
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Chapter 5 WMOT2D1S: Two-direction and One-speed motor . . . . . . 69
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
EIO0000001107 05/2020 3
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Chapter 6 WMOTORVS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Chapter 7 WVALVE: On/Off Device Type Control Modules . . . . . . . . 103
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Chapter 8 WMVALVE: Motorized Valves with Positioner . . . . . . . . . . 119
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Chapter 9 WMVALVED: On/Off Motorized Valve DFB. . . . . . . . . . . . . 135
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
4 EIO0000001107 05/2020
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Chapter 10 WPENSTOCK: Penstock Valve . . . . . . . . . . . . . . . . . . . . . 149
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Input/Output Pins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
Chapter 11 WAINPUT: Analog Input . . . . . . . . . . . . . . . . . . . . . . . . . 163
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Chapter 12 WAOUTPUT: Analog Output . . . . . . . . . . . . . . . . . . . . . . . 177
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Chapter 13 WDINPUT: Digital Input . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
EIO0000001107 05/2020 5
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
Chapter 14 WDOUTPUT: Digital Output . . . . . . . . . . . . . . . . . . . . . . . . 197
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Part III Generic Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Chapter 15 WPUMPSEL: Pump Selection . . . . . . . . . . . . . . . . . . . . . . 209
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Chapter 16 WPUMPSEL1: Enchanced Pump Selection . . . . . . . . . . . . 219
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Chapter 17 WDMFCTL: Dual Media Filter Management . . . . . . . . . . . . 229
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
6 EIO0000001107 05/2020
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Chapter 18 WFLOWCALC: Flow Calculation . . . . . . . . . . . . . . . . . . . . 243
18.1 WREC_WEIR: Rectangular Weir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
18.2 WTRAP_WEIR: Trapezoidal Weir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
18.3 WV_WEIR: V Notch Weir . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
18.4 WREC_FLU: Rectangular Flume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
18.5 WTRAP_FLU: Trapezoidal Flume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273
EIO0000001107 05/2020 7
18.6 WPARSH_FLU: Parshall Flume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
18.7 WU_FLU: U FLUME . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Chapter 19 WFLOWCTL: Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . 287
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Chapter 20 WAERACTL: Aeration Control Block . . . . . . . . . . . . . . . . . 297
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Chapter 21 WSCHEDULER: Scheduler Function Management . . . . . . . 311
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
DFB Representation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
8 EIO0000001107 05/2020
Part IV Auxiliary Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
Chapter 22 WPIDIN: Water PID Input . . . . . . . . . . . . . . . . . . . . . . . 321
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Chapter 23 WPIDOUT: Water PID Output . . . . . . . . . . . . . . . . . . . . . 327
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Chapter 24 WDEVMNT: Device Maintenance . . . . . . . . . . . . . . . . . . . 333
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Chapter 25 WCONDSUM: Device Diagnostic Information/Interlock . . . 343
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 348
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Chapter 26 WHPROLPRO: Process Limits Auxiliary . . . . . . . . . . . . . . 353
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
DFB Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Inputs/Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Public Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Index ......................................... 361
EIO0000001107 05/2020 9
10 EIO0000001107 05/2020
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device
before trying to install, operate, service, or maintain it. The following special messages may appear
throughout this documentation or on the equipment to warn of potential hazards or to call attention
to information that clarifies or simplifies a procedure.
EIO0000001107 05/2020 11
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of
the use of this material.
A qualified person is one who has skills and knowledge related to the construction and operation
of electrical equipment and its installation, and has received safety training to recognize and avoid
the hazards involved.
WARNING
UNGUARDED EQUIPMENT
Do not use this software and related automation equipment on equipment which does not have
point-of-operation protection.
Do not reach into machinery during operation.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
This automation equipment and related software is used to control a variety of industrial processes.
The type or model of automation equipment suitable for each application will vary depending on
factors such as the control function required, degree of protection required, production methods,
unusual conditions, government regulations, etc. In some applications, more than one processor
may be required, as when backup redundancy is needed.
Only you, the user, machine builder or system integrator can be aware of all the conditions and
factors present during setup, operation, and maintenance of the machine and, therefore, can
determine the automation equipment and the related safeties and interlocks which can be properly
used. When selecting automation and control equipment and related software for a particular
application, you should refer to the applicable local and national standards and regulations. The
National Safety Council's Accident Prevention Manual (nationally recognized in the United States
of America) also provides much useful information.
In some applications, such as packaging machinery, additional operator protection such as point-
of-operation guarding must be provided. This is necessary if the operator's hands and other parts
of the body are free to enter the pinch points or other hazardous areas and serious injury can occur.
Software products alone cannot protect an operator from injury. For this reason the software
cannot be substituted for or take the place of point-of-operation protection.
12 EIO0000001107 05/2020
Ensure that appropriate safeties and mechanical/electrical interlocks related to point-of-operation
protection have been installed and are operational before placing the equipment into service. All
interlocks and safeties related to point-of-operation protection must be coordinated with the related
automation equipment and software programming.
NOTE: Coordination of safeties and mechanical/electrical interlocks for point-of-operation
protection is outside the scope of the Function Block Library, System User Guide, or other
implementation referenced in this documentation.
WARNING
EQUIPMENT OPERATION HAZARD
Verify that all installation and set up procedures have been completed.
Before operational tests are performed, remove all blocks or other temporary holding means
used for shipment from all component devices.
Remove tools, meters, and debris from equipment.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Follow all start-up tests recommended in the equipment documentation. Store all equipment
documentation for future references.
Software testing must be done in both simulated and real environments.
Verify that the completed system is free from all short circuits and temporary grounds that are not
installed according to local regulations (according to the National Electrical Code in the U.S.A, for
instance). If high-potential voltage testing is necessary, follow recommendations in equipment
documentation to prevent accidental equipment damage.
Before energizing equipment:
Remove tools, meters, and debris from equipment.
Close the equipment enclosure door.
Remove all temporary grounds from incoming power lines.
Perform all start-up tests recommended by the manufacturer.
EIO0000001107 05/2020 13
OPERATION AND ADJUSTMENTS
The following precautions are from the NEMA Standards Publication ICS 7.1-1995 (English
version prevails):
Regardless of the care exercised in the design and manufacture of equipment or in the selection
and ratings of components, there are hazards that can be encountered if such equipment is
improperly operated.
It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe
operation. Always use the manufacturer’s instructions as a guide for functional adjustments.
Personnel who have access to these adjustments should be familiar with the equipment
manufacturer’s instructions and the machinery used with the electrical equipment.
Only those operational adjustments actually required by the operator should be accessible to
the operator. Access to other controls should be restricted to prevent unauthorized changes in
operating characteristics.
14 EIO0000001107 05/2020
About the Book
At a Glance
Document Scope
This document describes the function blocks (DFBs) and variables that are encapsulated in the
Control facets referenced by the process control module templates to provide services.
For a list of templates and the services that they provide, refer to the user guides mentioned in this
document.
This document does not cover any development procedures and internal functionality details of
Control Expert.
Users of Control services need to have a working knowledge of Control Expert, and of the
Supervision and Control Participants.
Validity Note
This document is valid for EcoStruxure™ Process Expert 2020 - Water Library.
Related Documents
You can download these technical publications and other technical information from our website
at https://www.se.com/ww/en/download/ .
EIO0000001107 05/2020 15
Product Related Information
WARNING
LOSS OF CONTROL
Perform application FMEA (Failure Mode and Effects Analysis) of the system and apply
preventive, detective controls before implementation.
Provide a fallback state for undesired control events or sequences.
Provide separate or redundant control paths wherever required.
Supply appropriate parameters, particularly for limits.
Review the implications of transmission delays and take actions to mitigate.
Review the implications of communication link interruptions and take actions to mitigate.
Provide independent paths for control functions (for example, emergency stop, over-limit
conditions, and fault conditions) according to the safety analysis and applicable codes, and
regulations.
Apply local accident prevention and safety regulations and guidelines. 1
Test each implementation of this library for proper operation before placing it into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1
For additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control and to NEMA ICS 7.1 (latest
edition), Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems or their equivalent governing your particular location.
The application of this product requires expertise in the design and operation of control systems.
WARNING
UNINTENDED EQUIPMENT OPERATION
Allow only authorized personnel with expertise in the design and operation of control systems
to program, install, alter, and apply this product.
Follow local and national safety codes and standards.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
16 EIO0000001107 05/2020
Examples described in this manual are provided for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EIO0000001107 05/2020 17
18 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
General Information
EIO0000001107 05/2020
Part I
General Information
General Information
EIO0000001107 05/2020 19
General Information
20 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
Water Library Control Expert Services
EIO0000001107 05/2020
Chapter 1
Water Library Control Expert Services
Overview
This chapter describes how the Control Expert services of the control module templates are made
available to you through Control Expert and the embedded Control Expert Participant.
EIO0000001107 05/2020 21
Water Library Control Expert Services
Introduction
Inside process control module templates, the resources providing Control services are organized
in composite and facet templates. They are elements of the control module template and its
instances.
Interfaces link these elements within the control module and allow making links to instances of
other templates.
In addition, you can modify the logic of the Control Participant project during refinement.
22 EIO0000001107 05/2020
Water Library Control Expert Services
List of Families
The function blocks described in this document are grouped by family.
The families are the same as the ones used to group the process control module templates.
Each DFB is assigned to the same family as the control module template that references it.
Description
The table lists the Control Expert function of each family:
EIO0000001107 05/2020 23
Water Library Control Expert Services
24 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
Using the Water Library
EIO0000001107 05/2020
Chapter 2
Using the Water Library
EIO0000001107 05/2020 25
Using the Water Library
Introduction
The WWW Library Objects are designed to perform generic water process related functions. These
are defined as equipment control and device control functions.
The library object design include Control Expert Derived Function Block (DFB). It contains the data
structure and functional logic for library block operation.
The following functions are performed by Water library blocks:
Control - Management of operating modes (Program, Operator, and Local)
Alarming:
Management of alarms and alerts
Enabling/disabling alarms
Alarm properties - Priorities, forwarding SMS, and audio alarms
Configuration of timeout parameter
26 EIO0000001107 05/2020
Using the Water Library
Operating Modes
Overview
You can operate this function blocks especially the actuator devices in different operating modes.
The below section provides an overview of different operating modes specific to the following block
families:
Motors and valves
Controllers
Other generic process blocks
The following operating modes are specific for controllers and generic process:
Program mode
Operator mode
Auto mode (only for PID)
Manual mode (only for PID)
Program Mode
This mode of operation receives command signal from another program driving the device
operation.
During Program mode, the operator does not have any access to operate the device from the
device faceplate (set point buttons – On/Off is disabled).
You can set the device to Program mode by setting the program as the owner from the faceplate.
This setting can be done from the program driving the device. Program mode is the default mode.
You can set the Program mode by the following two separate locations:
Local set point - The local set point is assigned to the sequential control or to the command
received from the monitoring system.
Remote set point - The remote set point is assigned to the control module from the logic
implemented in the continuous control.
The Program mode is available for actuator devices such as motors, motor operated valves,
pneumatic on/off valves, controllers, analog/digital outputs, circuit-breaker, pump selection
function block, and other generic process function blocks.
Refer to the respective function block sections for detailed description.
EIO0000001107 05/2020 27
Using the Water Library
Operator Mode
This mode of operation receives command signal from the operator with required user privileges
through the device faceplate.
During Operator mode, the operator provides the user privileges of set point from the faceplate
buttons to on/off the device.
You can set the device to Operator mode by setting the operator as the owner from the faceplate.
You can do the setting from device faceplate by pressing OPERATOR button.
The Operator mode is available for actuator devices such as motors, motor operated valves,
pneumatic on/off valves, controllers, analog/digital outputs, circuit-breaker, pump selector block,
and other generic process selection blocks.
Refer to the respective function selection block sections for detailed description.
Local Mode
This mode of operation enables the devices (motors and motorized valves) to be operated locally
from local push button station in the field or from MCC.
During this mode of operation, any operation from PLC controller and SCADA is bypassed. The
operator is only allowed to monitor the state of the device from the faceplate/genie.
You can put the device in Local mode by setting the local input parameter value to 1 from the
field/MCC (digital input). The device is in remote operation, that is, from the PLC by default.
When in Local mode, the device genie displays a LOC text in runtime.
The Program mode is available for motor operated devices such as motors and motor operated
valves.
Refer to the respective function block sections for detailed description.
Out of Service
The Out of Service mode is for device maintenance and service purpose. In this mode, the device
is shutdown/or removed for servicing of the device.
At this instance, the outputs of the block are put to defined position in Operator mode.
The operator and program does not perform any operations from the faceplate.
Out of Service symbol is shown on the device genie.
The Program mode is available for actuator devices such as motors, motor operated valves,
pneumatic on/off valves, controllers, and circuit-breaker.
Refer to the respective function block sections for detailed description.
28 EIO0000001107 05/2020
Using the Water Library
Auto Mode
The Auto mode of operation is used in PID.
This mode of operation is available for both Program and Operator modes.
In this mode of operation, the output of the controller is automatically driven by the controller
mathematical expression (PID equation) with a set point entry from supervision by the operator, or
from the program.
Refer to the respective function block sections for detailed description.
Manual Mode
The Manual mode of operation is used in PID.
This mode of operation is available for both Program and Operator modes.
In this mode of operation, the operator or program can directly set the output of the controller within
the output limits bypassing the PID control algorithm.
Refer to the respective function block sections for detailed description.
Configurations
One-time configurations such as feedback time limit, enabling/disabling the feedback is done in
Public Variable of each block. Refer to the respective block description for more details.
EIO0000001107 05/2020 29
Using the Water Library
Simulation Function
Introduction
This function enables to simulate the operation of the equipment (motors and valves) without
having real time feedbacks. You cannot switch the block to Simulation mode when the block is
giving a command to the field.
In simulation, a project constant is available to enable/disable the field command output in this
mode. If the project constant (OPSIMEN is false and the mode is switched from Simulation to
Operator, the output is not disturbed.
You can configure the project constant from the WWW_PCON DFB output pin as shown below
This table describes about the configuration of project constant from the WWW_PCON DFB output:
30 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
Equipment Control
EIO0000001107 05/2020
Part II
Equipment Control Objects
Overview
This part provides a detailed description of the functions, pins, pin layout, and variables of the
function blocks of the equipment control objects.
WARNING
LOSS OF CONTROL
Perform application FMEA (Failure Mode and Effects Analysis) of the system and apply
preventive, detective controls before implementation.
Provide a fallback state for undesired control events or sequences.
Provide separate or redundant control paths wherever required.
Supply appropriate parameters, particularly for limits.
Review the implications of transmission delays and take actions to mitigate.
Review the implications of communication link interruptions and take actions to mitigate.
Provide independent paths for control functions (for example, emergency stop, over-limit
conditions, and fault conditions) according to the safety analysis and applicable codes, and
regulations.
Apply local accident prevention and safety regulations and guidelines. 1
Test each implementation of this library for proper operation before placing it into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1
For additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control and to NEMA ICS 7.1 (latest
edition), Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems or their equivalent governing your particular location.
EIO0000001107 05/2020 31
Equipment Control
32 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
WMOTOR
EIO0000001107 05/2020
Chapter 3
WMOTOR: One-direction and One-speed Motor
Overview
This chapter describes the control services provided by WMOTOR DFB.
EIO0000001107 05/2020 33
WMOTOR
Introduction
General
The WMOTOR DFB controls motors with one direction and one speed.
The following table describes the main functions of this block:
Function Description
Control Receives digital feedback signals from field for monitoring and processes
commands from supervision, or from program for device operation by
sending digital signal to field according to defined conditions.
Operation feedback Provides operational feedbacks of the device (motor run/stop and trip) by
processing field digital input signals from MCC.You can optionally select the
number of signals to be processed.
Inoperable motor Enables to monitor the detected failure conditions of the motor. Generates
digital signal to display on supervision and an alarm in case of inoperable
motor. You can optionally select the conditions and have an option for
individual bypass of the detected failure conditions.
Detection of not confirmed Enables to monitor the detected fault of device feedback confirmation when
operation it is not responded after a predefined elapsed time (SC.TIMEOUT).
After elapsed time, the DFB generates a digital signal to display in
supervision and an alarm for not confirmed operation.
You can optionally select the detected failure generation in the DFB.
Manual resetting Allows you to reset manually after the detection of an inoperable device
condition or a not confirmed operation and thereby moving motor to the
current set point.
Local and remote set point Enables you to control the module with a set point that is determined through
(Program mode) a set point selector (local or remote).
The local set point is assigned to the sequential control or to the command
received from the monitoring system while the remote set point is assigned
to the module control from the logic implemented in the continuous control.
Interlocking The DFB gives the motor a command to move to the defined position
(run/stop) if an active interlock that requires this move is detected.
An interlock bypass function is available to bypass individual active interlock
conditions.
Owner selection Defines the ownership of the control from the module. The control remains
with supervision operator or Program to generate commands for operation.
Simulation You can switch the function block to Simulation mode where the feedback
signals are simulated, and confirm the normal operation of the function
block.The field feedback signals are bypassed in this case. Output to field is
configured as per project constant variable (OPSImEN). For detail refer to
Simulation (see page 30).
Load shedding management The function block supports energy management of motors in the Program
mode by load shedding.
34 EIO0000001107 05/2020
WMOTOR
Description
Operating Modes
The WMOTOR DFB controls one-direction and one-speed motor.
It supports the following modes of motor control:
Operator mode - Click the required buttons to start/stop the motor from the faceplate.
Program mode - There are two internal modes: Remote and Local.
In Program - Remote mode, use RSP input pin to start/stop the motor. Set the variable SC.REM
to enable the Program - Remote mode.
In Program - Local mode, use the LSP public variable to start/stop the motor.. Reset the public
variable SC.REM to enable the Program - Local mode.
Local mode - The motor is directly controlled by the local electrical panel but not by the PLC, so
the DFB outputs are reset.
Functional Description
The motor run output pin OP is to be connected to a digital output card, which is to be connected
to the contactor/circuit breaker.
The DFB monitors the run feedback through the input pin ZSH, which can be connected to a digital
input, wired to the seal-in-contact of the contactor/circuit breaker.
You have the provision to enable/disable the run feedback monitoring regardless of the modes
through the variable SC.ZSHEN. The delay for monitoring the run feedback is set in SC.TIMEOUT.
The DFB monitors the detected failure conditions through the input pin FAIL. If this input is set to
1, it indicates that the DFB has detected failure condition. This sets the output pin FAILD and
resets the output pins OP/SP.
The DFB monitors the interlock conditions through the input pin ILCK. If this input is set to 1, it
indicates that the DFB has detected an active interlock condition. This sets the output pin ILCKD
and resets the output pin OP/SP. If there are more than 1 detected failure/interlock conditions, use
WCONDSUM DFB along with WMOTOR DFB.
Connect the detected failure/interlock conditions to the input pins of WCONDSUM DFBs, and connect
the output pins RESULT to the FAIL/ILCK input pins of WMOTOR DFB. A provision to bypass the
individual detected failure/interlock condition is also available from faceplate.
This function block monitors the number of starting/running hours of the motor from the last reset
if WDEVMNT DFB is linked to WMOTOR DFB. In this case, the variable connected to pin WDEVMNT_ST
has to be connected to input pin DEVMNTST of WMOTOR DFB.
The DFB also supports the Simulation mode, which is a pre-commissioning mode where you can
test the block without any inputs being monitored.
EIO0000001107 05/2020 35
WMOTOR
Click the required button from the faceplate to set the motor to Out of Service mode. If OOS is
activated in running condition, it stops running of the motor. When the motor is set back into Service
mode, it acquires the stop condition.
The function block supports the load shedding phenomenon in Program-Remote mode, when the
function block is in Program mode and SC.REM = 1. To handle this phenomenon, set the parameter
SC.PARLDSHED to a particular value. When you set the input pin LDSHED to SC.PARLDSHED value
in Program mode, the outputs of the block are reset and motor is taken into load shedding. You
can provide a delay for the same from faceplate.
You can set a priority for sending SMS/speaker output for the individual detected failure/interlock
condition from the faceplate.
36 EIO0000001107 05/2020
WMOTOR
DFB Representation
Overview
This figure shows the FBD representation of the WMOTOR DFB.
EIO0000001107 05/2020 37
WMOTOR
Inputs
38 EIO0000001107 05/2020
WMOTOR
Outputs
EIO0000001107 05/2020 39
WMOTOR
The below truth table shows the OP (output pin) value whenever there is a detected failure (FAIL
= 1), which are dependent on the configurable public parameters SC.FAILEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the OP pin to become 0, under
non-confirmed operations.
The SC.FAILREARMEN public variable has to be set to 1 for the OP pin to become 0, under
detected failure conditions.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
40 EIO0000001107 05/2020
WMOTOR
Inputs/Outputs
Other DDTs which are used with WMOTOR DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WDEVCTL_ST_DDT Type
The following table describes the structure of the derived data type WDEVCTL_ST_DDT for the
WMOTOR DFB.
EIO0000001107 05/2020 41
WMOTOR
8 REARMR Allows you to reset the motor (1). The function block sets the signal to 0 after each
run and sets the signal indicating that resetting is required CFGW.REARM to 0.
9 EXTCTLD Indicates if the motor is controlled from outside of the system.
1 = External control
42 EIO0000001107 05/2020
WMOTOR
EIO0000001107 05/2020 43
WMOTOR
Public Variables
WDEVCTL_SC_DDT Type
The following table describes the structure of the derived data type WDEVCTL_SC_DDT of WMOTOR
DFB:
44 EIO0000001107 05/2020
WMOTOR
EIO0000001107 05/2020 45
WMOTOR
46 EIO0000001107 05/2020
WMOTOR
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WMOTOR DFB in the application is used for WCONDSUM and
WDEVMNT DFBs to configure the desired functionality for the device.
The following figure is shown as an example for WMOTOR DFB.
EIO0000001107 05/2020 47
WMOTOR
48 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
WMOT1D2S
EIO0000001107 05/2020
Chapter 4
WMOT1D2S: One-direction and Two-speed Motor
Overview
This chapter describes the control services provided by the WMOT1D2S DFB.
EIO0000001107 05/2020 49
WMOT1D2S
Introduction
General
The WMOT1D2S DFB controls motors with one direction and two speeds.
The following table describes the main functions of this function block:
Function Description
Control Receives digital feedback signals from field for monitoring and processes
commands from faceplate or from program for device operation by sending digital
signal to field according to defined conditions.
Operation feedback Provides operational feedbacks of the device (motor run/stop and trip) by
processing field digital input signals from MCC.You can optionally select the
number of signals to be processed.
Inoperable motor Enables to monitor the detected failure conditions of the motor.
Generates digital signal to display on faceplate and an alarm in case of inoperable
motor.
You can optionally select the conditions and have an option for individual bypass of
the detected failure conditions.
Detection of not Enables to monitor the confirmation of a detected fault of device feedback when it
confirmed operation is not responded after a predefined elapsed time (SC.TIMEOUT).
After elapsed time, the DFB generates a digital signal to display on the faceplate
and an alarm for acknowledgement by the operator.
You can optionally select the detected failure generation in the DFB.
Manual resetting Allows you to reset manually after the detection of an inoperable device condition
or a not confirmed operation and thereby moving motor to the current set point.
Local and remote set Enables you to control the module with a set point that is determined through a set
point (Program mode) point selector (local or remote). The local set point is assigned to the sequential
control or to the command received from the monitoring system while the remote
set point is assigned to the module control from the logic implemented in the
continuous control.
Interlocking The DFB gives the motor a command to move to the defined position(run with
speed1/run with speed2 /stop) if an active interlock that requires this move is
detected.
An interlock bypass function is available to bypass individual active interlock
conditions.
Owner selection Defines the ownership of the control from the module. The control whether remains
with operator or Program to generate commands for operation.
Simulation You can switch the function block to Simulation mode where the feedback signals
are simulated, and confirm the normal operation of the function block. The field
feedback signals are bypassed in this case. Output to field is configured as per
project constant variable (OPSImEN). For detail refer to Simulation (see page 30).
Load shedding The function block supports energy management of motors in the Program mode
management by load shedding.
50 EIO0000001107 05/2020
WMOT1D2S
Description
Introduction
The WMOT1D2S DFB controls one-direction and two-speed motor.
It supports the following modes of motor control:
Operator mode - Click the required buttons to start/stop the motor in speed 1/speed 2 from the
faceplate.
Program mode - There are two internal modes: Remote and Local.
In Program - Remote mode, use RSP input pin to start/stop the motor in speed 1/speed 2. Set
the variable SC.REM to enable the Program - Remote mode.
In Program - Local mode, use the LSP public variable to start/stop the motor. Reset the public
variable SC.REM to enable the Program - Local mode.
Local mode - The motor is directly controlled by the local electrical panel but not by the PLC, so
the DFB outputs are reset.
Functional Description
The motor run output pins MOP1 or MOP2 is to be connected to a digital output card, which is to be
connected to the contactor/circuit breaker.
The DFB monitors the run feedback through the input pins ZSH1 or ZSH2, which can be connected
to a digital input, wired to the seal-in-contact of the contactor or circuit breaker.
You have the provision to enable/disable the run feedback monitoring regardless of the modes
through the variable SC.ZSHEN. The delay for monitoring the run feedback is set in SC.TIMEOUT.
The DFB monitors the detected failure conditions through the input pins FAIL1 and FAIL2. If this
input is set to 1, it indicates that the DFB has a detected failure condition. This sets the output pins
FAILD1 and FAILD2. In case, it is required to reset output pins MOP1/MOP2, the same input is also
to be connected to S1LOCKED/S2LOCKED.
The DFB monitors the interlock conditions through the input pin ILCK. If this input is set to 1, it
indicates that the DFB has detected an active interlock condition. This sets the output pin ILCKD,
and resets the output pins MOP1/MOP2. If there are more than one detected failure/interlock
conditions, use WCONDSUM DFB along with WMOT1D2S DFB.
Connect the detected failure/interlock conditions to the input pins of WCONDSUM DFBs, and connect
the output pin RESULT to the FAIL/ILCK input pins of WMOT1D2S DFB. A provision to bypass the
individual detected failure/interlock condition is also available from faceplate.
This function block monitors the number of starting/running hours of the motor from the last reset
if WDEVMNT DFB is linked to WMOT1D2S DFB. In this case, the variable connected to pin
WDEVMNT_ST has to be connected to input pin DEVMNTST of WMOT1D2S DFB.
The DFB also supports the Simulation mode, which is a pre-commissioning mode where you can
test the function block without any inputs being monitored.
EIO0000001107 05/2020 51
WMOT1D2S
Click the required button from the faceplate to set the motor to Out of Service mode. If OOS is
activated in running condition, it stops running of the motor.When the motor is set back into Service
mode it acquires the stop condition.
The function block supports the load shedding phenomenon in Program-Remote mode, when the
function block is in Program mode and SC.REM = 1. To handle this phenomenon, set the parameter
SC.PARLDSHED to a particular value. When you set the input pin LDSHED to SC.PARLDSHED value
in Program mode, the outputs of the function block are reset and motor is taken into load shedding.
You can provide a delay for the same from the faceplate.
You can set a priority for sending SMS/speaker output for the individual detected failure/interlock
condition from the faceplate.
52 EIO0000001107 05/2020
WMOT1D2S
DFB Representation
Overview
This figure shows the FBD representation of the WMOT1D2S DFB.
EIO0000001107 05/2020 53
WMOT1D2S
Inputs
ILCKSEL BOOL Enables the selection of the operation to be affected through the
ILCKSP set point when the ILCK interlocking signal is activated.
0 = Speed 1
1 = Speed 2
ILCKSP BOOL Interlock set point that is used when the function block is interlocked.
0 = Motor stops.
1 = Motor starts with speed selected through ILCKSEL.
ILCK BOOL Interlocks the motor at the defined position (run with speed1/run with
speed2/stop).
0 = Normal condition.
1 = Interlocked condition.
S1LOCKED BOOL 1 = Locks the speed 1 set point when MOP1 changes from 0 to 1.
S2LOCKED BOOL 1 = Locks the speed 2 set point when MOP2 changes from 0 to 1.
EXTCTLD BOOL Indicates if the motor is controlled from outside of the system.
1 = External control
LDSHED WORD Load shedding input.
FCCONDST1 WCONDSUM_ST_DDT DDT for Conditional Summary - Structure from WCONDSUM DFB for
FAIL1 (detected failure).
54 EIO0000001107 05/2020
WMOT1D2S
EIO0000001107 05/2020 55
WMOT1D2S
Outputs
56 EIO0000001107 05/2020
WMOT1D2S
The below truth table shows the MOPx (x = 1 or 2) (output pin) value whenever there is a detected
failure (FAILx = 1), which are dependent on the configurable public parameters SC.FAILxEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under non-confirmed operations.
The SC.FAILREARMEN public variable has to be set to 1 for the MOPx (x= 1 or 2) pin to become
0, under detected failure conditions.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SC.FAILEN public SC.FAILREARMEN MOPx output when FAILx = 1 MOPx output when FAILx = 1
variable public variable (assume OP = 1 before the (assume MOPx = 0 before the
detected failure) detected failure)
0 0 1 0
0 1 1 0
1 0 1 0
1 1 0 0
x = 1 or 2
EIO0000001107 05/2020 57
WMOT1D2S
Inputs/Outputs
Other DDTs which are used with WMOT1D2S DFB block in function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WMOT1D2S_ST_DDT Type
The following table describes the structure of the derived data type WMOT1D2S_ST_DDT for the
WMOT1D2S function block:
58 EIO0000001107 05/2020
WMOT1D2S
8 REARMR Allows you to reset the motor (1). The function block sets the signal to 0 after each run and sets
the signal indicating that resetting is required (CFGW.REARM) to 0.
9 EXTCTLD Indicates if the motor is controlled from outside of the system.
1 = External control
EIO0000001107 05/2020 59
WMOT1D2S
60 EIO0000001107 05/2020
WMOT1D2S
EIO0000001107 05/2020 61
WMOT1D2S
Public Variables
WMOT1D2S_SC_DDT Type
The following table describes the structure of the derived data type WMOT1D2S_SC_DDT of the
WMOT1D2S function block:
62 EIO0000001107 05/2020
WMOT1D2S
EIO0000001107 05/2020 63
WMOT1D2S
64 EIO0000001107 05/2020
WMOT1D2S
EIO0000001107 05/2020 65
WMOT1D2S
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WMOT1D2S DFB in the application is used for WCONDSUM and
WDEVMNT DFBs to configure the desired functionality for the device.
The following figure is shown as an example for WMOT1D2S DFB.
66 EIO0000001107 05/2020
WMOT1D2S
EIO0000001107 05/2020 67
WMOT1D2S
68 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
WMOT2D1S
EIO0000001107 05/2020
Chapter 5
WMOT2D1S: Two-direction and One-speed motor
Overview
This chapter describes the control services provided by WMOT2D1S DFB.
EIO0000001107 05/2020 69
WMOT2D1S
Introduction
General
The WMOT2D1S DFB controls motors with two direction and one speed.
The following table describes the main functions of this function block:
Function Description
Control Receives digital feedback signals from field for monitoring and processes commands
from faceplate or from program for device operation by sending digital signal to field
according to defined conditions.
Operation feedback Provides operational feedbacks of the device (motor run/stop and trip) by processing
field digital input signals from MCC. The number of signals to be processed can be
optionally selected.
Inoperable motor Enables to monitor the detected failure conditions of the motor.
Generates digital signal to display on faceplate and an alarm in case of inoperable
motor.
You can optionally select the conditions and have an option for individual bypass of
the detected failure conditions.
Detection of not Enables to monitor the confirmation of a detected fault of device feedbackwhen it is
confirmed operation not responded after a predefined elapsed time (SC.TIMEOUT).
After elapsed time, the DFB generates a digital signal to display on thefaceplate and
an alarm for acknowledgement by the operator.
You can optionally select the detected failure generation in the DFB.
Manual resetting Allows you to reset manually after the detection of an inoperable motor condition or
a not confirmed operation and thereby moving motor to the current set point.
Local and remote set Enables you to control the module with a set point that is determined through a set
point (Program mode) point selector (local or remote). The local set point is assigned to the sequential
control or to the command received from the monitoring system while the remote set
point is assigned to the module control from the logic implemented in the continuous
control.
Interlocking The DFB gives the motor a command to move to the defined position (run in
direction1/run in direction2/stop) if an active interlock that requires this move is
detected.
An interlock bypass function is available to bypass individual active interlock
conditions.
Owner Defines the ownership of the control from the module. The control whether remains
with supervision operator or Program to generate commands for operation.
Simulation You can switch the function block to Simulation mode where the feedback signals are
simulated, and confirm the normal operation of the function block. The field feedback
signals are bypassed in this case. Output to field is configured as per project constant
variable (OPSImEN). For detail refer to Simulation (see page 30).
Load shedding The function block supports energy management of motors in the Program mode by
management load shedding.
70 EIO0000001107 05/2020
WMOT2D1S
Description
Introduction
The WMOT2D1S DFB controls two-direction and one-speed motor.
It supports the following modes of motor control:
Operator mode - Click the required buttons to start/stop the motor in speed 1/speed 2 from the
faceplate.
Program mode - There are two internal modes: Remote and Local.
In Program - Remote mode, use RSP input pin to start/stop the motor. Set the variable SC.REM
to enable the Program - Remote mode.
In Program - Local mode, use the LSP public variable to start/stop the motor. Reset the public
variable SC.REM to enable the Program - Local mode.
Local mode - The motor is directly controlled by the local electrical panel but not by the PLC, so
the DFB outputs are reset.
Functional Description
The motor run output pins MMOP1 or MOP2 is to be connected to a digital output card, which is to
be connected to the contactor/circuit breaker.
The DFB monitors the run feedback through the input pins ZSH1 and ZSH2, which can be
connected to a digital input, wired to the seal-in-contact of the contactor or circuit breaker.
You have the provision to enable/disable the run feedback monitoring (regardless of the modes)
through the variable SC.ZSH1EN and SC.ZSH2EN. The delay for monitoring the run feedback is
set in SC.TIMEOUT.
The DFB monitors the detected failure conditions through the input pins FAIL1 and FAIL2. If this
input is set to 1, it indicates that the DFB has a detected failure condition. This sets the output pins
FAILD1 and FAILD2. In case that it is required to reset output pins MOP1/MOP2, the same input is
also to be connected to S1LOCKED/S2LOCKED.
The DFB monitors the interlock conditions through the input pin ILCK. If this input is set to 1, it
indicates that the DFB has detected an active interlock condition. This resets the output pins
MOP1/MOP2. If there are more than one detected failure/interlock conditions, use WCONDSUM DFB
along with WMOT2D1S DFB.
Connect the detected failure/interlock conditions to the input pins of WCONDSUM DFBs, and connect
the output pins RESULT to the FAIL/ILCK input pins of WMOT2D1S DFB. A provision to bypass the
individual detected failure/interlock condition is also available from faceplate.
The DFB monitors the number of starting/running hours of the motor from the last reset if WDEVMNT
DFB is linked to WMOT2D1S DFB. In this case, the variable connected to pin WDEVMNT_ST has to
be connected to input pin DEVMNTST of WMOT2D1S DFB.
The DFB also supports the Simulation mode, which is a pre-commissioning mode where you can
test the function block without any inputs being monitored.
EIO0000001107 05/2020 71
WMOT2D1S
Click the required button from the faceplate to set the motor to Out of Service mode. If OOS is
activated in running condition, it stops running of the motor. When the motor is set back into Service
mode, it acquires the stop condition.
The function block supports the load shedding phenomenon in Program-Remote mode, when the
function block is in Program mode and SC.REM = 1. To support this phenomenon, set the
parameter SC.PARLDSHED to a particular value. When you set the input pin LDSHED to
SC.PARLDSHED value in Program mode, the outputs of the function block are reset and motor is
taken into Load shedding. You can provide a delay for the same from the faceplate.
You can set a priority for sending SMS/speaker output for the individual detected failure/interlock
condition from the faceplate.
72 EIO0000001107 05/2020
WMOT2D1S
DFB Representation
Overview
The following figure shows the DFB representation of the WMOT2D1S DFB.
EIO0000001107 05/2020 73
WMOT2D1S
Inputs
ILCKSEL BOOL Enables the selection of the operation, which is affected through the
ILCKSP set point when the ILCK interlocking signal is activated.
0 = Direction 1.
1 = Direction 2.
ILCKSP BOOL Set point that is used when the function block is interlocked.
0 = Motor stops.
1 = Motor starts in direction as per ILCKSEL.
ILCK BOOL Device Interlock - Interlocks the device at the defined position.
0 = Normal condition.
1 = Interlocked condition.
S1LOCKED BOOL 1 = Locks the direction 1 set point when MOP1 changes from 0 to 1.
S2LOCKED BOOL 1 = Locks the direction 2 set point when MOP2 changes from 0 to 1.
EXTCTLD BOOL Indicates if the motor is controlled from outside of the system.
1 = External control
LDSHED WORD Load shedding input.
FCCONDST1 WCONDSUM_ST_DDT Structure from WCONDSUM DFB for FAIL1 (detected failure).
FCCONDST2 WCONDSUM_ST_DDT Structure from WCONDSUM DFB for FAIL2 (detected failure).
ILCKCONDST WCONDSUM_ST_DDT Structure from WCONDSUM DFB or ILCK (interlock).
DEVMNTST WDEVMNT_ST_DDT Structure from WDEVMNTST DFB for DEVMNT (device maintenance).
74 EIO0000001107 05/2020
WMOT2D1S
Outputs
EIO0000001107 05/2020 75
WMOT2D1S
The below truth table shows the MOPx (x = 1 or 2) (output pin) value whenever there is a detected
failure (FAILx = 1), which are dependent on the configurable public parameters SC.FAILxEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under non-confirmed operations.
The SC.FAILREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under detected failure conditions.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SC.FAILEN public SC.FAILREARMEN MOPx output when FAILx = 1 MOPx output when FAILx = 1
variable public variable (assume OP = 1 before the (assume MOPx = 0 before the
detected failure) detected failure)
0 0 1 0
0 1 1 0
1 0 1 0
1 1 0 0
x = 1 or 2
76 EIO0000001107 05/2020
WMOT2D1S
Inputs/Outputs
Other DDTs which are used with the WMOT1D2S DFB in function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WMOT2D1S_ST_DDT Type
The following table describes the structure of the derived data type WMOT2D1S_ST_DDT for the
WMOT2D1S function block:
EIO0000001107 05/2020 77
WMOT2D1S
78 EIO0000001107 05/2020
WMOT2D1S
EIO0000001107 05/2020 79
WMOT2D1S
80 EIO0000001107 05/2020
WMOT2D1S
Public Variables
WMOT2D1S_SC_DDT Type
The following table describes the structure of the derived data type WMOT2D1S_SC_DDT of the
WMOT2D1S DFB:
EIO0000001107 05/2020 81
WMOT2D1S
82 EIO0000001107 05/2020
WMOT2D1S
EIO0000001107 05/2020 83
WMOT2D1S
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WMOT2D1S DFB in the application is used for WCONDSUM and
WDEVMNT DFBs to configure the desired functionality for the device.
The following figure is shown as an example for WMOT2D1S DFB.
84 EIO0000001107 05/2020
WMOT2D1S
EIO0000001107 05/2020 85
WMOT2D1S
86 EIO0000001107 05/2020
EcoStruxure™ Process Expert WWW Library
WMOTORVS
EIO0000001107 05/2020
Chapter 6
WMOTORVS
WMOTORVS
Overview
This chapter describes the control services provided by WMOTORVS DFB.
EIO0000001107 05/2020 87
WMOTORVS
Introduction
General
The WMOTORVS DFB manages the control modules for motors with a variable speed drive, whether
the speed driver is switched through communications, I/O wiring, or a mixture of both.
This table describes the main functions of this function block:
Function Description
Control Controls the motor in forward/reverse rotation direction.
Multispeed Enables you to select between speeds. Configurable through an analog
signal or between three preset speeds in the speed driver.
Position detection Controls and determines the real position of the element through up to two
limit switches or configurable digital detectors.
Local and remote set point Enables you to control the module with a set point determined through a set
point selector (local or remote).
The local set point is assigned to the sequential control, or to the command
received from the monitoring system. While the remote set point is assigned
to the module control from the logic implemented in the continuous control.
Manual resetting Allows you to reset manually after the detection of an inoperable motor
condition or a not confirmed operation and thereby moving motor to the
current set point.
Interlocking The DFB gives the motor a command to move to the defined position
(run/stop) with speed if an active interlock that requires this move is detected.
An interlock bypass function is available to bypass individual active interlock
conditions.
Detection of not confirmed Enables to monitor the detected fault of motor feedback confirmation when it
operation is not responded after a predefined elapsed time (SC.TIMEOUT).
After elapsed time, the DFB generates a digital signal to display on the
faceplate and an alarm for acknowledgement by the operator.
You can optionally select the detected failure generation in the DFB.
Inoperable motor A digital signal enables the operator to determine if the monitored control
module is in detected error condition mode.
Used for detecting if the motor switch is tripped due to thermal overload.
Owner Defines the ownership of the control from the module. The control whether
remains with supervision operator or Program to generate commands for
operation.
Simulation You can switch the function block to Simulation mode where the feedback
signals are simulated, and confirm the normal operation of the function block.
The field feedback signals are bypassed in this case. Output to field is
configured as per project constant variable (OPSImEN). For detail refer to
Simulation (see page 30).
Load shedding management The function block supports energy management of motors in the Program
mode by load shedding.
88 EIO0000001107 05/2020
WMOTORVS
Description
Overview
The WMOTORVS DFB controls the motors with a variable-speed drive, regardless of whether the
speed driver is switched through communications, I/O wiring, or a combination of both.
The DFB controls the associated devices from the sequential control, continuous control, and/or
monitoring subsystem, depending on their configuration and on the needs of the system.
NOTE: you can use this module with the WDEVMNT module to add functions for operating hours,
switching operation and maintenance of the device.
EIO0000001107 05/2020 89
WMOTORVS
DFB Representation
Overview
This figure shows the FBD representation of the WMOTORVS DFB.
90 EIO0000001107 05/2020
WMOTORVS
Inputs
EIO0000001107 05/2020 91
WMOTORVS
NOTE: If the analog set point is selected (xSPSEL = 0) and the signal has
not been enabled (SPEN = 0), the set point indicated by S1 will be considered
as the active set point regardless of its state.
RSPREV BOOL Selects rotation in reverse (1) or forward (0) direction for the remote setpoint in
Program/Remote mode.
RSP REAL Enables the remote speed set point, which is set by the continuous control.
This is to be connected in Program/Remote mode and with the selected SP
speed (RSPSEL = 0).
RSTART BOOL Enables the speed driver to be on run (1) or stop (0) in Program/Remote mode.
ILCKSEL UINT Enables the selection of remote set point, which should be considered in the
case of interlocking.
ILCKREV BOOL 0 = Selects rotation in forward direction when the interlock is activated.
1 = Selects rotation in reverse direction when the interlock is activated.
92 EIO0000001107 05/2020
WMOTORVS
Outputs
EIO0000001107 05/2020 93
WMOTORVS
The below truth table shows the OP (output pin) value whenever there is a detected failure (FAIL
= 1), which are dependent on the configurable public parameters SC.FAILEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the OP pin to become 0, under
non-confirmed operations.
The SC.FAILREARMEN public variable has to be set to 1 for the OP pin to become 0, under
detected failure conditions.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
94 EIO0000001107 05/2020
WMOTORVS
Inputs/Outputs
Other DDTs which are used with WMOTORVS DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WMOTORVS_ST_DDT Type
This structure contains the DFB control and status data.
This table describes the structure of the derived data type WSDDEVCTL_ST_DDT for the WMOTORVS
DFB.
EIO0000001107 05/2020 95
WMOTORVS
96 EIO0000001107 05/2020
WMOTORVS
EIO0000001107 05/2020 97
WMOTORVS
98 EIO0000001107 05/2020
WMOTORVS
Public Variables
WMOTORVS_SC_DDT Type
This table describes the structure of the derived data type WSDDEVCTL_SC_DDT of WMOTORVS
DFB:
EIO0000001107 05/2020 99
WMOTORVS
In other modes, the DFB continuously assigns the current rotation direction set
point to it.
LSTART BOOL Read/write access.
1 = Remote Start command.
LSP BOOL Read/write access.
1 = Selects remote analog set point selected.
SELSP BOOL 1 = Selects analog speed set point 1.
SELS2 BOOL 1 = Selects multispeed 2.
SELS3 BOOL 1 = Selects multispeed 3.
OOS BOOL Indicates Out Of Service.
1 = Motor in Out Of Service
TIMEOUT TIME Read/write access.
Maximum time for position confirmation (0 s: disabled)
1 = Selects reverse direction.
SCANTIME TIME Read/write access.
Minimum time for position confirmation (0 s: disabled)
1 = Selects reverse direction.
RUNEN BOOL Read/write access.
1 = Run signal used.
FAILEN BOOL Read/write access.
1 = Detected fault signal of the device enabled.
SPEN BOOL Read/write access.
1 = Enable speed analog set point.
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WMOTORVS DFB in the application is used for WCONDSUM and
WDEVMNT DFBs to configure the desired functionality for the device..
Chapter 7
WVALVE: On/Off Device Type Control Modules
Overview
This chapter describes the control services provided by WVALVE DFB.
Introduction
General
The WVALVE DFB manages on-off device type control modules, such as on-off valves -
Electro/Electro-Pneumatic. This is an on-off valve library with 2 limit switches.
The following table describes the main functions of this function block:
Function Description
Control Receives digital feedback signals from field for monitoring and processes commands
from faceplate or from program for device operation by sending digital signal to field
according to defined conditions.
Position feedback A total of 0...2 limit switches or digital detectors (configurable) that determines the actual
position of the element to be controlled are monitored.
Inoperable device Enables to monitor the diagnostic conditions of the device.
Generates digital signal to display on faceplate and an alarm in case of inoperable
condition of valve.
You can optionally select the conditions and have an option for individual bypass of the
diagnostic conditions.
Detection of not Enables to monitor the confirmation of a detected fault of device feedback when it is not
confirmed responded after a predefined elapsed time (SC.TIMEOUT).
operation After elapsed time, the DFB generates a digital signal to display on the faceplate and an
alarm for acknowledgement by the operator.
You can optionally select the detected failure generation in the DFB.
Manual resetting Allows to put the valve in defined/initial position when a detected failure occurs.
You can optionally select the facility.
Local and remote Enables you to control the module with a set point that is determined through a set point
set point (Program selector (local or remote). The local set point is assigned to the sequential control or to
mode) the command received from the monitoring system while the remote set point is assigned
to the module control from the logic implemented in the continuous control.
Interlocking Provides a function to drive the output to put the device onto a defined position
(open/close) when an active interlock is detected.
The function block has a facility to bypass individual active interlock conditions.
Owner selection Defines the ownership of the control from the module. The control whether remains with
operator or Program to generate commands for operation.
Simulation You can switch the function block to Simulation mode where the feedback signals are
simulated, and confirm the normal operation of the function block. The field feedback
signals are bypassed in this case. Output to field is configured as per project constant
variable (OPSImEN). For detail refer to Simulation (see page 30).
Load shedding The function block supports energy management of motors in the Program mode by load
management shedding.
Description
Functional Description
The WVALVE is an on-off valve library used for managing on-off device type control modules. For
example, electro and electro-pneumatic valves.
It can be programmed in following four ways:
No limit switches
Only the close limit switch
Only the open limit switch
Both open/close limit switches
The open/close limit switches feedback connected to the digital inputs is connected to DFB input
pins ZSH/ZSL correspondingly.
The limit switches are provided with a feedback supervision through the public variables
SC.ZSHEN and SC.ZSLEN (open/close - enabling/disabling). The delay for monitoring the
open/close feedbacks is set in SC.TIMEOUT.
The DFB output pin OP has to be connected to the digital output card, which is connected to the
solenoid valve/pneumatic actuator (through a relay/relay board if required).
The DFB monitors the detected failure conditions through the input pin FAIL. If this input is set to
1, it indicates that the DFB has a detected failure condition. This sets the output pin FAILD and
resets the output pins OP/SP. If there are more than 1 detected failure conditions, use WCONDSUM
DFB with WVALVE DFB.
The DFB monitors the interlock conditions through the input pin ILCK. If this input is set to 1, it
indicates that the DFB has detected an active interlock condition. This initiates the outputs based
on the selection at DFB input pin ILCKSP. If there are more than 1 interlock conditions, use
WCONDSUM DFB along with WVALVE DFB.
Connect the detected failure/interlock conditions (separately) to the input pins of WCONDSUM DFBs
and connect the output pin RESULT to the FAIL/ILCK input pins of WVALVE DFB. Click the partial
bypass button to bypass the individual detected failure/interlock condition. A provision to bypass
the interlocks is also available from configuration tab.
The DFB monitors the number of open operations from the last reset if WDEVMNT DFB is linked to
WVALVE DFB. In this case, the variable connected to pin WDEVMNT_ST has to be connected to input
pin DEVMNST of WVALVE DFB.
The DFB also supports the Simulation mode, which is a pre-commissioning mode where you can
test the function block without any inputs being monitored.
Click the required button from the faceplate to set the valve to Out of Service mode.
If OOS is activated in open condition, it closes the valve. When the valve is set back into Service
mode, it acquires the close condition.
You can set the priority for sending the SMS/speaker output for the individual detected failure
condition from the faceplate.
DFB Representation
Overview
This figure shows the FBD representation of the WVALVE function block.
Inputs
Outputs
The below truth table shows the OP (output pin) value whenever there is a detected failure (FAIL
= 1), which are dependent on the configurable public variables SC.FAILEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the OP pin to become 0, under
non-confirmed operations.
The SC.FAILREARMEN public variable has to be set to 1 for the OP pin to become 0, under
detected failure conditions.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Inputs/Outputs
Other DDTs which are used with WVALVE DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WVALVE_ST_DDT Type
The following table describes the structure of the derived data type WVALVE_ST_DDT for the
WVALVE function block:
8 REARMR Indicates if any detected error is configured in valve status.The valve requires
manual resetting through the CONFREARMEN and/or FAILREARMEN inputs.
9 EXTCTLD Indicates if the motor is controlled from outside of the system.
1 = External control
Public Variables
WVALVE_SC_DDT Type
The following table describes the structure of the derived data type WVALVE_SC_DDT of the
WVALVE function block:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WVALVE DFB in the application is used for WCONDSUM and
WDEVMNT DFB to configure the desired functionality for the device.
The WVALVE DFB is used to manage on-off device type control modules. For example, on-off
valves - electro/electro-pneumatic.
The following figure is shown as an example for WVALVE DFB.
Chapter 8
WMVALVE: Motorized Valves with Positioner
Overview
This chapter describes the control services provided by WMVALVE DFB.
Introduction
General
The WMVALVE DFB is used to manage motorized valves with positioner.
The following table describes the main functions of this function block:
Function Description
Control Receives digital feedback signals from field for monitoring and processing of
commands from faceplate, or from program for device operation by sending digital
signal to field according to the defined conditions.
Inoperable device Provides function for detecting and monitoring of detected failure conditions of the
device. Generates digital signal for display on faceplate, and alarm for motor
detected failure. The conditions can be optionally selected and provided with a
provision for individual bypass of the detected failure conditions.
Detection of not Enables to monitor the detected fault of device feedback confirmation when it is
confirmed operation not responded after a predefined elapsed time (SC.TIMEOUT).
After elapsed time, the DFB generates a digital signal to display on the faceplate
and an alarm for acknowledgement by the operator.
You can optionally select the detected failure generation in the DFB.
Manual resetting Optionally, enables you to configure the valve to move to its position and require
manual resetting if the device does not respond or when the monitoring function is
activated.
Local and remote set Enables you to control the module with a set point that is determined through a set
point (Program mode) point selector (local or remote). The local set point is assigned to the sequential
control or to the command received from the monitoring system. While the remote
set point is assigned to the module control from the logic implemented in the
continuous control.
Interlocking Provides a function to drive the output to put the device onto a predefined position
(open/close) when an active interlock is detected.
The function block has a facility to bypass individual active interlock conditions.
Owner Defines the ownership of the control from the module. The control whether remains
with operator or Program to generate commands for operation.
Simulation You can switch the function block to Simulation mode where the feedback signals
are simulated, and confirm the normal operation of the function block. The field
feedback signals are bypassed in this case. Output to field is configured as per
project constant variable (OPSImEN). For detail refer to Simulation (see page 30).
Function Description
Step3 control The function block includes and incorporates the functions provided by the Step3
controller from the standard CONT_CTL Unity library.
The operation of the Step3 controller can be interpreted in the below figure.
Description
Functional Description
The WMVALVE DFB manages motorized valves with positioner and limit switches.
The feedback of the positioner is connected to DFB input pin CHIN through an analog input card.
The configuration required for the positioner feedback is done in DFB input pin RANGE which
consists of DDT elements HIGHRAW, LOWRAW, HIPV, and LOPV.
The open/close limit switches feedback (connected to the digital input card) has to be connected
to DFB input pins ZSH/ZSL correspondingly. The DFB monitors the run feedback of the motor
through the input pins MZSH1/MZSH2 (forward/reverse directions). The delay for monitoring the
open/close feedbacks is set in SC.TIMEOUT.
The DFB output pins MOP1/MOP2 (forward/reverse directions) have to be connected to the digital
output card, which is to be connected to the contactor/circuit breaker.
The DFB monitors the detected failure conditions through the input pin FAIL. If this input is set to
1, it indicates that the DFB has a detected failure condition. This sets the output pin FAILD and
sets the output pin MOP2/MS2SELD until the close limit switch feedback is not received. If there are
more than 1 detected failure conditions, use WCONDSUM DFB with WMVALVE DFB.
The DFB monitors the interlock conditions through the input pin ILCK. If this input is set to 1, it
indicates that the DFB has detected an active interlock condition. This initiates the valve to
open/close based on the DFB ILCKSP input. If there are more than 1 interlock conditions, use
WCONDSUM DFB along with WMVALVE DFB.
Connect the detected failure/interlock conditions (separately) to the input pins of WCONDSUM DFBs
and connect the output pin RESULT to the FAIL/ILCK input pins of WMVALVE DFB. You have a
provision to bypass the interlocks (from faceplate configuration tab).
The DFB monitors the number of open operations from the last reset if WDEVMNT DFB is linked to
WMVALVE DFB. In this case, the variable connected to pin WDEVMNT_ST has to be connected to
input pin DEVMNTST of WMVALVE DFB. The DFB also supports the Simulation mode, which is a pre-
commissioning mode where you can test the function block without monitoring any inputs.
Click the required button from the faceplate to set the valve to Out of Service mode.
If OOS is activated in open condition, it closes the valve. When the valve is set back into Service
mode, it acquires the close condition.
You can set the priority for sending the SMS/speaker output for the individual detected failure
condition from the faceplate.
DFB Representation
Overview
This figure shows the FBD representation of the WMVALVE DFB.
Inputs
BADPV REAL Default value in engineering units (PV output signal) if the channel is
in detected error state.
ZSH BOOL 1 = Position corresponding to the set point (SP) with a value of 1 is
reached.
ZSL BOOL 1 = Position corresponding to the set point (SP) with a value of 0 is
reached.
MZSH1 BOOL 1 = Running confirmation of direction 1.
MZSH2 BOOL 1 = Running confirmation of direction 2.
FAIL BOOL 1 = Inoperable device condition.
LOCAL BOOL Local Mode operation
1 = Local mode active
RSP BOOL Remote set point set by the continuous control.
1 = Valve is open.
PSP REAL Remote set point for position control of the valve.
ILCKSP REAL Set point to be considered when the function block is interlocked.
ILCK BOOL Interlocks the valve at the defined position.
0 = Normal condition.
1 = Interlocked condition.
EXTCTLD BOOL Indicates if the motor is controlled from outside of the system.
1 = External control
OPENPOS REAL Minimum value of positioner is considered as valve fully opened.
Outputs
The below truth table shows the MOPx (output pin) value whenever there is a detected failure (FAIL
= 1), which are dependent on the configurable public parameters SC.FAILEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under non-confirmed operations.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SC.FAILEN input SC.FAILREARMEN input MOPx output when FAIL = 1 MOPx output when FAIL = 1
(assume MOPx = 1 before the (assume MOPx = 0 before the
detected failure) detected failure)
0 0 1 0
0 1 1 0
1 0 0 0
1 1 0 0
x = 1 or 2
Inputs/Outputs
Other DDTs which are used with WMVALVE DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WMVALVE_ST_DDT Type
The following table describes the structure of the derived data type WMVALVE_ST_DDT for the
WMVALVE DFB:
8 REARMR 1 = Valve status. Indicates if any detected error is configured, the valve requires manual
resetting (1) the CONFREARMEN and/or FAILREARMEN inputs.
9 EXTCTLD Indicates if the motor is controlled from outside of the system.
1 = External control
Public Variables
WMVALVE_SC_DDT Type
The following table describes the structure of the derived data type WMVALVE_SC_DDT of the
WMVALVE DFB:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WMVALVE DFB in the application is used for WCONDSUM and
WDEVMNT DFBs to configure the desired functionality for the device.
The WMVALVE library is used to manage motorized valves with positioner.
The following figure is shown as an example for WMVALVE DFB.
Chapter 9
WMVALVED: On/Off Motorized Valve DFB
Overview
This chapter describes the control services provided by WMVALVED DFB.
Introduction
General
The WMVALVED DFB manages the on/off motorized valves. This function block controls a
motorized valve or a gate with two limit switches.
The following table describes the main functions of this function block:
Function Description
Control Receives digital feedback signals from field for monitoring and processing of
commands from faceplate, or from program for device operation by sending digital
signal to field according to the defined conditions.
Inoperable device Provides function for detecting and monitoring of inoperable conditions of the device.
Generates digital signal for display on faceplate, and alarm for inoperable device
condition. The conditions can be optionally selected and provided with a provision for
individual bypass of the detected failure conditions.
Detection of not Enables to monitor the detected fault of device feedback confirmation when it is not
confirmed operation responded after a predefined elapsed time (SC.TIMEOUT).
After elapsed time, the DFB generates a digital signal to display on the faceplate and
an alarm for acknowledgement by the operator.
You can optionally select the detected failure generation in the DFB.
Manual resetting Allows you to reset manually after the detection of an inoperable valve condition or a
not confirmed operation and thereby moving the valve to the current set point.
Local and remote set Enables you to control the module with a set point that is determined through a set
point (Program mode) point selector (local or remote). The local set point is assigned to the sequential
control or to the command received from the monitoring system. While the remote
set point is assigned to the module control from the logic implemented in the
continuous control.
Interlocking Provides a function to drive the output to put the device onto a defined position
(open/close) when an active interlock is detected.
The function block has a facility to bypass individual active interlock conditions.
Owner Defines the ownership of the control from the module. The control whether remains
with operator or Program to generate commands for operation.
Simulation You can switch the function block to Simulation mode where the feedback signals are
simulated, and confirm the normal operation of the function block. The field feedback
signals are bypassed in this case. Output to field is configured as per project constant
variable (OPSImEN). For detail refer to Simulation (see page 30).
Description
Functional Description
The WMVALVED DFB manages motorized on/off valves.
The open/close limit switches feedback (connected to the digital input card) is to be connected to
DFB input pins ZSH/ZSL correspondingly. The DFB monitors the run feedback of the motor through
the input pins MZSH1/MZSH2 (forward/reverse directions). The delay for monitoring the open/close
feedbacks is set in SC.TIMEOUT.
The DFB output pins MOP1/MOP2 (forward/reverse directions) has to be connected to the digital
output card, which is to be connected to the contactor/circuit breaker. The DFB monitors the
detected failure conditions through the input pin FAIL. If this input is set to 1, it indicates that the
DFB has a detected failure condition. This sets the output pin FAILD and MOP2/MS2SELD until the
close limit switch feedback is not received.
If there are more than 1 detected failure condition, then use WCONDSUM DFB with WMVALVED DFB.
The DFB monitors the interlock conditions through the input pin ILCK. If this input is set to 1, it
indicates that the DFB has detected an active interlock condition. This initiates the valve to
open/close based on the DFB ILCKSP input. If there are more than 1 interlock conditions, then use
WCONDSUM DFB with WMVALVED DFB.
Connect the detected failure/interlock conditions (separately) to the input pins of WCONDSUM DFBs
and connect the output pin RESULT to the FAIL/ILCK input pins of WMVALVED DFB. Click the
partial bypass button to bypass the individual detected failure/interlock condition. A provision is
also available to bypass all the interlocks. From the faceplate Configuration tab, the DFB monitors
the number of open operations from the last reset if WDEVMNT DFB is linked to WMVALVED DFB. In
this case, the variable connected to pin WDEVMNT_ST has to be connected to input pin DEVMNTST
of WMVALVED DFB.
The library also supports the Simulation mode, which is a pre-commissioning mode where you can
test the function block without any inputs being monitored.
Click the required button from the faceplate to set the valve to Out of Service mode. If OOS is
activated in open condition, it closes the valve. When the valve is set back into Service mode, it
acquires the close condition.
You can set the priority for sending the SMS/speaker output for the individual detected failure
condition from the faceplate.
DFB Representation
Overview
This figure shows the FBD representation of the WMVALVED DFB:
Inputs
Outputs
The below truth table shows the MOPx (output pin) value whenever there is a detected failure (FAIL
= 1), which are dependent on the configurable public parameters SC.FAILEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under non-confirmed operations.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SC.FAILEN SC.FAILREARMEN MOPx output when FAIL = 1 MOPx output when FAIL = 1
input input (assume MOPx = 1 before the (assume MOPx = 0 before
detected failure) the detected failure)
0 0 1 0
0 1 1 0
1 0 0 0
1 1 0 0
x = 1 or 2
Inputs/Outputs
Other DDTs which are used with WMVALVED DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WMVALVED_ST_DDT Type
The following table describes the structure of the derived data type WMVALVED_ST_DDT for the
WMVALVED FBD:
8 REARMR Indicates if any diagnostic conditon is configured, the valve requires manual resetting (1)
through the CONFREARMEN and/or FAILREARMEN inputs.
9 EXTCTLD Indicates if the valve is being controlled from outside of the system (1) or not (0).
Public Variables
WMVALVED_SC_DDT Type
The following table describes the structure of the derived data type WMVALVED_SC_DDT of the
WMVALVED FBD:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Based on the options selected, the WMVALVED DFB in the application is used for WCONDSUM and
WDEVMNT DFBs to configure the desired functionality for the device.
The WMVALVED library is used to manage operation of motor operated on-off valve. The WMVALVED
DFB is designed with the objective of controlling a motorized valve, or a gate, with two limit
switches (open-valve and closed-valve) and two rotational-direction-motor-based control.
The following figure is shown as an example for WMVALVED DFB.
Chapter 10
WPENSTOCK: Penstock Valve
Overview
This chapter describes the control services provided by WPENSTOCK DFB.
Introduction
General
The WPENSTOCK function block is used to manage the operation and control of a motor operated
penstock valve / gate in an Open-Stop-Close operation. A penstock is very commonly used in
many water and waste water plant at various locations such as intake, distribution, clarifications
and filtration. It is installed in closed pipelines as valves or open RCC channels as gates. The
operation of the function block is very similar to a Motor operated On-Off Valve with some
enhancements which are required and favoured for a Penstock valve operation.
Description
The WPENSTOCK DFB manages the operation and control of a motor operated penstock valve/gate
in open/stop/close operations.
A penstock valve is used in water and waste water plants at locations such as intake, distribution,
clarifications, and filtration. It is installed in closed pipelines as valves or open RCC channels such
as gates. The operation of the DFB is similar to a motor operated on/off valve.
The WPENSTOCK DFB controls the motor operated valve.
The tables describe the main functions of this DFB:
Function Description
Status display Provides display information on the supervision about the status of the
penstock (open, closed, intermediate, interlocked, detected inoperable,
operated locally, managed by operator or program, in simulation and out of
service).
Control Controls the opening/closing/intermediate stopping of the penstock based on
the command received either from operator, the program or locally from the
field (not processed through PLC).
Inoperable Device Optionally, one digital signal determines if the control module has detected
inoperable device condition. The status of this signal is continuously
monitored. You can link the signal to motor overload trip, high torque value,
or any other configured process detected inoperable device conditions.
During inoperable device, the OP command to the field is set to 0.
Detection of not confirmed Optionally, you can generate a detected failure if the penstock does not
operation open/close after a time duration (configurable) from the respective command
given by the PLC.
NOTE: You have to ensure that no stop command is generated. During
inoperable device, the OP command to the field is set to 0.
Manual resetting Allows you to reset manually after the detection of an inoperable device
condition or a not confirmed operation and thereby moving the valve to the
current set point.
Local and remote set point Allows the function block to accept a set point (command) to operate the
penstock either from a local set point or a remote set point in Program mode
of operation.
Local set point - In Program mode the command is generated by another
program such as a sequential control system. By default, the function block is
designed to accept local set point.
Remote set point - In Program mode, you can connect the output pin from
other logic to the respective remote set point pin of the DFB to generate the
command. Normally, continuous control logic in DFB uses remote set point
pin.
Function Description
Interlocking Provides a function to drive the output to put the device onto a defined
position (open/close) when an active interlock is detected.
The function block has a facility to bypass individual active interlock
conditions.
Owner The DFB selects the program or operator as owner for the control system.
In Program mode, the operation is managed by local or remote set point. In
Operator mode, the operation is managed by commands received from the
operator.
Simulation You can switch the function block to Simulation mode where the feedback
signals are simulated, and confirm the normal operation of the function block.
The field feedback signals are bypassed in this case. Output to field is
configured as per project constant variable (OPSImEN). For detail refer to
Simulation (see page 30).
Intermediate stop As required on WWW industry, the penstock valve can be stopped
intermediately at a desired position , in between the open and close with the
help of an Intermediate stop command.
In this case, the display shows the penstock in an intermediate position but
does show the actual % of valve opening. If the penstock valve is supported
by a position transmitter, it can show the % of opening.
DFB Representation
Overview
This figure shows the FBD representation of the WPENSTOCK DFB.
Inputs
Outputs
The below truth table shows the MOPx (output pin) value whenever there is a detected failure (FAIL
= 1), which are dependent on the configurable public parameters SC.FAILEN and
SC.FAILREARMEN.
WARNING
UNINTENDED EQUIPMENT OPERATION
The SC.CONFREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under non-confirmed operations.
The SC.FAILREARMEN public variable has to be set to 1 for the MOPx (x = 1 or 2) pin to
become 0, under detected failure conditions.
Changes to the configuration of these parameters have to be performed by competent
personnel only.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
SC.FAILEN input SC.FAILREARMEN MOPx output when FAIL = 1 MOPx output when FAIL = 1
input (assume MOPx = 1 before the (assume MOPx = 0 before the
detected failure) detected failure)
0 0 1 0
0 1 1 0
1 0 1 0
1 1 0 0
x = 1 or 2
Input/Output Pins
Input/Output Parameter
WPENSTOCK_M_DDT Type
This structure contains the DFB control and status data for the for the WPENSTCOCK DFB.
WPENSTOCK_ST_DDT Type
The following table describes the structure of the derived data type WPENSTOCK_ST_DDT for the
WPENSTOCK DFB.
Public Variables
WPENSTOCK_SC_DDT Type
The following table describes the structure of the derived data type WPENSTOCK_SC_DDT of
WPENSTOCK function block
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
WPENSTOCK is a DFB similar to the valve DFBs. This DFB has a device maintenance option
available like the other equipment DFBs. There two WCONDSUM DFBs (one for detected failure and
the other for interlock) which are used along the WPENSTOCK. .
The following figure is shown as an example for WPENSTOCK DFB.
Chapter 11
WAINPUT: Analog Input
Overview
This chapter describes the control services provided by WAINPUT DFB.
Introduction
General
The WAINPUT DFB is used to condition a signal coming from an analog input card. The signal is
conditioned for scaled value, range alarms and over range/under range (cut-off) limits.
The following table describes the main functions of this function DFB:
Function Description
Scaling Scales the input signal (usually in raw data) to engineering units through a linear
function.
Cut-Off You can configure a minimum value, which is called the cut-off value. If the measured
value received from the transmitter is below the cut-off value, the measured value is
non-usable. In such case, the cut-off value is considered.
Diagnosis The function block manages the diagnostic status of the signal if the peripherals used
provide it and assigns the value that is configured for different scenarios.
Simulation The function block can be configured in order to enable modifying the entry of the value
that needs to be considered (in engineering units).
This option enables to conduct tests on the programming associated with the function
block from the monitoring subsystem.
External PV The function block allows a signal that is already in engineering units (therefore, it does
not need scaling, diagnosis; or cut-off) to be connected, maintaining the simulation
function.
Alarm The function block allows the alarm evaluation. To evaluate the alarm, the status should
be enabled/disabled. The incorporation of an external logic should be added to the
evaluation of this alarm.
Description
Operating Modes
The WAINPUT DFB conditions a signal coming from an analog input card.
The function block supports the following two modes of operation:
Simulation mode - In Simulation mode, you can enter a simulated value of analog input (in
engineering units) from Configuration tab.
Normal mode - In Normal mode, the input values are scaled by the function block.
Functional Description
The raw count of the analog input card has to be connected to DFB input CHIN and the channel
not operational status has to be connected to CHFAILURE.
You can enter high and low values of raw count at HIRAW and LORAW correspondingly.
You can enter high and low limits of engineered value at input pins of HIPV and LOPV DFBs.
You can enter BADPV at DFBs input pin. In case of channel not operational, this value is taken
as PV.
You can bypass the analog input card and obtain value from somewhere else (logics) by using
the engineered value at EXTPV.For enabling the EXTPV, set EXTPVEN high.
If the raw count is below the LORAW, you can have cut-off PV.
The DFB generates five different types of alarms: HIHI, LOWLOW, HI, LOW, and deviation as
per SP entered for these values in the faceplate.
The alarms can be made on or off with the delay as per the value entered in TONSP and TOFFSP
respectively.
You can define hysteresis at the DFB input HYSTSP.
You can enable the alarm by clicking the ALARM ENABLED/ALARM DISABLED button in the
faceplate and the respective input of alarm watch (for example, HHWATCH) has to be set.
The processed analog input value in engineering value is passed on to DFBs output PV in case
the alarm DFB output is set.
DFB Representation
Overview
This figure shows the FBD representation of the WAINPUT DFB:
Inputs
Outputs
Inputs/Outputs
Other DDTs which are used with WAINPUT DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WAINPUT_ST_DDT Type
The following table describes the structure of the derived data type WAINPUT_ST_DDT for the
WAINPUT function block:
Public Variables
WAINPUT_SC_DDT Type
The following table describes the structure of the derived data type WAINPUT_SC_DDT of the
WAINPUT DFB :
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The WAINPUT DFB can be used independently, and the usage of this DFB are:
The raw count of the analog input card has to be connected to DFB input CHIN and the channel
failure detected status from the analog input card has to be connected to CHFAILURE.
You can enter high and low values of raw count at HIRAW and LORAW.
You can enter high and low limits of engineered value at the input pins of HIPV and LOPV DFBs.
You can enter BADPV at DFBs input pin. In case of channel detected failure, this value is taken
as PV.
You can bypass the analog input card and obtain value from somewhere else (logics) by using
the engineered value at EXTPV. For enabling the EXTPV, you has to set EXTPVEN high.
If the raw count is below the LORAW, then you can have cut-off PV.
The DFB generates 5 different types of alarms: HIHI, LOWLOW, HI, LOW, and deviation as per
SP entered for these values in the faceplate by you.
The alarms can be made on or off with the delay as per the value entered in TONSP and TOFFSP.
You can define hysteresis at the DFB input HYSTSP.
You can enable the alarm by clicking the ALARM ENABLED/ALARM DISABLED button in the
faceplate and the respective input of alarm watch (for example, HHWATCH) has to be set.
The processed analog input value in engineering value is passed on to DFBs output PV in case
the alarm DFB output is set.
Chapter 12
WAOUTPUT: Analog Output
Overview
This chapter describes the control services provided by WAOUTPUT DFB.
Introduction
General
The WAOUTPUT DFB is used to condition an analog signal associated with a physical output. The
module provides linear scaling, interlocking, diagnosing, and owner management functions.
The following table describes the main functions of this DFB:
Function Description
Scaling Scales the input signal in engineering units (for example, %) to raw data by
means of a linear function.
Diagnosis The function block manages the diagnostic status of the signal if the
peripherals used provide it and assigns the value that is configured for
different scenarios.
Interlocking The module gives the command to the device for moving to the defined
position if an active interlock that requires the move is detected. An
interlock bypass function is available.
Owner The module manages which control system level (Operator or Program) is
the owner. As a result, it is responsible for setting the set point for the
desired position.
Description
Operating Modes
The WAOUTPUT DFB conditions an analog signal associated with a physical output. The module
provides linear scaling, interlocking, diagnosing, and owner management functions.
The WAOUTPUT DFB conditions a signal send to an analog output card.
It supports the following modes of operation:
Program mode - In Program mode, value is scaled by the DFB. The DFB takes the value from
the pin RSP in between HIRAW and LORAW, and scales the output in between HISP and LOSP.
CHFAIL status has to be connected to CHFAILURE
You can enter high and low values of raw count at HIRAW and LORAW
Similarly, HI and low limits of set point value are entered at DFBs input pin HISP and LOSP
Operator mode - You can enter the value in REAL datatype only.
The DFB handles the interlock and provides you the provision to bypass the interlock.
Functional Description
The raw count of the analog output card has to be connected to DFB output CHOUT.
You have to provide inputs high and low values of raw count at HIRAW and LORAW respectively.
Similarly, you can enter engineering values of high and low limits in DFBs input pin HIPV and
LOPV.
The pin TRACK determines if the remote set point (RSP input) is considered (0) or not (1) for the
CHOUT output calculation. This output is used to report to the algorithm connected to the RSP input
(that is a PID) whether the control loop is open (TRACK = 1) or not (TRACK = 0). As a result, the
control loop can be repositioned in terms of the output set point that is having an effect.
If the DFB is operated in Remote mode, the input to the DFB is given at the input RSP.
If there is any interlock, the input is given at the input ILCKSP.
DFB Representation
Overview
This figure shows the FBD representation of the WAOUTPUT DFB:
Inputs
Outputs
Inputs/Outputs
Other DDTs which are used with WAOUTPUT DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WAOUTPUT_ST_DDT Type
The following table describes the structure of the derived data type WAOUTPUT_ST_DDT for the
WAOUTPUT function block:
Public Variables
WAOUTPUT_SC_DDT Type
The following table describes the structure of the derived data type WAOUTPUT_SC_DDT of
WAOUTPUT function block:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
This WAOUTPUT DFB can be used along with the WPIDCTL DFB. The set point to the WAOUTPUT
DFB can be given from the output of the PID control DFB.
Chapter 13
WDINPUT: Digital Input
Overview
This chapter describes the control services provided by WDINPUT DFB.
Introduction
General
The WDINPUT DFB is used to condition a signal coming from a digital input card.
The following table describes the main functions of this function block:
Function Description
Timing The input signal is timed for the purpose of evaluating an output logic signal
that absorbs rapid changes in the input signal.
Alarm The function block allows the alarm evaluation and the status that is
considered as an alarm to be enabled/disabled. It also allows the
incorporation of an external logic that has to be added to the evaluation of this
alarm.
Diagnosis The function block manages the diagnostic status of the signal if the
peripherals used provide it and assigns the value that is configured for
different scenarios.
Simulation You can configure the function block so as to enable entering the value that
should be considered. This option enables to conduct tests on the
programming associated with the function block from the monitoring
subsystem.
Description
Operating Modes
The WDINPUT DFB conditions the digital input signal from the field connected to the digital input
card.
It supports the following modes of operation:
Simulation mode - In this mode, you can on or off the signal from the faceplate.
Normal mode - In this mode, the DFB conditions the signal.
The switching between Normal and Simulation mode can be done using the configuration tab.
Functional Description
In Normal mode, status of physical input connected to a particular channel of the digital input card
is connected to CHIN and FAIL signal to CHFAILURE. You can enter the values of BADPV. It is
moved to PV in case of CHFAIL.
You can enter the condition in which alarm has to be considered (0 or 1) at ALARMST to enable the
alarm. Click ALARM ENABLED in the faceplate and set the DFB input WATCH.
Alarm can be made on or off with the delay as per the value entered in TONSP or TOFFSP.
The processed digital input value is moved to DFB output PV. In case of alarm, the DFB output
ALARM is set.
DFB Representation
Overview
This figure shows the FBD representation of the WDINPUT DFB:
Inputs
Outputs
Inputs/Outputs
Other DDTs which are used with WDINPUT DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WDINPUT_ST_DDT Type
The following table describes the structure of the derived data type WDINPUT_ST_DDT for the
WDINPUT DFB:
Public Variables
WDINPUT_SC_DDT Type
The following table describes the structure of the derived data type WDINPUT_SC_DDT of the
WDINPUT DFB:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The CHIN input pin is connected to any of the digital input channel.
You can enter the condition in which alarm has to be considered (0 or 1) at ALARMST to enable the
alarm. Click ALARM ENABLED in the faceplate and set the DFB input WATCH.
Alarm can be made on or off with the delay as per the value entered in TONSP/TOFFSP.
The processed digital input value is moved to DFB output PV. In case of alarm, the DFB output
ALARM is set.
Chapter 14
WDOUTPUT: Digital Output
Overview
This chapter describes the control services provided by WDOUTPUT DFB.
Introduction
General
The WDOUTPUT DFB is used for conditioning a digital signal usually associated with a physical
output.
The following table describes the main functions of this DFB:
Function Description
Diagnosis The function block manages the diagnostic status of the signal if the
peripherals used provide it and assigns the value that is configured for
different scenarios.
Interlocking The module makes it possible to move to the defined position if an active
interlock that requires this move is detected. An interlock bypass function is
available.
Owner The module manages which control system level (Operator or Program) is
the owner. As a result, it is responsible for setting the set point for the desired
position.
Description
Operating Modes
The WDOUTPUT DFB conditions the signals sent from from controller to the field devices connected
to the digital output card.
It supports the following modes of operation:
Program mode - In this mode, the WDOUTPUT DFB takes the input from the pin RSP and
calculates the value and gives it in the pin CHOUT. The current set point is displayed at the output
SP.
The pin TRACK determines if the remote set point (RSP) input is considered (0) or not (1) for the
CHOUT output calculation. This output is used to report to the algorithm connected to the RSP
input (that is a PID) whether the control loop is open (TRACK = 1) or not (TRACK = 0). As a result,
the control loop can be repositioned in terms of the output set point that is really having an effect.
Operator mode - You can enter the inputs at the set point through the faceplate and hold the
buttons ON and OFF.
The DFB handles the interlock and you have the provision to bypass the interlock.
DFB Representation
Overview
This figure shows the FBD representation of the WDOUTPUT DFB:
Inputs
Outputs
Inputs/Outputs
Other DDTs which are used with WDOUTPUT DFB to function are WCONDSUM_ST_DDT and
WDEVMNT_ST_DDT.
NOTE: Refer to the WCONDSUM (see page 343) and WDEVMNT (see page 333) sections for
detailed description.
WDOUTPUT_ST_DDT Type
The following table describes the structure of the derived data type WDOUTPUT_ST_DDT for the
WDOUTPUT DFB:
Public Variables
WDOUTPUT_SC_DDT Type
The following table describes the structure of the derived data type WDOUTPUT_SC_DDT of the
WDOUTPUT DFB:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
Part III
Generic Process
Generic Process
Overview
The following part describes the generic process objects.
WARNING
LOSS OF CONTROL
Perform application FMEA (Failure Mode and Effects Analysis) of the system and apply
preventive, detective controls before implementation.
Provide a fallback state for undesired control events or sequences.
Provide separate or redundant control paths wherever required.
Supply appropriate parameters, particularly for limits.
Review the implications of transmission delays and take actions to mitigate.
Review the implications of communication link interruptions and take actions to mitigate.
Provide independent paths for control functions (for example, emergency stop, over-limit
conditions, and fault conditions) according to the safety analysis and applicable codes, and
regulations.
Apply local accident prevention and safety regulations and guidelines. 1
Test each implementation of this library for proper operation before placing it into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control and to NEMA ICS 7.1 (latest
edition), Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems or their equivalent governing your particular location.
Chapter 15
WPUMPSEL: Pump Selection
Overview
This chapter describes the control services provided by WPUMPSEL DFB.
Introduction
General
The WPUMPSEL DFB checks status and controls operations of maximum five pumps.
The function block supports two modes of operation:
In Program mode, the function block receives run feedback from all activated pumps and
calculates the number of operation hours of each pump. The maximum number of operation hours
per cycle is given to each pump through the input-output WPMPSEL_ST.PMPHRSET. After
completion of the set operation hours, the function block changes the working pumps into Standby
mode and standby pumps into Working mode. The cycle continues in this manner. The function
block accepts the pump healthy signal and ignores the operation if any of the pumps are not
healthy.
In Manual mode, the Operator switches over between pumps by using the buttons in the faceplate.
DFB Representation
Overview
This figure shows the FBD representation of the WPUMPSEL DFB:
Inputs
Outputs
Inputs/Outputs
WPUMPSEL_ST_DDT Type
This table describes the structure of the derived data type WPUMPSEL_ST_DDT for the WPUMPSEL
DFB:
Bit Description
3 SEQSTART.
4 PMP1MD.
Refer to the PMP1MD output (see page 213).
5 PMP2MD.
Refer to the PMP2MD output (see page 213).
6 PMP3MD.
Refer to the PMP3MD output (see page 213).
7 PMP4MD.
Refer to the PMP4MD output (see page 213).
8 PMP5MD.
Refer to the PMP5MD output (see page 213).
12 ALARM.
Refer to the ALARM output (see page 213).
14 WARN.
Refer to the WARN output (see page 213).
Public Variables
WPUMPSEL_SC_DDT Type
This table describes the structure of the derived data type WPUMPSEL_SC_DDT:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
You can use the pump-selection DFB along with the motor-control DFBs as shown in the figure.
The function block takes as input, the running feedback signals from all active pumps and
calculates the number of operation hours of each pump.
After the set operation hours are completed, the DFB changes the working pumps to Standby
mode and standby pumps to Working mode.
To provide a status of the motors or pumps, the detected failure condition signal of the function
block is connected as a feedback to the WPUMPSEL DFB.Hence, the function block accepts the
pump healthy signal and ignores the operation if any of the pumps are not healthy.
Chapter 16
WPUMPSEL1: Enchanced Pump Selection
Overview
This chapter describes the control services provided by WPUMPSEL1 DFB.
Description
Function Description
The WPUMPSEL1 DFB checks the status and controls the operations of a maximum five pumps.
The following table describes the main functions of this DFB:
Function Description
Selection Selects the active pumps.The pumps with the minimum run hours are selected for
operation. The pumps with the maximum run hours are switched off. Only when the
pump is in program mode with SC.REM = 1, the pump selection block controls the
pumps.
Standby (In case of If an inoperable condition is detected in an active pump in the field, a Stop command
inoperable pump) is issued from block to inoperable pump and another pump with the minimum run hour
start.
When the detected fault status of a pump is reset, the pump automatically goes to
Standby mode and waits for the next command from the next calculation/switching
caused by the following factors:
Change in the number of requested pumps.
Detected failure of an active pump and switch over to a standby one.
Recalculation is requested or forced.
NOTE: If the number of active pumps is less than the number of requested pumps and
the motor returns from detected fault-status, the pump restarts automatically.
Recalculation Enables to recalculate the ordering of the motors based on the operating hours.This
data helps you to switch over of pumps based on recalculation of the operating hours.
Enables you to enter a time duration after which the DFB recalculates the running hour
data and starts the least run pumps as per the set point. For example, if pumps A and
B are running for more than 2 hours as per set point and pump C and D are running for
less than the 2 hours and if you set the duration as 2 hours for recalculation, the DFB
recalculates and gives commands to pump C and D to run after 2 hours.
Owner selection In Program mode, the pump selection happens based on the run hours. In operator
mode, the operator can choose the motors to run from the faceplate.
DFB Representation
Overview
This figure shows the FBD representation of the WPUMPSEL1 DFB:
Inputs
Outputs
Inputs/Outputs
WPUMPSEL1_ST_DDT Type
The following table describes the structure of the derived data type WPMPSEL1_ST_DDT of the
WPMPSEL1 DFB.
Bit Description
4 RUNCMDP1 - Refer to RUNCMDP1 output (see page 223).
5 RUNCMDP2 - Refer to RUNCMDP2 output (see page 223).
6 RUNCMDP3 - Refer to RUNCMDP3 output (see page 223).
7 RUNCMDP4 - Refer to RUNCMDP4 output (see page 223).
8 RUNCMDP5 - Refer to RUNCMDP5 output (see page 223).
Bit Description
11 Number of pumps required is not available.
Public Variables
WPMPSEL1_SC_DDT Type
The following table describes the structure of the derived data type WPMPSEL1_SC_DDT for the
WPMPSEL1 DFB.
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
WPUMPSEL1 is connected to the motor DFBs as shown below. The run hour is fed to the
WPUMPSEL1 DFB from the WDEVMNT (device maintenance DFB). In operator mode, you can
connect interlock condition and Out of service mode to the PFAILD pin of the corresponding pump.
The FAIL and the RUN FEEDBACK are the other inputs to the WPUMPSEL1 DFB.
Chapter 17
WDMFCTL: Dual Media Filter Management
Overview
This chapter describes the control srevices by the WDMFCTL DFB.
Introduction
General
Dual media filters are used in waste water treatment plants for filtering, backwash, and short flush
operations.
Description
The WDMFCTL DFB controls the dual media filter equipment used in waste water treatment plants.
The major operations of this equipment are filtering, backwash, and short-flush. The DFB facilitates
these operations . User has to configure all the equipment for various operations (filtering,
backwash, and short flush).
The table below describes the functions of the DFB:
Function Description
Operations The operations controlled by the DFB are:
Filtering
Backwash
Short flush
Idle
Filtering The filtering operation is not based on pre-configured timings. The switching
from backwash sequence to filtering operation depends on the input to
START_BW pin or the dirty status of the filter.
The filtering operation does not have any alarms.
Backwash Backwash operation is initiated when START_BW (start backwash) pin is
high. The DFB can handle a maximum eight backwash operations. The
operations are controlled in a sequential manner. You can configure the
number of backwash operations.
The backwash operation sequence is initiated depending on the step delay
and a step feedback input from the DFB pin. Step delay is the duration of
each of the steps.
A common timer preset value is configured for all the steps. The timer-done
bit is enabled,every time the value of the timer value matches the preset
value.
An alarm for feedback is generated for each of the operational steps, if the
feedback is not enabled within the specified common time out. After the
completion of backwash sequence and the START_BW pin becomes low, the
dual media filter (DMF) switches to Filter mode. If the START_BW pin is high
even after the completion of backwash operational sequence, an alarm is
generated with the step output high.
The step delay for each of the steps is configurable from the PES and
faceplates.
The sequence stops in case of an alarm.
If there is any steps without feedback you have to force the corresponding
step feedback pin to HIGH.
Idle This input pin forces the filter to switch to Idle mode. Idle mode enabled only
in Filtering mode.
If a backwash is required during the Idle mode, it will start only after the
completion of Idle mode,
Function Description
Short flush The short flush is optional configuration.You can select short flush operation
from the faceplate.
The short flush operation is a one-step operation. The alarm for step delay
is applicable for short flush operation.
Device maintenance The device maintenance is based on the filtering hours,number of
backwash operations, and calendar days.
Owner selection In the Operator mode, the buttons on the faceplate enable you to start and
stop various operations. The backwash operational sequence is initiated by
the respective push button in the faceplate.
Switching of modes:
Program to operator: There is no switching during the backwash and
short flush operations.
Operator to program: There is no switching during the backwash and
short flush operations.
Alarms management Eight feedback alarms for backwash step operations, one feedback alarm
for short flush operation and one alarm at the end of backwash sequence if
START_BW pin is high.
DFB Representation
Overview
This figure shows the FBD representation of the WDMFCTL DFB.
Inputs
Outputs
Inputs/Outputs
WDMFCTL_ST_DDT Type
This structure contains the block control and status data for the for the WDMFCTL DFB.
WPARAM_ST_DDT Type
This structure contains the block control and status data for the for the WDMFCTL DFB.
WDMFMNT_ST_DDT Type
This structure contains the block control and status data for the for the WDMFCTL DFB.
Bit Description
0 Configuration of set point by Operator/Program.
0 = Program
1 = Operator
Bit Description
0 Indicates if filtering mode status.
Refer to FILTER (see page 235) output pin.
1 Indicates if backwash step1 status.
Refer to BW_OP1 (see page 235) output pin.
2 Indicates if backwash step2 status.
Refer to BW_OP2 (see page 235) output pin.
3 Indicates if backwash step3 status.
Refer to BW_OP3 (see page 235) output pin.
4 Indicates if backwash step4 status.
Refer to BW_OP4 (see page 235) output pin.
5 Indicates if backwash step5 status.
Refer to BW_OP5 (see page 235) output pin.
6 Indicates if backwash step6 status.
Refer to BW_OP6 (see page 235) output pin.
7 Indicates if backwash step7 status.
Refer to BW_OP7 (see page 235) output pin.
8 Indicates if backwash step8 status.
Refer to BW_OP8 (see page 235) output pin.
9 Indicates if shortflush status.
Refer to SHTFLSH output pin.
10 Indicates if idle status.
Refer to IDLE (see page 235) output pin.
Bit Description
0 Device maintenance status. Activated when the hours counter exceeds the maximum
displayable value (65535).
1 Device maintenance status. Activated when the switching operations counter exceeds the
maximum displayable value (65535). Deactivated through
Bit Description
0 Device maintenance status. Allows to reset (1) the hours-of-operation totalizer.
Also,resets the internal seconds subtotal from the last hour-of-operation fraction.
The function block sets this signal to 0 once it is processed.
1 Device maintenance status. Allows to reset (1) the switching operation totalizer.
The function block sets this signal to 0 once it has been processed.
Bit Description
2 Alarm if ST_BW pin is high after the completion of the backwash sequence.
6 Alarm for not confirmed shortflush operation.
7 Alarm for not confirmed backwash step1.
8 Alarm for not confirmed backwash step2.
9 Alarm for not confirmed backwash step3.
10 Alarm for not confirmed backwash step4.
11 Alarm for not confirmed backwash step5.
13 Alarm for not confirmed backwash step6.
14 Alarm for not confirmed backwash step7.
15 Alarm for not confirmed backwash step8.
Bit Description
3 Pre alert for exceeded backwash sequences.
4 Alert for exceeded backwash sequences.
7 Pre alert for exceeded filtering hours.
8 Alert for exceeded filtering hours.
11 Pre alert for time counter.
12 Alert for time counter.
WDMFCTL_SC_DDT Type
Public Variables
WDMFCTL_SC_DDT Type
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The following figure is shown as an example for WDMFCTL. It does not require any additional DFBs
for its operation. The RSP pin is used to initiate the filtering operation and START_BW is the pin
which determines the start of a backwash sequence in the program mode of operation.
Chapter 18
WFLOWCALC: Flow Calculation
Overview
This chapter describes the Control services provided by WFLOWCALC objects.
The objects of this function calculate the flow discharge in the open channel for various
constructions such as weirs, flumes, notches and make data available be displayed as flow rate on
SCADA. 7 function blocks are available for different types of channel constructions. You can use
these objects in combination with AI Signal DFB from the General Purpose library.
Section 18.1
WREC_WEIR: Rectangular Weir
Overview
This section describes the WREC_WEIR DFB.
Introduction
General
Weirs are installed in open channels to determine discharge. A sharp-crested rectangular weir is
a flat plate obstruction in an open channel flow path with a straight level opening to allow the water
flow over the weir.
It is used to measure the water flow over the weir (through the open channel) by measuring the
head of water over the weir crest.
Description
Functional Description
The WREC_WEIR DFB determines the discharge rate in a rectangular weir.
The discharge or flow is calculated in gallons per minute (gpm) and millions of gallons per day
(mgd) neglecting the velocity of approach. You can configure EN and ENO as additional
parameters.
Discharge equation:
DFB Representation
Overview
This figure shows the FBD representation of the WREC_WEIR DFB.
Inputs
Outputs
Section 18.2
WTRAP_WEIR: Trapezoidal Weir
Overview
This section describes the WTRAP_WEIR DFB.
Description
Functional Description
The WTRAP_WEIR DFB determines the discharge rate of a Cipoletti or trapezoidal weir.
The discharge or flow is calculated in gallons per minute (gpm) and millions of gallons per day
(mgd) neglecting the velocity of approach.
Discharge equation:
DFB Representation
Overview
This figure shows the FBD representation of the WTRAP_WEIR DFB.
Inputs
Outputs
Section 18.3
WV_WEIR: V Notch Weir
Overview
This section describes the WV_WEIR DFB.
Introduction
General
The V-notch weir is a triangular channel section used to measure small discharge values.
Description
Overview
The WV_WEIR DFB determines the discharge rate of a 90° V-Notch weir.
Weirs are installed in open channels to determine discharge rate for a 90° V-Notch weir. The
discharge or flow is calculated in gallons per minute(gpm)and millions of gallons per day(mgd)
neglecting the velocity of approach. EN and ENO can be configured as additional parameters.
Discharge equation:
DFB Representation
Overview
This figure shows the FBD representation of the WV_WEIR DFB.
Inputs
Outputs
Section 18.4
WREC_FLU: Rectangular Flume
Overview
This section describes the WREC_FLU DFB.
Introduction
General
A flume is a man-made channel for water, in the form of an open declined gravity chute whose walls
are raised above the surrounding terrain, in contrast to a trench or ditch. Flumes lead water from
a diversion dam or weir to their desired location. The flumes with rectangular cross section is called
a rectangular flume.
Description
Functional Description
The WREC_FLU DFB determines the discharge rate of a rectangular flume. This DFB uses the ISO
4359 and 1983 methodology for the flume calculation.
The discharge or flow is calculated in m3/sec, gallons per minute (gpm) and millions of gallons per
day (mgd) ). You can configure EN and ENO as additional parameters.
Equations:
Conditions:
0 <= h <= 3 m; 0.01<b<16 m; b<B1<10,000; 0 <= P < 3 m ; 0 < L < 10,000 ; Cd >0; and (h∗b∗Cd/A)
< 0.93
Where: Cd = Coefficient of discharge of rectangular, trapezoidal, and U flumes (unit-less).
Cv = Coefficient of approach velocity of rectangular, trapezoidal, and U flumes (unit-less).
Cs = Shape coefficient for trapezoidal flume (unit-less).
DFB Representation
Overview
This figure shows the FBD representation of the WREC_FLU DFB.
Inputs
Outputs
Section 18.5
WTRAP_FLU: Trapezoidal Flume
Overview
This section describes the WTRAP_FLU DFB.
Introduction
General
Flumes with a trapezoid as its cross section are called trapezoidal flume.
Description
Operating Modes
The WTRAP_FLU DFB determines the discharge rate of a trapezoidal flume. This DFB uses the ISO
4359 and 1983 methodology for the flume calculation.
The discharge or flow is calculated in m3/sec, gallons per minute(gpm) and millions of gallons per
day (mgd)). You can configure EN and ENO as additional parameters.
Equations:
(H = h, first time to get the value of C5 and the flow is re-computed 6 times for more accuracy).
0<= h <= 3 m ; 0.01< b < 16 m ; b < B1< 10,000 ; 0 <= P < 3 m ; 0 < L < 10,000 ; 0 < m < 100
0 < M1 < 10,000 ; (h∗b∗Cs/Area) < 0.93 and 0.02 <= mH/b <= 5.
DFB Representation
Overview
This figure shows the FBD representation of the WTRAP_FLU DFB:
Inputs
Outputs
Section 18.6
WPARSH_FLU: Parshall Flume
Overview
This section describes the WPARSH_FLU DFB.
Introduction
General
A parshall flume is a fixed hydraulic structure used in measuring volumetric flow rate in surface
water, waste water treatment plant, and industrial discharge applications. The parshall flume
accelerates flow though a contraction of both the parallel sidewalls and a drop in the floor at the
flume throat.
Description
Functional Description
The WPARSH_FLU DFB determines the discharge rate of a Parshall flume. The discharge or flow
is calculated in gallons per minute (gpm) and millions of gallons per day (mgd).
You can configure EN and ENO as additional parameters.
Discharge equation:
DFB Representation
Overview
This figure shows the FBD representation of the WPARSH_FLU DFB.
Inputs
Outputs
Section 18.7
WU_FLU: U FLUME
WU_FLU: U FLUME
Overview
This section describes the WU_FLU DFB.
Introduction
General
Flumes with U shaped cross section are called U Flumes.
Description
Operating Modes
The WU_FLU DFB determines the discharge rate for a WU_FLU. This DFB uses the ISO 4359 and
1983 methodology for the flume calculation.
The discharge or flow is calculated in m3/sec, gallons per minute (gpm) and millions of gallons per
day (mgd).You can configure EN and ENO as additional parameters.
Equations:
(H = h, first time to get the value of Cu and the flow is re-computed six times for more accuracy.
Conditions:
0⇐ h⇐ 3 m; 0.01<b<16 m; 0⇐P< 3 m; 0<L<10,000; d<D<10,000; Cd>0; and (h∗d∗Cu/A)< 0.93.
DFB Representation
Overview
This figure shows the FBD representation of the WU_FLU DFB
Inputs
Parameter Description
Outputs
Chapter 19
WFLOWCTL: Flow Control
Overview
This chapter describes the control services provided by WFLOWCTL DFB.
Introduction
General
The WFLOWCTL DFB controls the flow by controlling the operation of maximum five variable speed
pump. Operation of pumps include the start/stop and the speed set points management.The
controlled flow happens mainly in the chemical dosing operation in the water treatment plants.
The following table describes the main functions of this function block:
Function Description
Required Depending upon the flow set point, the required number of pumps are calculated from a PID
number of controller output. The function block chooses (n) out of 5 pumps, where ‘n’ is the number of
pumps required pumps for operation.
Speed The function block is capable of calculating the speed set points for the selected pumps to
calculation achieve the calculated flow set point.For example, consider a case, where the number of
pumps available is four, and calculated PID output is 60% (Considering PID output range is 0
to 100%) and the number of pumps running are three. So, two pumps would run at full speed
and third pump runs at 40% of the full speed to meet the flow calculations.
Selection The pump selection is based on the run hours of individual pumps. The pumps with least run
based on run hours are chosen for the operation.
hours The sorting happens every time at the start of an operation and the run hour sorting does not
happen during the runtime.
Standby (in If an inoperable condition is detected in an active pump in the field, a Stop command is issued
case of from block to inoperable pump and another pump with the minimum run hour start.
inoperable When a pump is reset from a detected fault status, this motor is automatically switched to
pump) Standby mode and is considered during the next calculation/switching caused by either of
following:
Change of the number of required pumps
Detected fault of an active pump -> switch over to a standby one
Recalculation is requested/forced
DFB Representation
Overview
This figure shows the FBD representation of the WFLOWCTL DFB.
Inputs
Outputs
Inputs/Outputs
WFLOWCTL_ST_DDT Type
The following table describes the structure of the derived data type WFLOWCTL_ST_DDT for the
WFLOWCTL DFB.
WFLOWPID_ST Type
WPUMPSEL1_ST Type
NOTE: For description of bit structure of STW , CFGW and ALW, refer to WPUMPSEL1 inputs/outputs
(see page 224).
Public Variables
WFLOWCTL_SC_DDT Type
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
WFLOWCTL requires a WPIDIN and WPIDOUT DFB for the PID input and output parameter
interfacing. The FAIL pin and the OOS pins of the WMOTORVS is interfaced to the FAILD pin of
WFLOWCTL. The RUNCMD pin and the SPEED pin of the WFLOWCTL is connected to the RSTART and
RSP pin WMOTRVS respectively
Chapter 20
WAERACTL: Aeration Control Block
Overview
This chapter describes the control services provided by WAERACTL DFB.
Introduction
General
The WAERACTL controls the aeration process in water treatment plant. Aeration is a process
involved in the secondary stage treatment of waste water, in the waste water treatment plants.
Aeration is done based on the DO (dissolved oxygen) content in the water.
The following table describes the main functions of this function block:
Function Description
DO control DO control is used for maintaining the require amount of dissolved oxygen(DO) in the Zone.
For this a PID controller is used to control the opening of valve in one aeration zone. DO
Content can be varied by regulating the opening of the valve. The function block can control
a maximum of five zones in one aeration line. The Do setpoint is configurable.
Ammonium Determines the number of active aeration zones depending on the amount of ammonium
control present in the water. So it enables/disables the DO control of repective zone accordingly. The
priority number method is adapted for ammonium control. Ammonium control is an optional
control available.
The priority number for each line is calculated as shown below depending on the NH4
(Ammonium) PV value a priority number is calculated:
Value < Low level => priority number = 1
Low level < Value < Set point => Priority number = 2
Set point < Value < High level => Priority number = 3
Value > High level => priority number = 4
NOTE: If NH4 PV = NH4 SP, it falls in the lesser priority group (for example, LSP = 10, PV
= 20, SP = 20, HSP = 90, calculated priority is 2).
If the priority number is greater than or equal to the zone priority number, the zone
becomes active.
The calculated priority number is one less than the actual calculated priority number if there
is a sudden decrease in ammonium process value by AMMOD in TIMED duration.
The calculated priority number is greater than the actual calculated priority number by one
when there is a sudden rate of increase in ammonium process value by AMMOD in TIMED
duration.
If the zone is inactive, then respective zone PID is interlocked. If ammonium control is not
available by default, all the zones get active and you get an option from the faceplate to
activate or deactivate the zones.
Use the AMMOEN public variable to enable the ammonium control.
Pressure Controls the air blower speed. This is available as an optional control.The pressure in the line
control is measured and depending on the pressure set point ,the PID controls the speed of the
blower motor.
Use the PRSEN public variable to enable the pressure control.
Description
General
This DFB controls the aeration process in water treatment plant. Aeration is a process involved in
the secondary stage treatment of waste water in the waste water treatment plants. Aeration is done
based on the DO (dissolved oxygen) content in the water.
For detail Control service information of PIDCTL Function block (which is used for zone's PID and
Pressure control PID) refer to Control service user guide of General Purpose library.
DFB Representation
Overview
This figure shows the FBD representation of the WAERACTL DFB.
Inputs
Outputs
Inputs/Outputs
WAERACTL_ST_DDT Type
The following table describes the structure of the derived data type WAERACTL_ST_DDT for the
WAERACTL DFB.
Bit Description
0 Indication for zone 1 active status.
1 = Zone 1 is active.
1 Indication for zone 2 Active status.
1 = Zone 2 is active.
2 Indication for zone 3 active status.
1 = Zone 3 is active.
3 Indication for zone 4 active status.
1 = Zone 4 is active.
4 Indication for zone active status.
1 = Zone is active.
Bit Description
0 Indication for Ammonium control enabled status.
1 = Ammonium control enabled.
1 Indication for pressure control enabled status.
1 = Pressure control enabled.
2 Indication for Ammonium control enabled status.
1 = Ammonium control not enabled.
ZONExPID_CFGW Description
ZONExPID_STATUS
NOTE: The bit structure description for STW and CFGW, refer PIDCTL Function block in Control
service user guide of General Purpose library.
PRESSUREPID_CFGW
PRESSUREPID_STATUS
Public Variables
WAERACTL_SC_DDT Type
PIDCTL_SC_DDT Type
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The WAERACTL DFB is interfaced to a WPIDIN and WPIOUT DFB as shown below. The WPIDN and
WPIDOUT DFBs are used because of the limitation in number of input and output pins in Control
Expert. One zone requires one WPIDIN and one WPIDOUT DFB. The WCONDSUM DFB is connected
to determine the interlock conditions for the PID.
Chapter 21
WSCHEDULER: Scheduler Function Management
Overview
This chapter describes the control services provided by WSCHEDULER DFB.
Introduction
General
The WSCHEDULER DFB provides scheduling function and time driven output (actuator and value).
The following table describe the main function of this function block:
Function Description
Scheduling The DFB compares the current PLC time with configured event times in the
schedule data. After comparison, the function block releases the outputs
EVENTON and value as per the event time and configured values.
Description
Functional Description
You can enter the scheduled timings for events from the faceplate, and are stored in
WSCHEDULER_ST.
When the value of WSCHEDULER_ST.SCHEDULEON = 1, the DFB compares the current PLC time
with configured event times in the schedule data. After comparison, the DFB releases the outputs
EVENTON and value as per the event time and configured values.
If any event is active, the output ACTIVE = 1. The output EVENTON connects to any actuator
command inputs used for Program mode. The output is available for more than one actuator. The
output VALUE can be used to set a PID value, control valve output, or speed SP of a motor. The
structure connected at the input/output WSCHEDULER_ST is capable of holding information for upto
to ten events .
DFB Representation
Overview
This figure shows the FBD representation of the WSCHEDULER DFB.
Outputs
Inputs/Outputs
WSCHEDULER_ST_DDT Type
The following table describes the structure of the derived data type WSCHEDULER_ST_DDT for the
WSCHEDULER DFB:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
For example, if the motor has to be switched on when an event occurs, the function block has to
be connected in the manner as shown in the previous figure.
The motor should be kept in Remote mode by setting SC.REM public variable to high. The RSP pin
of the WMOTOR DFB is connected to the output pin ACTIVE of the scheduler.
You can configure the event occurring condition in the scheduler faceplate, depending on the
requirement. For example, if the motor is switched on from 8:00 hrs to 14:00 hrs, you can configure
these values in the scheduler function block faceplate. When these conditions are met, the ACTIVE
pin of the scheduler goes high, and the motor is switched on.
Part IV
Auxiliary Objects
Auxiliary Objects
Overview
The following part describes the Auxiliary objects.
WARNING
LOSS OF CONTROL
Perform application FMEA (Failure Mode and Effects Analysis) of the system and apply
preventive, detective controls before implementation.
Provide a fallback state for undesired control events or sequences.
Provide separate or redundant control paths wherever required.
Supply appropriate parameters, particularly for limits.
Review the implications of transmission delays and take actions to mitigate.
Review the implications of communication link interruptions and take actions to mitigate.
Provide independent paths for control functions (for example, emergency stop, over-limit
conditions, and fault conditions) according to the safety analysis and applicable codes, and
regulations.
Apply local accident prevention and safety regulations and guidelines. 1
Test each implementation of this library for proper operation before placing it into service.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control and to NEMA ICS 7.1 (latest
edition), Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems or their equivalent governing your particular location.
Chapter 22
WPIDIN: Water PID Input
Overview
This chapter describes the control services provided by WPIDIN DFB.
Description
Functional Description
The WPIDIN function block contains PIDCTL input parameters as its input pin and they are moved
to a DDT. This PIDIn function block has to be connected with PIDCTL input pins of WAERACTL
and WFLOWCTL.
NOTE: PIDCTL is a PID controller block available in General Purpose Library.
DFB Representation
Overview
This figure shows the FBD representation of the WPIDIN DFB.
Inputs
Outputs
Chapter 23
WPIDOUT: Water PID Output
Overview
This chapter describes the control services provided by WPIDOUT DFB.
Description
Functional Description
The WPIDOUT function block contains PIDCTL output parameters as its output pin. This PIDOUT
function block has to be connected with PIDCTL output pins of WAERACTL and WFLOWCTL to
extract PID output parameters.
NOTE: PIDCTL is a PID controller block available in General Purpose Library.
DFB Representation
Overview
This figure shows the FBD representation of the WPIDOUT DFB.
Inputs
Outputs
Chapter 24
WDEVMNT: Device Maintenance
Overview
This chapter describes the control services provided by WDEVMNT DFB.
Introduction
General
The WDEVMNT DFB is used to provide data that is useful for device maintenance purposes.
It can not be used independently. It has to be used along with other DFBs, for example, motor, and
valve.
The following table describes the main functions of this DFB:
Function Description
Switching operation totalization Counts the number of switching operations that are performed on the
device since the totalizers last reset.
Hours of operation totalization Counts the number of hours of operation that are in operation since
the totalizers last reset.
Reset The function block makes it possible to reset the described totalizers
individually.
Description
Functional Description
You can use this DFB as a supplement to the actuator and valve DFBs, or can be used
independently. It allows the incorporation of totalizing functions for hours of operation and
switching operations. The DFB has to be executed with a minimum frequency of 1/250 ms to assist
in correct operation. Totalizing function is preformed depending on the status of the input at the pin
position. For example, when it is used with the WMOTOR DFB the OP pin is connected to the
POSITION pin of WDEVMNT.
DFB Representation
Overview
This figure shows the FBD representation of the WDEVMNT DFB.
Inputs
Outputs
Inputs/Outputs
WDEVMNT_ST_DDT Type
The following table describes the structure of the derived data type WDEVMNT_ST_DDT for the
WDEVMNT DFB:
WDEVMNT_SC_DDT Type
The following table describes the structure of the derived data type WDEVMNT_SC_DDT of the
WDEVMNT DFB:
Public Variables
WDEVMNT_SC_DDT Type
The following table describes the structure of the derived data type WDEVMNT_SC_DDT of the
WDEVMNT DFB:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The WDEVMNT DFB can be used with any other DFB; such as WMOTOR that provides data, which is
useful for device maintenance and shown with the following figure.
Chapter 25
WCONDSUM: Device Diagnostic Information/Interlock
Overview
This chapter describes the control services provided by WCONDSUM DFB.
Introduction
General
The WCONDSUM DFB evaluates interlock or detected failure conditions. The function block
evaluates up to fifteen signals that can be used as a supplement for the rest of the process library
blocks to evaluate their interlocking inputs.Each one of them can be ignored or require individual
resetting according to the DFB configuration.
The following table describes the main functions of this function block:
Function Description
Summary condition The function block executes the OR function for the
evaluation conditions.
Manual reset conditions Conditions configured require resetting from the monitoring
system.
Bypass Allows the corresponding condition (one by one) to be
ignored when evaluating the expression.
DFB Representation
Overview
This figure shows the FBD representation of the WCONDSUM DFB.
Inputs
Outputs
Inputs/Outputs
WCONDSUM_ST_DDT Type
The following table describes the structure of the derived data type WCONDSUM_ST_DDT for the
WCONDSUM DFB:
CONDW
The WCONDSUM DFB structure is designed on two primary derived data structures:
WCONDSUM_ST_DDT: Function block status handling data structure (communication with
SCADA).
WCONDSUM_SC_DDT: Function block configuration and control data structure (public variables).
WCONDSUM_SC_DDT Type
The following table describes the structure of the derived data type WCONDSUM_SC_DDT of the
WCONDSUM block:
NOTE: The DFB can not be used alone. It has to be used along with DFB such as WMOT1D2S or
WCIRBRK, which gives all information regarding the interlocks or any detected failures. Also it does
not have genie associated with it.
Public Variables
WCONDSUM_SC_DDT Type
The following table describes the structure of the derived data type WCONDSUM_SC_DDT of the
WCONDSUM block:
NOTE: The DFB can not be used alone. It has to be used along with DFB such as WMOT1D2S or
WCIRBRK, which gives all information regarding the interlocks or any detected failures. Also it does
not have genie associated with it.
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The WCONDSUM DFB is used with other DFBs like WMOTOR and WMOT1D2S for evaluating interlock
and detected failure conditions. The RESULT output of this DFB which OR’s all the conditions is
connected to the respective pin in these DFB.
Chapter 26
WHPROLPRO: Process Limits Auxiliary
Overview
This chapter describes the control services provided by WHPROLPRO DFB.
Introduction
General
The WHPROLPRO function block adds the process limit handling feature to the WAINPUT function
block. It acts as an auxiliary function block to WAINPUT function block.
The process-related actions are required when certain analog values exceed process limits that
are configured from faceplate. For example, a temperature value exceeding certain high limit is
needed to start a water pump automatically.
DFB Representation
Overview
This figure shows the FBD representation of the WHPROLPRO DFB.
Inputs
Outputs
Inputs/Outputs
WHPROLPRO_ST_DDT Type
The following table describes the structure of the derived data type WCHPROLPRO_ST_DDT for the
WHPROLPRO DFB:
Public Variables
WHPROLPRO_SC_DDT Type
The following table describes the structure of the derived data type WHPROLPRO_SC_DDT of the
WHPROLPRO block:
Usage
Overview
Examples in this manual are given for information only.
WARNING
UNINTENDED EQUIPMENT OPERATION
Adapt examples that are given in this manual to the specific functions and requirements of your
industrial application before you implement them.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
The WHPROLPRO DFB can be used along with the WAINPUT. The process analog input value is
connected to the WHPROLPRO function block and the process high low limits are configured from
the faceplate of corresponding WAINPUT function block. If the limits are exceeded, the
corresponding outputs (HPRO,LPRO) gives the status/action command.
Index
E G
Equipment Control General Information
Flow Calculation, 243 Using the Water Library, 25
equipment control Generic Process
WAINPUT: analog input, 163 Pump Selection 1 Block, 219
WAOUTPUT: analog output, 177 WAERACTL: Water Aeration Control
WAOUTPUT: digital output, 197 Block, 297
WCONDSUM: device diagnostic informa- generic process
tion/interlock, 343 WDMFCTL: dual media filter manage-
WDEVMNT: device maintenance, 333 ment, 229
WDINPUT: digital input, 187 Generic Process
Equipment Control WPARSH_FLU: Parshall Flume, 274
WFLOWCTL: Flow Control, 287 WPUMPSEL: Pump Selection , 209
equipment control WREC_FLU: Rectangular Flume, 261
WHPROLPRO - process limits auxiliary, WREC_WEIR: Rectangular Weir, 244
353 generic process
WMOT1D2S: one-direction and two- WSCHEDULER: scheduler function man-
speed motor, 49 agement, 311
WMOT2D1S: two-direction and one- Generic Process
speed motor, 69 WTRAP_FLU: Trapezoidal Flume, 267
Equipment Control WU_FLU: U FLUME, 280
WMOTOR: One-direction and one-speed WV_WEIR: V Notch Weir, 255
motor DFB, 33
WMOTORVS: Variable Speed Motor, 87
equipment control P
WMVALVE: motorized valves with posi- process Control services
tioner, 119 list of function blocks, 23
WMVALVED: on/off motorized valve, 135 process control templates
Equipment Control description, 22
WPENSTOCK: Penstock Valve Block,
149
WPIDIN: Water PID Input Block, 321 U
WPIDOUT: Water PID Output Block, 327 using the water library
WTRAP_WEIR: Trapezoidal Weir, 250 basic features of the library, 26
equipment control operating modes, 27
WVALVE: on-off device type control mod- simulation function of equipment blocks,
ules, 103 30