Section 8. Operation
Table 95.
Powerup.ini Example. Format the USR: Drive
'Format the USR: drive
5,,usr:
Table 96.
Powerup.ini Example. Send OS on Power-up
'Load an operating system (.obj) file into FLASH as the new OS.
9,CR1000.Std.28.obj
Table 97.
Powerup.ini Example. Run Program from USB: Drive
'A program file is carried on an external USB: drive.
'Do not copy program file from USB:
'Run program always, erase data.
13,toobigforcpu.cr1,usb:
Table 98.
Powerup.ini Example. Run Program Always, Erase Data
'Run a program file always, erase data.
13,pwrup_1.cr1,cpu:
Table 99.
Powerup.ini Example. Run Program Now, Erase Data
'Run a program file now, erase data now.
14,run.cr1,cpu:
Power-up.ini Execution
After
powerup.ini
is processed, the following rules determine what CR1000
program to run:
•
If the run-now program is changed, then it is the program that runs.
•
If no change is made to run-now program, but run-on-power-up program is
changed, the new run-on-power-up program runs.
•
If neither run-on-power-up nor run-now programs are changed, the previous
run-on-power-up program runs.
8.3.4.5 File Management Q & A
Q: How do I hide a program file on the CR1000 without using the CRBasic
FileManage()
instruction?
A: Use the
CoraScript
(p. 510)
File-Control
command, or the
web API
(p. 423)
FileControl
command.
8.3.5 File Names
The maximum size of the file name that can be stored, run as a program, or FTP
transferred in the CR1000 is 59 characters. If the name is longer than 59
characters, an
Invalid Filename
error is displayed. If several files are stored, each
with a long filename, memory allocated to the root directory can be exceeded
before the actual memory of storing files is exceeded. When this occurs, an
"insufficient resources or memory full" error is displayed.
8.3.6 File-System Errors
Table
File System Error Codes
(p. 390)
lists error codes associated with the CR1000
file system. Errors can occur when attempting to access files on any of the
389
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: ......