A method for controlling a mounting-related device used in a mounting system including a moving work device and a management device, the moving work device being configured to move between multiple mounting-related devices, the multiple mounting-related devices including a display section configured to visually notify an operator of information, the multiple mounting-related devices being related to a process of mounting a component on a processing target object, the moving work device being configured to automatically attach and detach a member to and from an attachment portion, the management device being configured to manage any of the mounting-related devices and the moving work device, the method comprising:
- determining whether a work restriction command has been acquired from at least one of the moving work device and the management device;
- setting a restriction state in which work of the operator is not accepted when it determined that the work restriction command has been acquired;
- and
- displaying a display mode indicating the restriction state on the display section to notify the operator of the restriction state,
- wherein the restriction state is set in a case where the mounting-related device corresponds to one or more of a pre-passage state in which the moving work device is scheduled to pass, a passing state in which the moving work device is passing, a post-passage state immediately after the moving work device passes, and an operation target state in which the mounting-related device is to be operated by the moving work device, and the display mode corresponds to one or more of the pre-passage state, the passing state, the post-passage state, and the operation schedule state on the display section.