Use ST Expressions in Graphic Language

The KAS-IDEClosed "Integrated development environment" An integrated development environment is a type of computer software that assists computer programmers in developing software. IDEs normally consist of a source code editor, a compiler and/or interpreter, build-automation tools, and a debugger enables any complex STClosed "Structured text" A high-level language that is block structured and syntactically resembles Pascal expression to be associated with a graphic element in either FFLDClosed "Free Form Ladder Diagram" or FBDClosed "Function Block Diagram" A function block diagram describes a function between input variables and output variables. A function is described as a set of elementary blocks language.

  • This feature makes it possible to simplify FFLD and FBD diagrams when a trivial calculation has to be entered.
    • It also enables you to use graphic features for representing a main algorithm as text is used for details of implementation.
  • Expression must be written in Structured Text (ST) language.
    • An expression is anything you can imagine between parentheses in an ST program.
    • The ST expression must fit the data type required by the diagram (e.g., an expression put on a contact must be Boolean).

FBD Language Example

A complex ST expression can be entered in any variable box of an FBD diagram if the box is not connected on its input.

FFLD Language Example

A complex ST expression can be entered on any kind of contact and on any input of a function or function block.