E866 Target Control Software -- INIT V1.0 8/09/96 SYSTEM REQUIREMENTS INIT.EXE is a runtime executable file written in MS Quick Basic and compiled with the MS Quick Basic compiler. Hardware requirements are a PC with a hard drive, MS DOS, and two RS 232 comports. COM1 is to interface with the Step Motor Controler (SMC). COM2 is to be set up to recieve a GOOD SPILL or END OF SPILL signal. INIT.EXE uses the text file TSOFT.CFG located in the root directory of the C drive to define the location of various files it uses. The format of the file should look something like... [DISK] DRIVE=c: ROOTPATH=\target\system LOGPATH=\logs CFGPATH=\config DEFPATH=\default The position.log file, for example, is placed by the program in the LOGPATH, under the ROOTPATH: c:\target\system\logs\position.log. USAGE If the computer looses power or crashes, it is possible that position information will be lost. If the target is at a valid position (one of P1-P4 lit on the E866 Target Control Box in the counting house) one can simply edit the file \position.log in the c:\???\system\ directory and recover (if you don't know the format of the file, use the location.exe routine.) If, however, the target is at an unkowable position, INIT will allow you to find one of the three well known positions--HOME or either of the HARD STOPS (EAST or WEST). HOT KEYS F3 Stops the target and halts program execution. The position of the target position will need to be initialized after this. F9 Halts program execution. COMMAND LINE SWITCHES -h, -home Searches for home in the default direction (west) -e, -east Searches for home traveling east -w, -west Searches for home traveling west -nv, -noverbose Supresses some output of program status -nosafe Does not wait for end of spill or good spill signal. DO NOT USE IF BEAM IS PRESENT, YOU WILL PROBABLY LOSE INTERLOCKS AND MAY DAMAGE THE TARGET! -c Confirm certain program steps -m[n%] Sets maximum speed in steps/s to n% (integer). -b[n%] Sets base speed in steps/s to n% -a[n%] Sets acceleration in steps/s^2 -d[n%] Sets deceleration in steps/s^2 Example: init -e -m900 tells the SMC to move EAST, accelerating and decelerating using default parameters at a maximum speed of 900 steps/s and a default base speed until the HOME switch is found, or a HARD STOP switch is encountered. init -m900 -e -nosafe is identical to the above, but will not wait for the EOS/GS signal before initiating the move. OTHER DOCUMENTATION Other documentation is available for the MOVE, (CONFIG), (LOCATION) and (AUTO) programs.