Skip to main content

General

Edge Scripting Overview

Extend platform behavior with custom C# code and managed user functions.

While Proxus provides a robust Rules Engine for standard automation, some industrial use cases require highly customized logic, complex state management, or specialized protocol parsing.

Edge Scripting allows developers to write, compile, and deploy standard C# code directly to the Edge Gateways via the Management Console.

Why Use Edge Scripting?

  • Custom Math & Logic: Perform complex statistical calculations or proprietary derivations.
  • State Management: Maintain long-term state across hours or days of operation.
  • Integration: Directly interact with external APIs or local hardware ports from within your logic.
  • Isolation: Each function runs in its own sandbox, ensuring system stability.

Key Components


Technical Context

Proxus scripts are built on the Proxus SDK. When you upload a script, the Central Server compiles it into a portable assembly and pushes it to the target Edge Gateways via the secure messaging layer.

  1. Compilation: Code is validated and compiled on the server.
  2. Distribution: Atomic distribution to one or more Gateways.
  3. Execution: The script is hot-swapped into the running Gateway process without a restart.