A bill discriminating and counting apparatus comprising: a hopper arranged to receive bills to be processed; a feeding and carrying section (5,6) arranged to feed the bills received by said hopper one by one to a transport path and carries the bill; a discriminating and counting section (7a,7b,8) provided on a downstream side of said feeding and carrying section (5,6), said discriminating and counting section (7a,7b,8) arranged to discriminate denominations of the carried bills and to count the bills; a stacker provided on the downstream side of said discriminating and counting section (7a,7b,8), said stacker arranged to collect the bills in which normality is confirmed; a plurality of various sensors (7a,7b,8,7c,12,21a-21c) provided in said transport path; and various actuators (10,24), a memory area arranged to sequentially store pieces of output information on said various sensors (21a-21c) and said various actuators (10,24,25) therein, said output signal information being generated in processes of carrying, discriminating, and counting the bill; a registration memory area arranged to previously register said output signal information associated with an error event; and wherein said bill discriminating and counting apparatus is characterized by comprising: a control section arranged to, when a particular error event occurs, search said registration memory area to specify output signal information associated with the particular error event, to read data concerning the specified output signal information from the memory area 23, the data having been stored in the memory area immediately before the particular error event occurrence, and to load the read data into a non-volatile memory, a set of the data and the particular error event being stored in said non-volatile memory. a hopper arranged to receive bills to be processed; a feeding and carrying section (5,6) arranged to feed the bills received by said hopper one by one to a transport path and carries the bill; a discriminating and counting section (7a,7b,8) provided on a downstream side of said feeding and carrying section (5,6), said discriminating and counting section (7a,7b,8) arranged to discriminate denominations of the carried bills and to count the bills; a stacker provided on the downstream side of said discriminating and counting section (7a,7b,8), said stacker arranged to collect the bills in which normality is confirmed; a plurality of various sensors (7a,7b,8,7c,12,21a-21c) provided in said transport path; and various actuators (10,24), a memory area arranged to sequentially store pieces of output information on said various sensors (21a-21c) and said various actuators (10,24,25) therein, said output signal information being generated in processes of carrying, discriminating, and counting the bill; a registration memory area arranged to previously register said output signal information associated with an error event; and wherein said bill discriminating and counting apparatus is characterized by comprising: a control section arranged to, when a particular error event occurs, search said registration memory area to specify output signal information associated with the particular error event, to read data concerning the specified output signal information from the memory area 23, the data having been stored in the memory area immediately before the particular error event occurrence, and to load the read data into a non-volatile memory, a set of the data and the particular error event being stored in said non-volatile memory. a control section arranged to, when a particular error event occurs, search said registration memory area to specify output signal information associated with the particular error event, to read data concerning the specified output signal information from the memory area 23, the data having been stored in the memory area immediately before the particular error event occurrence, and to load the read data into a non-volatile memory, a set of the data and the particular error event being stored in said non-volatile memory.