beautypg.com

Sensaphone SCADA 3000 Users manual User Manual

Page 23

background image

xxi

Table of Contents

Voice Messages ..................................................................................................21-4
Programming Destinations ..................................................................................21-5
Alarm Programming............................................................................................21-6
Alarm Acknowledgement....................................................................................21-6

Sample Alarm Dialout Sequence ................................................................................21-6

Voice .......................................................................................................................21-6
Numeric Pager .........................................................................................................21-7
Alphanumeric Pager .................................................................................................21-7
FAX and E-mail ........................................................................................................21-7

Chapter 22: DISTRIBUTeD CONTROL USING VISUAL BASIC ............... 22-1

REQUIREMENTS ......................................................................................................22-1

DISTRIBUTeD CONTROL SCRIPT eDITOR ................................................................22-1

Referencing SCADA 3000 I/O Points .....................................................................22-3

Sample Application: ...........................................................................................22-3

Syntax Checking ......................................................................................................22-4
Saving your Program ................................................................................................22-4
Running your Program .............................................................................................22-4

Properties of the Script Component ..........................................................................22-5
About the Visual Basic Language ................................................................................22-5

Structure ..................................................................................................................22-6
Keywords .................................................................................................................22-6
Definitions ...............................................................................................................22-6

Dim Statement ....................................................................................................22-6
If...Then...Else Statement .....................................................................................22-7
For...Next Statement ...........................................................................................22-8
Do...Loop Statement ...........................................................................................22-8

Operators .................................................................................................................22-9
mONTH, DAY, YeAR, HOURS, mINUTeS, SeCONDS, & WeeKDAY .......................22-9
Programming Methodology ....................................................................................22-10

Method 1 ..........................................................................................................22-10
Method 2 ..........................................................................................................22-10
Method 3 ..........................................................................................................22-10

Sample Program .....................................................................................................22-11

Chapter 23: UNIVeRSAL INPUT mODULe ............................................ 23-1

Introduction ................................................................................................................23-1
Installation ..................................................................................................................23-1

OPERATING ENVIRONMENT..................................................................................23-1
MOUNTING THE UNIVERSAL INPUT MODULE ....................................................23-1
Power Supply and Grounding ..................................................................................23-2