Rockwell Automation Publication 2080-UM005E-EN-E - March 2018
77
Program Execution in Micro800
Chapter
6
Memory Allocation
Depending on base size, available memory on Micro800 controllers are shown in
the table below.
These specifications for instruction and data size are typical numbers. When a
project is created for Micro800, memory is dynamically allocated as either
program or data memory at build time. This means that program size can exceed
the published specifications if data size is sacrificed and vice versa. This flexibility
allows maximum usage of execution memory. In addition to the user defined
variables, data memory also includes any constants and temporary variables
generated by the compiler at build time.
The Micro800 controllers also have project memory, which stores a copy of the
entire downloaded project (including comments), as well as configuration
memory for storing plug-in setup information, and so on.
Guidelines and Limitations
for Advanced Users
Here are some guidelines and limitations to consider when programming a
Micro800 controller using Connected Components Workbench software:
•
Each program/POU can use up to 64 Kb of internal address space. It is
recommended that you split large programs into smaller programs to
improve code readability, simplify debugging and maintenance tasks.
•
A User Defined Function (UDF) uses significantly less memory than a
User Defined Function Block (UDFB). For example, 30% less for a typical
sized program compared to a UDFB with one instance. The savings
increases as the number of UDFB instances increases.
•
A User Defined Function Block (UDFB) can be executed within another
UDFB, with a limit of five nested UDFBs. Avoid creating UDFBs with
references to other UDFBs, as executing these UDFBs too many times may
result in a compile error. This also applies to UDFs.
Memory Allocation for Micro800 Controllers
Attribute
10/16-point
20-point
24- and 48-points
Program steps
(1)
(1) Estimated Program and Data size are “typical” – program steps and variables are created dynamically.
1 Program Step = 12 data bytes.
4 K
10 K
10 K
Data bytes
8 KB
20 KB
20 KB
Содержание 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...