Programming Restrictions
2-4-2
ST Programming Restrictions
Restrictions when
Using ST Language in
Function Blocks
0.00
FB1
EN
ENO
U P
If Timer Instructions are being used, always use the Always ON Flag (P_On)
for the EN input condition and include the instruction's input condition within
the function block definition.
P _ On
FB1
EN
ENO
0.00
a
U P
• If the same instance containing a timer is used in multiple locations at the
same time, the timer will be duplicated.
• Only the following statements and operators are supported.
• Assignment statements
• Selection statements (CASE and IF statements)
• Iteration statements (FOR, WHILE, REPEAT, and EXIT statements)
• RETURN statements
• Function block calling statements
• Arithmetic operators
• Logical operators
• Comparison operators
• Numerical functions
• Arithmetic functions
• Standard text string functions
• Numeric text string functions
• OMRON expansion functions
• Comments
• The TIMER and COUNTER data types cannot be used.
For further details, refer to SECTION 5 Structured Text (ST) Language Speci-
fications in Part 2: Structured Text (ST).
Body
LD
EN
TI M t i m U P
The timer's Completion Flag (UP)
will not be turned OFF even though
input condition 0.00 goes OFF.
Body
LD
a
TI M t i m U P
The timer's completion flag (UP) is turned
OFF when input condition a (0.00) goes OFF.
Section 2-4
53
Need help?
Do you have a question about the CX-PROGRAMMER V8.1 and is the answer not in the manual?