Use of ST expressions in graphic language
The Workbench Studio enables any complex ST expression to be associated with a graphic element in either LD or FBD language. This feature makes possible to simplify LD and FBD diagrams when some 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 ST language. An expression is anything you can imagine between parenthesis in a ST program. Obviously 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
A complex ST expression can be entered in any variable box of a FBD diagram, if the box is not connected on its input.
|
|
LD Language
A complex ST expression can be entered on any kind of contact, and on any input of a function or function block.
|
|
Use of ST expressions in graphic language |
IEC 61131-3 Automation platform > Programming - Reference guide > Programming languages - Overview > Structured Text (ST) > Use of ST expressions in graphic language |
Created with the Personal Edition of HelpNDoc: Transform your help documentation into a stunning website