ControlProgram Resource Usage View
The ControlProgram, Spyder libraries and macros you create consume memory. The function
blocks, Physical points and NVs or Objects have different memory usage. Some elements of a
function block may use a Float RAM while some others could be using memory in the
Non-Volatile RAM.
The Resource Usage View provides details of the total memory and the used memory as a
result of all the ControlProgram, Spyder libraries and macros you create.
You can see the memory usage at different levels as described:
- ControlProgram Resource Usage
- Application Resource Usage
- Macro Resource Usage
- Spyder library Resource Usage
Note: At each of these levels the memory used up by the entire application
is shown.
ControlProgram Resource Usage
To view the Resource Usage View of the controller:
- On the Nav palette, browse to Station > Config > Drivers
> LonNetwork > LonSpyder.
or
Browse to Station > Config > Drivers >
BacnetNetwork > BacnetSpyder.
- Right-click LonSpyder or BacnetSpyder.
or
Expand LonSpyder or BacnetSpyder and select ControlProgram.
Right-click ControlProgram.
- Select Views > Resource Usage. The Controller Details
appear on the right half of the screen.
- You can select the controller Device Model. This is the model number or
make of the controller that you are programming using this tool.
- The Memory Usage chart graphically displays a bar chart of the total
memory and used memory details.
You can click the Tabular View button to view the breakup of RAM pool
usage in a tabular format. Click the Tabular View button to hide/display
the tabular view.
Note: The upper limit range of total memory for Float RAM, Byte RAM,
Flash, Non Volatile RAM, and RAM pool is higher in case of Spyder Micro controllers.
- The Blocks Usage table displays the number of Function blocks, Network
variables or Objects, and Physical IOs used at the device level. Physical IOs indicate the
number of hardware pins used.
Note: The number of blocks supported by LonSpyder Micro and
Bacnet Spyder Micro is 200. While LonSpyder Micro supports 220 Network
Variables, there is no such limit for the Bacnet Spyder Micro as it is dependent
on the memory usage as in any other BACnet Spyder model.
Lon Spyder Relay supports 300 function blocks while those
supported by Bacnet Spyder Relay is 200. While Lon Spyder Relay models support
175 Network Variables, there is no such limit for Bacnet Spyder Relay models as
it is dependent on the memory usage as in any other BACnet Spyder model.
- Click the Memory usage details button to view details of the different
memory types. The Block Memory Details tab displays memory usage details
of the Function blocks, NVs or Objects, and Physical IOs used in the device in a tabular
format.
| Name |
Description |
| Block |
Name of the Function block, IO, Object or NV. |
| Type |
Indicates the type of the Function block, IO, Object or NV. |
| Float RAM |
Indicates the Float RAM usage of the Function block, IO, Object or NV. |
| Byte RAM |
Indicates the Byte RAM usage of the Function block, IO, Object or NV. |
| Flash |
Indicates the Flash memory usage of the Function block, IO, Object or NV. |
| NV RAM |
Indicates the NV RAM usage of the Function block, IO, Object or NV. |
| Valid |
Indicates if the point is valid/invalid. |
| Block Container |
Indicates the location of the Function block, IO, Object or NV. |
- Click the RAM Pool Usage Details tab to view the memory usage status of
the controller. You can click the Tabular View button to view the breakup
of RAM pool usage details in a tabular format. Click the Tabular View button
to hide/display the tabular view.
- Click the Validate button to find out the Error messages and Warning
messages, if any, in a new window. Messages pertaining to warnings, errors and detailed
report of invalid points, IOs, excess memory counters, excess NVs created, excess
engineering units configured and so on are displayed. Click OK to close
the window.
- Click Save if you have made any changes to the Controller Model
for the changes to take effects.
Related Topics
Macro Resource Usage
Application Resource Usage
Sylk Bus Bandwidth and Proxy File Usage