MAINTAINING THE SNAP PAC R-SERIES CONTROLLER
SNAP PAC R-Series Controller User’s Guide
44
NOTE: If you access the card when it is not in the controller (for example, in a card reader), the
sdcard0
directory does
not appear. Do NOT create it. The controller treats the card as a folder in the controller’s file system.
Displaying Free Space on the Card
If you need to know how many free bytes are left on a microSD/SDHC card, you can use PAC Control or
PAC Manager to read this data from an address in the controller’s memory map. In a PAC Control strategy, for
example, you could notify an operator if the card needs replacing, based on the number of bytes still unused.
1.
Make sure the card is in the controller.
2.
In PAC Control, use the command Read Number from I/O Unit Memory Map to read memory map
address F7002204. Use Integer 32 Variable in Argument 2.
For more information, see “I/O Unit—Memory Map Commands” in the
and see
“Read Number from I/O Unit Memory Map” in the
(form 1701).
3.
In PAC Manager, open the Inspect window for the controller. Click Other and choose Generic Read/Write
from the popup menu. In the Address field, type F7002204. From the Type list, choose 32-bit Integer.
Leave the Length as 1. Click Refresh.
The number of bytes appears in the Value column.
Checking Firmware and Loader Versions
Compatible cards and card functions depend on the controller’s firmware and loader versions. Here’s how to
check them. The controller must be on the same network segment as the PC with PAC Manager.
1.
Open PAC Manager and click the Inspect icon
.
2.
In the Device Name field, enter the controller’s name or IP address, or choose it from the drop-down list.
Click Status Read.
Loader and firmware version numbers appear near the center of the window:
New firmware versions and some new loader versions are available from our website, www.opto22.com.
To update the loader, see
Updating the Loader on a SNAP Device
(form 1789). For firmware, see
. Contact Opto 22 Product Support with any questions.