Function Call
Help Contents
- Fernhill SCADA
- Help
- IEC 61131-3 Scripts
- Structured Text (ST)
- Function Call
Introduction
The IEC 61131-3 ST Function Call statement calls a function and discards any return value.
Informal Syntax:
function-name ( in-parameter
[, in-parameter ]
[, in-out-parameter] )
Formal Syntax:
function-name ( parameter-name:=in-parameter
[, parameter-name:=in-parameter ]
[, parameter-name=>in-out-parameter] )
Where:
- function-name is an Identifier that is the name of the function.
- in-parameter is any Expression that is the value of an input parameter (VAR_INPUT).
- in-out-parameter is any Variable Reference that is the location of an output (VAR_OUTPUT) or an input-output (VAR_OUTPUT) parameter.
- parameter-name is an Identifier that is the name of a parameter.
Standards Compliance
IEC 61131-3 Third Edition: Table 72.2.
Further Information
Structured Text
For other Structured Text (ST) statement types.
Glossary
For the meaning of terms used in Fernhill SCADA.