The SD card on the RMC200 provides the following functionality:
Save and restore the controller image
Store general files (e.g. machine design documents, data sheets, etc.)
You can use RMCTools to view the SD card contents and to copy/move files from and to the SD card. The RMC200 supports only SD cards with the FAT32 or FAT16 file system. Any SD card that is compatible with the RMC200 can also be inserted into and used in a PC.
Compatible Cards
The RMC200 SD card slot is compatible with the R2-MEM-SD-1G SD card sold by Delta.
You may also use any SD card that conforms to
the specifications below. Delta recommends using industrial-grade cards
with the RMC200. Industrial grade cards provide many benefits over commercial
grade, including a wide temperature range and long data retention life.
Supported SD Cards |
|
Form factor |
Standard size (32 mm × 24 mm × 2.1 mm) |
Families |
SD (SDSC) (standard capacity) and SDHC (high capacity) |
File system |
FAT32 and FAT16 |
Capacities |
Up to 32 GB |
SD LED
The SD LED indicates the state of the SD card. Do not remove the SD card when the SD LED is flashing green, or it may corrupt the card.
SD LED State |
Description |
Off |
No SD card
|
Steady Green |
SD Card Present A compatible card (SDSC or SDHC) is present, and the card is inactive and safe to remove. |
Flashing Green |
Read or Write Active - Do Not Remove The controller is reading from or writing to the SD card. Do not remove the SD card while the LED is flashing. |
Steady Red |
Incompatible SD Card A card is present, but is not compatible. Make sure the card is SD (SDSC) or SDHC and has been formatted with a valid file system (FAT32 or FAT16). |
Browsing the SD Card from RMCTools
To view the SD card contents and to copy/move files from and to the SD card:
In the Project View, expand Modules and double-click the CPU.
On the SD Card page, click Browse Contents.
In the Browse SD Card Contents dialog, you may perform the following operations:
Extract a file from the SD card to your PC
Delete a file
Add a file to the SD card from your PC
To perform other tasks, such as moving multiple files at once, creating folders, renaming files, etc., remove the SD card from the RMC200 and connect it to a PC.
Save Controller Image
The SD card can be used to save the controller image. It will be saved as a file named ControllerImage.bin in the root folder.
Before saving the controller image to the SD card, make sure the RMC has the desired project in it by downloading the project to the RMC from RMCTools. The controller image is built from the contents of the RMC itself, not from the RMCTools project.
Via RMCTools:
In the Project View, expand Modules and double-click the CPU.
On the SD Card page, in the Save/Restore Controller Image section, click Save Image to SD Card.
A message box will open. Click Yes.
When the image has successfully been stored on the SD card, a message box will indicate it is complete. Click OK.
The Event Log will indicate that the controller image was saved to the SD card, or will provide an error message if it failed.
Via the Display Screen:
On the Display Screen, browse to SD Card > Save Image and press the Enter button.
Press the Enter button again to save the image.
The Display Screen will indicate when the save is complete.
The Event Log will indicate that the controller image was saved to the SD card, or will provide an error message if it failed.
The ability to save or restore the controller image via the display screen can be disabled in the CPU Properties, in the Display Screen Page.
Via Commands:
Use the Save Controller Image (120) command to save the image. The Event Log will indicate that the controller image was saved to the SD card, or will provide an error message if it failed.
When using this command in user programs, you may wish to also access the Controller Image Command State register. See the Save Controller Image (120) command for more details.
Restore Controller Image
If the SD card contains a controller image, that image can be applied to the RMC200. The image must be in the root folder on the SD card as a file named ControllerImage.bin. The controller will restart once the image is restored.
Via RMCTools:
In the Project View, expand Modules and double-click the CPU.
On the SD Card page, in the Save/Restore Controller Image section, click Restore Image from SD Card.
A message box will open warning that all settings will be overwritten and the RMC will restart. Click Yes.
The image will be applied and the RMC will restart.
The Event Log will provide an error message if it failed.
Via the CPU Display Screen:
On the Display Screen, browse to SD Card > Restore Image and press the Enter button.
Press the Enter button again to restore the image and restart the controller.
The Display Screen will indicate the image is being restored, then the RMC will restart.
The Event Log will provide an error message if it failed.
The ability to save or restore the controller image via the display screen can be disabled in the CPU Properties, in the Display Screen Page.
Via Commands:
Use the Restore Controller Image (121) command to restore the image. The controller will restart once the image is restored. The Event Log will provide an error message if it failed.
When using this command in user programs, you may wish to also access the Controller Image Command State register. See the Restore Controller Image (121) command for more details.
See Also
SD Card | CPU40 | CPU20L | Save Controller Image (120) | Restore Controller Image (121) | Controller Image Command State Register
Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion