摘要 |
PROBLEM TO BE SOLVED: To prevent errors in the management of the number of prize balls in a main control substrate and a prize ball control substrate. SOLUTION: In the restoration of a power source, a value of a stack buffer retreated in case of power failure is set on a stack pointer to return the state of program to the state prior to the power failure (step S52). A delay time processing is performed for delaying the starting time of a CPU 66 of a payout control substrate 31 (step S53), the state of an output port is returned (step S54) to restore registers retreated in case of the power failure (step S55) and normal processing is carried out (step S56). In the restoration of the power source, the program of the main control substrate 30 starts 20 ms layer from the program of the payout control substrate 31, and in order eliminate errors in the dispensing of the prize balls, the payout control substrate 31 performs a delay time processing for 20 ms and ends the delay time processing when receiving a command for starting the normal control from the main substrate 30. Then, the control of a ball exhaustion motor 31c is started by the payout control substrate 31.
|