Advantages
• Sophisticated control can be attained along with localized control.
• If the PC crashes or the distributed control program must be halted, localized
control can still be performed.
Disadvantages
• Multiple control programs must be written for both the host PC and each indi
-
vidual SCADA unit.
• Program maintenance could be difficult.
Sample Program
The following program illustrates simple passing of I/O values from one SCADA unit to
another.
'''''''''''''''''''''''
' Begin User Program
'''''''''''''''''''''''
' Sample program which assumes that a Tank is located at site A and a
' Pump is located at site B. The program passes the tanklevel from
' unit A to unit B where it is stored in a ladder variable. This
' allows unit B to control the pump. The On/Off status of the pump is
' then sent back to unit A where it is also stored in a ladder
' variable.
' Definitions:
' DataPointValue1 is the TankLevel at unit A
' DataPointValue2 is the Pump Status at unit B
' DataPointValue3 is a Ladder Variable in unit A
' DataPointValue4 is a Ladder Variable in unit B
DataPointValue4.Value=DataPointValue1.Value
'Assigns DataPointValue1
'to DataPointValue4
DataPointValue3.Value=DataPointValue2.Value
'Assigns DataPointValue2
'to DataPointValue3
''''''''''''''''''''
' End User Program
''''''''''''''''''''
22-11
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: ......