OPTO 22 SNAP-PAC-R1 User Manual page 68

Snap pac r-series controller
Hide thumbs Also See for SNAP-PAC-R1:
Table of Contents

Advertisement

MAINTAINING THE SNAP PAC R-SERIES CONTROLLER
5. In the
6. In Windows Explorer, right-click the command file filename and choose Properties. In
SNAP PAC R-Series Controller User's Guide
file, include the following commands as needed, all in the same file.
command
All commands are CASE SENSITIVE.
To do this
Use command
Install serial com-
ModKrn <file>,
munication mod-
<modpos>
ule firmware
Install controller
Krn <file>
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
The following sample command file updates firmware on the controller.
Krn R2-R9.0a
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
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 (\).
ModKrn SCM-R2.0a, 3
ModKrn motion/MOT-R1.3c, 6
Krn R2-R9.0a
the General tab, click to put a checkmark in the Read-only box. Then click OK.
<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!
<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.
It doesn't have to be in its own directory;
motion.
Details

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents