IEC 61131-3 Scripts
Help Contents
-
Fernhill SCADA
-
Help
-
IEC 61131-3 Scripts
Introduction
Using Fernhill SCADA, you can configure a SCADA system without any need to write scripts or code.
For example the Configuration Tool allows you to do all of
these actions without any scripts or code:
- Configure tags to represent plant and equipment.
- Configure graphics and trends using simple mouse clicks.
- Associate tags with graphics and trends using drag and drop.
However you may want to extend Fernhill SCADA beyond its core features.
You can use IEC 61131-3 to do this.
Using IEC 61131-3 to Extend Fernhill SCADA
Areas where IEC 61131-3 is used to to extend Fernhill SCADA:
-
Run an Operator Action, which could be:
-
Perform a calculation in a Data Binding to transform
raw data before it is displayed on a Graphic Page.
-
Perform a calculation in a Text Report.
-
Define the action of a Program Tag, which could be used to:
- Define custom event driven scanning.
- Transfer data from a database to a PLC.
- Reflect data between PLCs.
- Apply custom data transformations.
-
Execute an SQL statement on the Fernhill SCADA database using a
SQLCommand Data Object.
-
Define the calculation of a Calculated Data Tag.
Authoring Structured Text
You can create structured text programs using:
Debug Structured Text
You can use the IEC 61131-3 Debugger to step through and test IEC 61131-3 code.
You can start IEC 61131-3 Debugger sessions from:
Further Information
Expressions
To learn about the expressions that can be used in calculated tags.
Program
To learn about declaring Programs.
Glossary
For the meaning of terms used in Fernhill SCADA.