Section 12. Memory and Data Storage
130
12.2 Memory Conservation
One or more of the following memory saving techniques can be used on the rare
occasions when a program reaches memory limits:
•
Declare variables as DIM instead of Public. DIM variables do not require
buffer memory for data retrieval.
•
Reduce arrays to the minimum size needed. Each variable, whether or not
part of an array, requires about the same amount of memory.
Approximately 70 variables will fill available memory.
•
Use variable arrays with aliases instead of individual variables with unique
names. Aliases consume less memory than unique variable names.
12.3 Memory Reset
Three features are available for complete or selective reset of CR200(X)
memory.
12.3.1 Full Memory Reset
Full memory reset occurs when an operating system is sent to the CR200(X)
using DevConfig. A full memory reset does the following:
•
Clears and Formats CPU: drive (all program files erased)
•
Clears SRAM data tables
•
Clears Status Table Elements
•
Restores settings to default
•
Initializes system variables
•
Clears communications memory
12.3.2 Program Send Reset
All SRAM and CRD: data are erased when user programs are uploaded. This
will occur even when a program with identical data tables is sent to the
CR200(X).
12.3.3 Manual Data Table Reset
Data table memory is reset using the ResetTables field of the Status table.
Change the value from 0 to 8888 to reset all data tables.
Содержание CR200
Страница 32: ...Section 2 Quickstart Tutorial 22 ...
Страница 45: ...Section 3 Overview 35 3 3 Specifications ...
Страница 46: ...Section 3 Overview 36 ...
Страница 58: ...Section 4 Sensor Support 48 ...
Страница 62: ...Section 5 Measurement and Control Peripherals 52 ...
Страница 78: ...Section 8 CR200 X Configuration 68 ...
Страница 102: ...Section 9 Programming 92 ...
Страница 138: ...Section 11 Programming Resource Library 128 ...
Страница 156: ...Section 16 Support Software 146 ...
Страница 160: ...Section 17 Care and Maintenance 150 ...
Страница 166: ...Section 18 Troubleshooting 156 18 3 3 Diagnosis and Fix Procedures 18 3 3 1 Battery Voltage Test ...
Страница 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Страница 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Страница 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Страница 170: ...Section 18 Troubleshooting 160 ...
Страница 184: ...Appendix A Glossary 14 ...
Страница 190: ...Appendix B Status Table and Settings 20 ...
Страница 192: ...Appendix C Serial Port Pin Outs 22 ...
Страница 211: ......