Chapter 2 Getting Started the BHT and System Mode1172.7 Starting Up User ProgramsYou can start up user programs (application programs) in the BHT in several ways. This section outlinesthose ways.! Starting from the EXECUTE PROGRAM menu in System ModeIf you select a desired user program as an execution program in the EXECUTE PROGRAM menu, thenthe selected program will immediately start running. The selected program will always start from thebeginning.For details, refer to Section 2.5.3, "[ 1 ] Program Execution."! Starting the auto-start execution program selected in the SET SYSTEM menu in SystemMode, by turning the power onIf you have selected a desired user program as an auto-start execution program on the SET EXECUTEPROGRAM screen in the SET SYSTEM menu and turned the BHT off, then turning the BHT on willautomatically run the selected program. If the resume function is activated, turning the BHT on willresume the program at the current point that had been running before the BHT was turned off.For details, refer to Section 2.5.3, "[4.1] Setting an execution program."! Starting the first registered execution program, by turning the power on--with DirectoryManagerIf no auto-start execution program has been selected on the SET EXECUTE PROGRAM screen in theSET SYSTEM menu, then turning the BHT on will transfer the control to Directory Manager that starts afirst-registered one out of user programs (.PD3) loaded in the BHT.If the resume function is activated, turning the BHT on will resume the program at the current point thathad been running before the BHT was turned off.When downloading more than one user program after system initialization, you should download first adesired program to be run as an auto-start execution program since downloaded programs will beregistered in the system in the downloading order.At the time of updating programs, use the same program names in downloading, and the registrationorder of programs will not change so that the same execution program will be able to run.NOTE: Directory Manager in system manages also files other than program files (.PD3). If you delete anon-program file (e.g., .DAT) registered preceding the first-registered execution program and downloada new user program, then the newly downloaded program will be registered into the position of thedeleted non-program file. To prevent such a problem, it is recommended that after initialization you firstdownload an execution program to be run first when the BHT is turned on.On the next page are downloading examples and Directory Manager control. In those samples, thefollowing file names are used:MAIN.PD3 Program to be run by pressing the PW keySUBMAIN.PD3 Program chained from the MAIN.PD3 with the CHAIN statement in BHT-BASICUSER.PD3 New user programAAAAAAAA.DAT Data file 1 to be used by user programsBBBBBBBB.DAT Data file 2 to be used by user programs