MAINTAINING THE SNAP PAC R-SERIES CONTROLLER
SNAP PAC R-Series Controller User’s Guide
60
5.
In the
command
file, include the following commands as needed, all in the same file.
All commands are CASE SENSITIVE.
The following sample command file updates firmware on the controller.
The following sample command file updates firmware on the controller and on two
serial modules. The update commands for the serial modules must be listed first. This
file updates version R2.0a on an RS-232 serial module in slot 3, firmware version R1.3c
on a motion control module (a special type of serial module) in slot 6, and firmware
version R9.0a on a SNAP-PAC-R2 controller. Note that the motion control firmware is
located in a directory named
motion.
It doesn’t have to be in its own directory;
module and controller firmware files can be in the same directory or in separate
directories, as you choose. If you show a path in the command file, note that you must
use a forward slash (/), not a backward slash (\).
6.
In Windows Explorer, right-click the command file filename and choose Properties. In
the General tab, click to put a checkmark in the Read-only box. Then click OK.
To do this
Use command
Details
Install serial com-
munication mod-
ule firmware
ModKrn <file>,
<modpos>
<file> is the firmware path and file as the microSD card
sees it, so do not include
sdcard0
directory in the path.
The firmware file can be compressed in gzip format or
uncompressed. *
<modpos> is the position of the module on the rack.
NOTE: If this file exists, it will be installed. Firmware check-
ing is impossible on serial modules.
CAUTION:
Installing the wrong firmware on a serial mod-
ule will make the module unusable. Make sure you have
the correct firmware!
Install controller
firmware
Krn <file>
<file> is the firmware path and filename as the microSD
card sees it, so do not include
sdcard0
directory in the
path. The firmware file can be compressed in gzip format
or uncompressed.* If you’re using Secure Strategy Distri-
bution, <file> must include a valid signature.
NOTE: If installing both module and controller firmware,
make sure the ModKrn command comes before the Krn
command, as Krn resets the controller.
NOTE: Controller firmware will be installed only if it differs
from the current firmware.
* To gzip a file on Windows, use the utility at
http://gnuwin32.sourceforge.net/packages/gzip.htm
.
SNAP PAC cannot decompress files that were compressed with WinZip
Krn R2-R9.0a
ModKrn SCM-R2.0a, 3
ModKrn motion/MOT-R1.3c, 6
Krn R2-R9.0a