Movicon.NExT Sample Applications


+ Ack And Reset Alarms by Script

The example shows how to command the detection and reset of an alarm with a double click on the line in the Alarms Window.

+ Add Trend Pen

The example shows how to add a pen to the Real Time Trend and Data Analysis Trend using a script.

+ Change Image by Script

The example shows how to replace the image associated with a rectangle via the script contained in the rectangle itself, based on the value of the string variable matched.

+ Export Import Data Logger by Script

This example shows how to export the contents of a Datalogger table to CSV by running an SQL Query via script. Subsequently, it is possible to re-import the contents of the CSV into another Datalogger connected to a DataAnalysis object.

+ GetUserInfo

Through scripts it is possible to obtain the information of the users configured in the project. This can be useful, for example, to be able to send the PLC the access level of the currently connected user.

+ Grid Control by Script

The example shows how to manage the GridControl object using scripts. Scripts are used to apply a filter, modify the query, change the color of the cells, get the values of the selected row.

+ User Management by Script

This example shows user management via scripts through which it is possible to perform Login, Logout and move a user to a different group. The example shows how to invoke the Login and Logout function either through a button or on page login. The username and password can be linked to tags and thus also managed externally.