![Omron SYSMAC CX-Programmer 9 Operation Manual Download Page 79](http://html1.mh-extra.com/html/omron/sysmac-cx-programmer-9/sysmac-cx-programmer-9_operation-manual_744241079.webp)
53
Programming Restrictions
Section 2-4
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.
• If the same instance containing a timer is used in multiple locations at the
same time, the timer will be duplicated.
2-4-2
ST Programming Restrictions
Restrictions when
Using ST Language in
Function Blocks
• 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).
FB1
EN ENO
U P
LD EN
TI M t i m U P
0.00
The timer’s Completion Flag (UP)
will not be turned OFF even though
input condition 0.00 goes OFF.
Body
FB1
EN ENO
a U P
P _On
LD a
TI M t i m U P
0.00
The timer’s completion flag (UP) is turned
OFF when input condition a (0.00) goes OFF.
Body
Summary of Contents for SYSMAC CX-Programmer 9
Page 2: ......
Page 4: ...iv ...
Page 6: ...vi ...
Page 8: ......
Page 16: ...xvi ...
Page 20: ...xx ...
Page 26: ...xxvi Application Precautions 4 ...
Page 27: ...Part 1 Function Blocks ...
Page 28: ......
Page 154: ...128 Procedures Section 3 2 ...
Page 155: ...Part 2 Structured Text ST ...
Page 156: ......
Page 160: ...134 CX Programmer Specifications Section 4 2 ...
Page 206: ...180 Procedures Section 6 1 ...
Page 208: ...182 System defined external variables supported in function blocks Appendix A ...
Page 230: ...204 Revision History ...
Page 231: ......