Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
About the Scripts Module

Introduction

The module provides a range of features that enable users to create scripts based in different programming languages, such as C#, Python, and JavaScript. It allows users to define and manage scripts based on different parameters, such as data sources, triggers, and actions.

The scripts module also includes a range of pre-built functions and libraries, enabling users to perform various tasks, such as data acquisition, data processing, and system control. It supports a range of APIs (Application Programming Interfaces), enabling users to integrate external software and systems into the automation and control system.

Moreover, the scripts module includes various debugging and diagnostic tools, enabling users to test and troubleshoot scripts effectively. It provides real-time script performance data, allowing users to identify issues and optimize script execution accordingly.

Image Removed


On this page:

Table of Contents
maxLevel3


Key Functionalities

Built-in Code Editor  

Our platform features FrameworX includes an integrated script editor that for developers can use to create custom functionality for their applicationsthe application. . The editor provides a powerful set of tools to help you test and evaluate your scripts. Debugging tools include assigning breakpoints, stepping into code, stepping over code, executing line by line , and watching the watch values of objects change changing with each step. Our code editor works for C#, VB.NET, JavaScript and Python languages, or XML and JSON documents. 

 Scripts are executed natively as managed code within the .NET Framework, meaning users cannot create a script that would inadvertently cause the system to shut down. This feature provides a greater level of security and up-time for your application.

Server and Client Domains  

With Using the platform's FrameworX script editor , users you can create scripts that execute on the server for a global reach, or they can execute on the client side for a local reach.  

 

Tasks, Classes

,

and Expressions  

Users You can create tasksTasks, .NET classes , and function libraries. In some cases , creating it may be more efficient or desirable to create one- line expressions, rather than full methods may be more efficient or desirable. For that purpose, the platform FrameworX provides an expression editor that allows allowing access to all .NET operands and classes. 

Object Orientation, Project Elements

All project elements, including Tags, Datasets, Alarms, devices, and status of communications, are immediately accessible via IntelliSense. Since they are native .NET objects, no temporary tag calls are required. A single operation allows users to move data from Tags to .NET external Data-tables.

C#, VB.NET, and Code Translation

 

 

C#, VB.NET, Python and Javascript  

FrameworX includes industry standard languages of C#, Python, Javascript and VB.NET so engineers no longer have to suffer through using old Our platform includes industry-standard languages C# and VB.NET. Engineers are no longer burdened with using outdated, proprietary, single-threaded , or interpreted scripting editors. Translate You can also translate your code between C# and VB.NET anytime to better leverage your expertise. 

 

Events and Scheduling

 

Tasks It is possible to trigger tasks and expressions can be triggered to execute by date, time, condition, calendar, tag change , or interval. Execution is distributed among processes, each running in its own application domain and , isolated from the real- time database, for maximum system security and performance.

Tip

 

 

Object Orientation, Project Elements  

All project elements, including Tags, Datasets, Alarms, devices, status of communications are immediately accessible via IntelliSense, as they are native .NET objects, no temporary tags or function calls are required. With a single command move data from Tags to .NET objects and external Data-tables.  

 

Configure your Python Interpreter 

With seamless integration of Python language and applications, the Script module delivers exceptional scripting capabilities across various programming languages. You can also configure any version of the Python interpreter for each project. 

Users can perform online project changes and configuration while running and debugging.


Info

Learn more at Scripts, Tasks and Classes.



In this section...

Page Tree
root@parent
spaces93DRAF