An electronic device that exercises control over processes arbitrary in number for execution using a control program, including: storage means for forming each of the processes for execution by the electronic device with any of various combinations of a plurality of unit processes, creating, for each of the processes, the control program for use by the electronic device to execute the processes by a unit program for execution of the unit processes and a process step table in which an execution sequence of the unit programs is defined, storing the process step table for each of the processes, and storing the unit programs listed in each of the process step tables; and execution means for executing, in the defined execution sequence, when any predetermined one of the processes is directed, the unit programs defined in any of the process step tables stored corresponding to the directed process.