Action Element

Help Contents

Introduction

The Actions in a Sequential Function Chart are blocks of code to run when the associated Step Elements are active.

Action Element Syntax

The Action Element has this syntax:

action-element ::= ACTION action-name
  code-block
END_ACTION

code-block ::= [ structured-text | instruction-list ]

Where:

Remarks

To run an action, add references from one or more Step Element.

Examples

  1. An action to write a tag value:
    ACTION StartPump
        (* Start the transfer pump *)
        %"TransferPump" := TRUE;
    END_ACTION

Standards Compliance

IEC 61131-3 Second Edition: Table 42.

IEC 61131-3 Third Edition: Table 56.

Further Information

Sequential Function Chart

For general information about Sequential Function Charts.

IEC 61131-3

For information about IEC 61131-3 scripts.

Glossary

For the meaning of terms used in Fernhill SCADA.