1. Home
  2. /
  3. Wonderware-system-platform
  4. /
  5. Calculate Average Sensor Value

Calculate Average Sensor Value - Wonderware-system-platform Typing CST Test

Loading…

Calculate Average Sensor Value — Wonderware-system-platform Code

Compute the average of multiple sensor readings within a script.

	Sum := 0;
	FOR i := 0 TO SensorArray.Size-1 DO
		Sum := Sum + SensorArray[i];
	END_FOR;
	Average := Sum / SensorArray.Size;

Wonderware-system-platform Language Guide

Wonderware System Platform is an industrial automation software suite by AVEVA (formerly Invensys), providing a scalable, unified environment for HMI, SCADA, MES, and IIoT applications. It enables centralized configuration, real-time monitoring, and integration across diverse industrial assets.

Primary Use Cases

  • ▸Supervisory control and monitoring
  • ▸HMI and SCADA visualization
  • ▸Data historian and reporting
  • ▸MES and production monitoring
  • ▸IoT/IIoT integration with analytics and dashboards

Notable Features

  • ▸Object-oriented template-based application development
  • ▸Centralized management of HMI, alarms, and historian data
  • ▸Scalable architecture for single-site or multi-site deployments
  • ▸Integration with PLCs, databases, and enterprise systems
  • ▸Support for redundancy, failover, and high availability

Origin & Creator

Wonderware System Platform was developed by Wonderware (now part of AVEVA) in the early 1990s as an advanced HMI/SCADA framework for industrial automation and process management.

Industrial Note

System Platform provides high-level abstraction for industrial applications, allowing standardized object templates, centralized configuration, and scalable deployment across multiple sites and operations.

Quick Explain

  • ▸System Platform provides a unified environment for supervisory control, data acquisition, and industrial operations management.
  • ▸Supports object-oriented templates for reusable HMI, process, and equipment models.
  • ▸Enables real-time data visualization, alarming, and historian integration.
  • ▸Integrates seamlessly with industrial devices, PLCs, and enterprise systems.
  • ▸Widely used in manufacturing, energy, water/wastewater, and process industries.

Core Features

  • ▸ArchestrA Galaxy - central configuration and deployment environment
  • ▸InTouch HMI integration for visualization
  • ▸Alarm management and event logging
  • ▸Data historian for real-time and historical data storage
  • ▸Scripting and workflow automation via built-in scripting tools

Learning Path

  • ▸Learn InTouch HMI basics
  • ▸Understand Galaxy and object templates
  • ▸Build small applications with alarms and historian
  • ▸Scale to multi-node and multi-site applications
  • ▸Integrate MES and IoT devices for enterprise visibility

Practical Examples

  • ▸Water treatment plant SCADA with real-time dashboards
  • ▸Manufacturing line monitoring with alarms and historian logging
  • ▸Energy plant process visualization and KPI reporting
  • ▸Oil & gas pipeline monitoring with multi-site deployment
  • ▸Smart factory integration with MES and IoT devices

Comparisons

  • ▸System Platform vs InTouch HMI: Platform provides full SCADA/IoT capabilities, not just visualization
  • ▸System Platform vs Ignition SCADA: Platform is AVEVA-centric with object-oriented templates
  • ▸System Platform vs PLC programming: Focused on supervisory and operational management
  • ▸System Platform vs FactoryTalk: Comparable enterprise SCADA/HMI solution
  • ▸System Platform vs Custom dashboards: Provides integrated alarms, historian, and enterprise connectivity

Strengths

  • ▸Scalable and flexible for diverse industrial applications
  • ▸Object-oriented templates promote reuse and standardization
  • ▸Centralized management reduces maintenance overhead
  • ▸Strong integration with AVEVA and third-party systems
  • ▸Supports both operational and enterprise-level visibility

Limitations

  • ▸Primarily tied to AVEVA ecosystem; third-party support limited
  • ▸Steep learning curve for new users
  • ▸Licensing can be expensive for large deployments
  • ▸Performance may depend on server infrastructure
  • ▸Complex systems require careful architecture and planning

When NOT to Use

  • ▸For small standalone machines without network connectivity
  • ▸If only simple visualization is required
  • ▸For low-budget projects without infrastructure for runtime nodes
  • ▸When vendor-neutral open-source solutions are preferred
  • ▸If advanced object templates or MES integration are unnecessary

Cheat Sheet

  • ▸Galaxy - Central configuration environment
  • ▸Object - Template for reusable assets/processes
  • ▸Node - Runtime execution engine
  • ▸ArchestrA IDE - Development interface
  • ▸InTouch HMI - Visualization client

FAQ

  • ▸Can System Platform run without InTouch HMI? -> Yes, but visualization requires InTouch.
  • ▸Is it possible to deploy multi-site applications? -> Yes, with distributed nodes and Galaxy replication.
  • ▸Does it support IoT integration? -> Yes, via MQTT, REST, and OPC UA.
  • ▸Are scripts required for all objects? -> No, some templates can operate with default logic.
  • ▸Can System Platform scale to thousands of tags? -> Yes, with proper node and server configuration.

30-Day Skill Plan

  • ▸Week 1: InTouch visualization and basic scripting
  • ▸Week 2: Object templates and inheritance
  • ▸Week 3: Historian configuration and alarms
  • ▸Week 4: Distributed node deployment
  • ▸Week 5: MES, KPI dashboards, and IoT integration

Final Summary

  • ▸Wonderware System Platform provides a unified, scalable environment for SCADA, HMI, MES, and IIoT applications.
  • ▸Object-oriented templates and centralized Galaxy configuration simplify large-scale industrial automation projects.
  • ▸Integration with PLCs, historians, and enterprise systems enables real-time monitoring and process optimization.
  • ▸Supports distributed, redundant, and multi-site deployments for high availability.
  • ▸Widely adopted across process industries for supervisory control and operational excellence.

Project Structure

  • ▸Galaxy database - object templates and configuration
  • ▸Application packages - runtime deployments
  • ▸HMI visualization - InTouch displays and dashboards
  • ▸Historian - time-series and event data
  • ▸Nodes - execution engines and client interfaces

Monetization

  • ▸Industrial automation solutions using System Platform
  • ▸Custom SCADA/MES deployment and consultancy
  • ▸Training and certification services
  • ▸Development of reusable object templates
  • ▸Integration with IoT, MES, and ERP systems

Productivity Tips

  • ▸Use templates for recurring equipment/process types
  • ▸Centralize configuration in Galaxy
  • ▸Leverage historian and event logs for troubleshooting
  • ▸Deploy nodes according to load and redundancy requirements
  • ▸Document applications for easier maintenance

Basic Concepts

  • ▸Galaxy - central repository and configuration environment
  • ▸Objects - reusable templates for equipment or process units
  • ▸Applications - composed of objects and workflows
  • ▸ArchestrA IDE - development interface for building applications
  • ▸Nodes - runtime instances that execute applications

Official Docs

  • ▸https://www.aveva.com/en/products/system-platform/
  • ▸https://docs.aveva.com/AVEVA_SystemPlatform_Documentation/
  • ▸https://www.aveva.com/resources/
  • ▸https://www.aveva.com/en/solutions/industrial-software/
  • ▸https://www.aveva.com/support/

More Wonderware-system-platform Typing Exercises

Alarm Trigger NotificationStart/Stop Process Control

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher