![background image](http://html1.mh-extra.com/html/omron/cs1-h-series/cs1-h-series_operation-manual_742526055.webp)
40
Restrictions on Function Blocks
Section 2-3
• If the same instance containing a timer is used in multiple locations at the
same time, the timer will be duplicated.
ST Programming
Restrictions
• 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
• Arithmetic operators
• Logical operators
• Comparison operators
• Numerical Functions
• Arithmetic Functions
• Comments
• The TIMER and COUNTER data types cannot be used.
For further details, refer to
Appendix B Structured Text (ST Language) Specifi-
cations.
Program Structure Precautions
No Branches to the Left of
the Instance
Branches are not allowed on the left side of the instance. Branches are
allowed on the right side.
Only One Instance per
Rung
A program rung cannot have more than one instance.
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
FB
FB
Incorrect
Correct
Instruction
Instruction
FB
FB
FB
Incorrect
Incorrect
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...