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.
Summary of Contents for CR200
Page 32: ...Section 2 Quickstart Tutorial 22 ...
Page 45: ...Section 3 Overview 35 3 3 Specifications ...
Page 46: ...Section 3 Overview 36 ...
Page 58: ...Section 4 Sensor Support 48 ...
Page 62: ...Section 5 Measurement and Control Peripherals 52 ...
Page 78: ...Section 8 CR200 X Configuration 68 ...
Page 102: ...Section 9 Programming 92 ...
Page 138: ...Section 11 Programming Resource Library 128 ...
Page 156: ...Section 16 Support Software 146 ...
Page 160: ...Section 17 Care and Maintenance 150 ...
Page 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Page 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Page 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Page 170: ...Section 18 Troubleshooting 160 ...
Page 184: ...Appendix A Glossary 14 ...
Page 190: ...Appendix B Status Table and Settings 20 ...
Page 192: ...Appendix C Serial Port Pin Outs 22 ...
Page 211: ......