Figure 5: Template program
Referencing SCADA 3000 I/O Points
Every I/O point or component that is placed on the Real-time screen is assigned a unique tag-
name which is made up of the
Component Name
and the
Property Name
. The
Component Name
is
based on the type of component used on the screen along with a number. Each time that com-
ponent is used on the screen the number will increase. For example, a DataPointValue compo-
nent gets the name
DataPointValue#
. The
#
part of the name increases by one each time a new
point is added to the screen. The
Component Name
can be viewed on the property form when
the component is selected. I/O points are referenced in the script program using a combination
of the
Component Name
and the
Component Property
. The properties of a component are those
listed on the property form. The format for referencing I/O points or components in your
script program is
ComponentName.ComponentProperty.
As an example, if you were going to reference the numerical value of an Input on your Real-
time screen you would use the DataPointValue component. The property you would read or
write would be the value property. So the complete tagname would be
DataPointValue1.value
.
You use the tagnames to read and write to I/O in your Distributed Control program.
Sample Application:
Suppose you have two SCADA 3000 units, one at Location A, the other at Location B. At
location A there is a water tank with a level transducer connected to the SCADA 3000. At
Location B there is a pump, which is connected to an output on the SCADA 3000. When the
pump is turned on at Location B, water will be pumped into the tank at Location A.
A host computer is set up so that it is continuously online with both SCADA 3000 units. A
Real-time screen is created, which displays the level in the tank and the On/Off status of the
pump. See below.
Figure 6: RT Screen
22-3
Chapter 22: Distributed Control using Visual Basic
Summary of Contents for Sensaphone SCADA 3000
Page 1: ...Sensaphone SCADA 3000 User s Manual Version 2 34...
Page 6: ...vi SCADA 3000 User s Manual...
Page 10: ...x SCADA 3000 User s Manual...
Page 30: ...1 6 SCADA 3000 User s Manual...
Page 48: ...4 6 SCADA 3000 User s Manual...
Page 70: ...9 8 SCADA 3000 User s Manual...
Page 122: ...12 8 SCADA 3000 User s Manual...
Page 190: ...15 30 SCADA 3000 User s Manual...
Page 211: ...lead 1 lag 0 else lead 0 lag 1 16 21 Chapter 16 Programming in C...
Page 212: ...16 22 SCADA 3000 User s Manual...
Page 236: ...21 8 SCADA 3000 User s Manual...
Page 248: ...22 12 SCADA 3000 User s Manual...
Page 258: ...23 10 SCADA 3000 User s Manual...
Page 274: ...25 8 SCADA 3000 User s Manual...
Page 288: ...27 8 SCADA 3000 User s Manual...
Page 294: ...28 6 SCADA 3000 User s Manual...
Page 296: ...A 2 SCADA 3000 User s Manual...
Page 302: ...D 2 SCADA 3000 User s Manual...
Page 318: ...I 2 SCADA 3000 User s Manual...
Page 320: ...J 2 SCADA 3000 User s Manual...
Page 322: ...K 2 SCADA 3000 User s Manual...
Page 335: ...Test Log...
Page 336: ......