A portable manipulation command input device comprising: an input unit configured to receive input of a manipulation command associated with an operation of an apparatus main unit as a machine tool; a display unit configured to display information associated with the apparatus main unit; a communication unit configured to communicate with the apparatus main unit to receive the information and send a manipulation command signal conveying the manipulation command to the apparatus main unit, the portable manipulation command input device provided to be attachable to and removable from the apparatus main unit, and configured to display the information and to perform a manipulation corresponding to an operation of the apparatus main unit; and a detection unit and a restriction unit communicating with the apparatus main unit, the detection unit configured to detect the portable manipulation command input device being placed within a predetermined placement range of the apparatus main unit through a communication of the apparatus main body with the communication unit, the restriction unit configured to allow display of the information and the manipulation corresponding to an operation of the apparatus main unit when the detection unit detects the portable manipulation command input device being placed within the predetermined placement range, and to restrict the manipulation corresponding to an operation of the apparatus main unit while allowing display of the information associated with the apparatus main unit through the communication of the apparatus main body with the communication unit when the portable manipulation command input device is placed out of the predetermined placement range. an input unit configured to receive input of a manipulation command associated with an operation of an apparatus main unit as a machine tool; a display unit configured to display information associated with the apparatus main unit; a communication unit configured to communicate with the apparatus main unit to receive the information and send a manipulation command signal conveying the manipulation command to the apparatus main unit, the portable manipulation command input device provided to be attachable to and removable from the apparatus main unit, and configured to display the information and to perform a manipulation corresponding to an operation of the apparatus main unit; and a detection unit and a restriction unit communicating with the apparatus main unit, the detection unit configured to detect the portable manipulation command input device being placed within a predetermined placement range of the apparatus main unit through a communication of the apparatus main body with the communication unit, the restriction unit configured to allow display of the information and the manipulation corresponding to an operation of the apparatus main unit when the detection unit detects the portable manipulation command input device being placed within the predetermined placement range, and to restrict the manipulation corresponding to an operation of the apparatus main unit while allowing display of the information associated with the apparatus main unit through the communication of the apparatus main body with the communication unit when the portable manipulation command input device is placed out of the predetermined placement range.