78
Rockwell Automation Publication 2080-UM005E-EN-E - March 2018
Chapter 6
Program Execution in Micro800
Example of Five Nested UDFBs
•
Structured Text (ST) is much more efficient and easier to use than Ladder
Logic, when used for equations. If you are used to using the RSLogix 500®
CPT Compute instruction, then a great alternative is to use ST combined
with either UDF or UDFB.
As an example, for an Astronomical Clock Calculation, Structured Text
uses 40% less Instructions.
Display_Output LD:
Memory Usage (Code) : 3148 steps
Memory Usage (Data) : 3456 bytes
Display_Output ST:
Memory Usage (Code) : 1824 steps
Memory Usage (Data) : 3456 bytes
•
You may encounter an Insufficient Reserved Memory error while
downloading and compiling a program over a certain size. One
workaround is to use arrays, especially if there are many variables.
UDFB1
UDFB2
UDFB3
UDFB4
UDFB5
Содержание 2080-LC20-20AWB
Страница 6: ...vi Rockwell Automation Publication 2080 UM005E EN E March 2018 Preface Notes...
Страница 10: ...x Rockwell Automation Publication 2080 UM005E EN E March 2018 Table of Contents Notes...
Страница 16: ...6 Rockwell Automation Publication 2080 UM005E EN E March 2018 Chapter 1 Hardware Overview Notes...
Страница 40: ...30 Rockwell Automation Publication 2080 UM005E EN E March 2018 Chapter 2 About Your Controller Notes...
Страница 46: ...36 Rockwell Automation Publication 2080 UM005E EN E March 2018 Chapter 3 Install Your Controller Notes...
Страница 66: ...56 Rockwell Automation Publication 2080 UM005E EN E March 2018 Chapter 4 Wire Your Controller Notes...
Страница 106: ...96 Rockwell Automation Publication 2080 UM005E EN E March 2018 Chapter 8 Using the Micro800 Remote LCD Notes...
Страница 162: ...152 Rockwell Automation Publication 2080 UM005E EN E March 2018 Appendix B Troubleshooting Notes...
Страница 173: ...Rockwell Automation Publication 2080 UM005E EN E March 2018 163 Quickstarts Appendix C...
Страница 210: ...Rockwell Automation Publication 2080 UM005E EN E March 2018 200 Index Notes...
Страница 211: ...Rockwell Automation Publication 2080 UM005E EN E March 2018 201...