EasyManua.ls Logo

Campbell CR800 Series - Powerup.ini Script Commands and Applications

Campbell CR800 Series
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 8. Operation
423
Powerup.ini Script Commands and Applications
Powerup.ini
Script Command
Description Applications
11 Run always, preserve data
Copies a program file to a drive and
sets the run attribute to Run Always
.
See Preserving Data at Program
Send (p. 170).
2 Run on power-up
Copies a program file to a drive and
sets the run attribute to Run Always
unless command 6 or 14 is used to
set a separate Run Now program.
See Preserving Data at Program
Send
(p. 170).
5 Format Formats a drive.
61 Run now, preserve data
Copies a program file to a drive and
sets the run attribute to Run Now.
7 Copy support files
Copies support files, such as Include
(p. 502) or program support files, to the
CPU: drive before copying the
program file with run attributes set
to Run always, erase data.
9 Load OS (File = .obj)
Loads a .obj file to the CPU: drive
and then loads the .obj file as the
new CR800 operating system.
13 Run always, erase data
Copies a program to a drive and sets
the run attribute to Run Always.
14 Run now, erase files
Copies a program to a drive and sets
the run attribute to Run Now.
1
Use PreserveVariables() instruction in the CRBasic program in conjunction with powerup.ini script commands
1 and 6 to preserve data and variables.
Example Power-up.ini Files
'Code format and syntax
'Command = numeric power-up command
'File = file associated with the action
'Device = device to which File is copied. Defaults to CPU:
'Command,File,Device
13,Write2CRD_2.cr1,cpu:

Table of Contents

Related product manuals