NIC2-2 · Network ID Camera Publication no. 201102Triacon AB Sweden 11 September 20033.2.3 Switch On / Initialize ProcedureCamera status: Mechanic position of thecarriage is not known. Cam-era is energized.The microprocessor starts the initializationroutine. First while still executing the boot-strap program, the P key is checked. Ifpressed the download procedure will be start-ed.If not pressed the bootstrap routine will callthe main program.The main program initializes all hardware re-sources on the CPU board as well as the op-erator- and exposure display.The main program checks if the set-up mem-ory is valid by calculating a check sum. If thecheck sum does not match the stored valuethe set-up memory is erased.The opening unit is run to calibrate the mech-anism to find out the left position of the move-ment area.The contrast of the exposure display is set.If calibration of opening mechanism as well asfor contrast of exposure display is successfulthe main picture is displayed and the camerais ready for operation.Initialize hardwareCheck if Pkey ispressedStartYesYesRun motor to the left until notmoving for 0.3 sec. Set position to 0.Move motor six step to theright.Faild to dothis.Run motor to the left until notmoving for 0.3 sec.Position>-3 and <3Set position to 0Set exposure display contrastContrastwithinlimits.End FailedDownloadprocedureNoNo