16
IEC Structured Text
ST is a high level textual editor, which has the appearance of PASCAL but is a dedicated lan-
guage for industrial control applications.
POUs, Functions and Function Blocks can be created using ST.
IEC Structured Text example:
IF …..THEN ….. ELSE conditions
CASE ...ELSE .... END_CASE structures
REPEAT
RETURN
Expression Evaluation
Variable Declaration etc
Complex mathematical expressions can be realised using these operators, in a few lines of text.
16.1
Structured Text Operators
Training Manual GX IEC Developer
16 - 1
IEC Structured Text
Structured Text Operators
Operator
Description
Precedence
(….)
Parenthesised expression
Highest
Function(….) Parameter list of a function, function evaluation
**
Exponentiation, ie raising to a power
-
Negation
NOT
Boolean compliment
*
Multiplication
/
Division
MOD
Modulus operation
+
Addition
-
Subtraction
<,>,<=,>=
Comparison operators
=
Equality
<>
Non equality
AND, &
Boolean AND
XOR
Boolean exclusive OR
OR
Boolean OR
Lowest
Содержание FX2N-32CAN
Страница 1: ...MITSUBISHI ELECTRIC FACTORY AUTOMATION Programmable Logic Controllers GX IEC Developer ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ...IV MITSUBISHI ELECTRIC ...
Страница 18: ...Modular PLC Training Hardware Course Overview and Requirements 1 2 MITSUBISHI ELECTRIC ...
Страница 172: ...Monitoring Instances of Function Blocks Advanced Monitoring Functions 7 12 MITSUBISHI ELECTRIC ...
Страница 176: ...Device Edit 8 4 MITSUBISHI ELECTRIC ...
Страница 190: ...Assigning DUT Variables to Function Blocks Data Unit Types DUT 10 10 MITSUBISHI ELECTRIC ...
Страница 198: ...Array Example Single Dimension Array Arrays 11 8 MITSUBISHI ELECTRIC ...
Страница 219: ...Sequential Function Chart SFC SFC Elements Training Manual GX IEC Developer 14 3 ...
Страница 220: ...14 3 SFC configuration examples SFC configuration examples Sequential Function Chart SFC 14 4 MITSUBISHI ELECTRIC ...
Страница 230: ...Structured Text Program Example IEC Structured Text 16 4 MITSUBISHI ELECTRIC ...
Страница 248: ...Configuring GX IEC Developer to access the PLC on Ethernet Ethernet Communications 18 10 MITSUBISHI ELECTRIC ...
Страница 278: ...PLC Components Glossary Appendix A 18 MITSUBISHI ELECTRIC ...
Страница 283: ......