A machine controller, which controls an acceleration machine group and an emitting machine group of an accelerator for accelerating and emitting particle beam, confirms completion of running preparation of the acceleration machine group at a timing when a master clock is received, and outputs a command to the acceleration machine group so as to make the acceleration machine group operate in an operating pattern corresponding to a set energy of the particle beam. When an emitting OK signal which is a signal showing that the particle beam has reached the set energy becomes ON, and an emitting machine group status signal which is a signal showing that settings for the set energy of the emitting machine group have been completed is ON, a command for making the acceleration machine group operate in an emitting operation pattern is outputted.本發明之機器控制器,係用以控制用來加速並射出粒子線之加速器的加速機器群與射出機器群,該機器控制器確認在接收到主時脈之時點完成加速機器群之運轉準備,對加速機器群輸出指令俾以與粒子線之設定能量相對應之加速機器群的運轉模式來運轉,當屬於顯示粒子線達設定能量之信號的可射出信號成為導通,且屬於顯示完成射出機器群中對設定能量的設定之信號的射出機器群設定狀態信號為導通時,對加速機器群輸出指令俾以射出運轉模式來運轉。t,t0至t13‧‧‧時刻