Section 8. Operation
Table 92.
Powerup.ini Commands and Applications
Command
Description
Applications
1
1
Run always, preserve data
Copies the specified program to the
designated drive and sets the run attribute
of the program to
Run Always.
Data
on a CF card from the previously running
program will be preserved.
2
Run on power-up
Copies the specified program to the
designated drive. The program specified
in command
2
will be set to
Run Always
unless command
6
or
14
is used to set a
separate
Run Now
program.
5
Format
Formats the designated drive.
6
1
Run now, preserve data
Copies the specified program to the
designated drive and sets the run attribute
of the program to
Run Now
. Data on a
CF card from the previously running
program will be preserved.
7
Copy file to specified drive with no run
attributes. Use to copy
Include
(p. 518)
or
program support files to the CPU: drive
before copying the program file to run.
Copies the specified file to the designated
drive with no run attributes.
9
Load OS (File = .obj)
13
Run always, erase data
Copies the specified program to the
designated drive and sets the run attribute
of the program to
Run Always
. Data
on a CF card from the previously running
program will be erased.
14
Run now, erase files
Copies the specified program to the
designated drive and sets the run attribute
to
Run Now
. Data on a CF card from
the previously running program will be
erased.
1
By using
PreserveVariables()
instruction in the CRBasic program, with commands
1
and
6
, data and variables can be preserved.
Example Power-up.ini Files
Table 93.
Powerup.ini Example. Code Format and Syntax
'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 94.
Powerup.ini Example. Run Program on Power-up
'Copy program file pwrup.cr1 from the external drive to CPU:
'File will run only when CR1000 powered-up later.
2,pwrup.cr1,cpu:
388
Summary of Contents for CR1000
Page 2: ......
Page 4: ......
Page 6: ......
Page 32: ......
Page 36: ......
Page 38: ......
Page 40: ......
Page 60: ...Section 4 System Quickstart Figure 16 PC200W View Line Graph 60 ...
Page 96: ......
Page 98: ...98 ...
Page 302: ......
Page 453: ...Section 8 Operation Figure 115 Using the Keyboard Display 453 ...
Page 456: ...Section 8 Operation Figure 118 Real Time Custom 456 ...
Page 457: ...Section 8 Operation 8 8 1 3 Final Memory Tables Figure 119 Final Memory Tables 457 ...
Page 458: ...Section 8 Operation 8 8 2 Run Stop Program Figure 120 Run Stop Program 458 ...
Page 460: ...Section 8 Operation Figure 122 File Edit 460 ...
Page 461: ...Section 8 Operation 8 8 4 PCCard Memory Card Display Figure 123 PCCard CF Card Display 461 ...
Page 478: ......
Page 506: ......
Page 536: ......
Page 636: ......
Page 642: ......
Page 644: ......
Page 676: ......
Page 677: ......