Effective slave parameter management method and device of communication-based control system
The present disclosure relates to a method for managing a parameter of a communication-based master-slave control system, and has an effect of storing and applying parameters of all slave devices in a non-volatile memory in a master device, thereby enabling the slave devices to be set-up in a position where an operator is difficult to access or dangerous by a parameter stored in the master device, thereby simplifying maintenance of the slave devices and ensuring safety of a user.
1 . A method for managing a slave parameter, wherein the method is performed by a controller comprising one or more processors and memories, the method comprising:
receiving parameters for all slave devices from a parameter setting device, wherein all of the slave devices are connected to a master device;
storing the received parameters together with parameter identifiers (IDs) in a storage consisting of a non-volatile memory, wherein each of the parameter IDs corresponds to a parameter configuration to be applied to a corresponding slave device from among the received parameters;
requesting state information to the connected slave devices;
determining a requirement for resetting parameters for a slave device from among the slave devices;
determining that the slave device is not occupied by another master device; and
transferring the parameters stored in the storage to the slave device,
wherein the requirement for resetting the parameters for the slave device is determined based on the state information and a comparison of a parameter ID for the parameters to be transmitted to the slave device with a parameter ID stored in the slave device.
2 . The method of claim 1 , wherein after requesting the state information, when the slave devices are occupied by another master device, periodically re-requesting the state information.
3 . A method for managing a parameter of a master-slave system including a master device and one or more slave devices, the method comprising:
receiving, by the master device, parameters for all slave devices connected to the master device from a parameter setting-up device;
storing, by the master device, the received parameters together with parameter identifiers (IDs) in a storage, wherein each of the parameter IDs corresponds to a parameter configuration to be applied to a corresponding slave device from among the received parameters;
requesting, by the master device, state information to the connected slave devices;
transferring, by the slave devices, the state information to the master device in response to the request;
determining, by the master device, a requirement for resetting parameters for a slave device from among the slave devices;
determining, by the master device, that the slave device is not occupied by another master device; and
transferring, by the master device, the parameters stored in the storage to the slave device,
wherein the requirement for resetting the parameters for the slave device is determined based on the state information and a comparison of a parameter ID for the parameters to be transmitted to the slave device with a parameter ID stored in the slave device.
4 . A device for managing a slave parameter, the device comprising:
a controller including one or more processors and memories; and
a storage consisting of a non-volatile memory, wherein the controller is configured to:
receive parameters for all slave devices from a parameter setting device, wherein all of the slave devices are connected to the device,
store the received parameters together with parameter identifiers (IDs) in the storage, wherein each of the parameter IDs corresponds to a parameter configuration to be applied to a corresponding slave device from among the received parameters,
request state information to the slave devices connected to the device;
determine a requirement for resetting parameters for a slave device from among the slave devices;
determine that the slave device is not occupied by another master device; and
transfer the parameters stored in the storage to the slave device,
wherein the requirement for resetting the parameters for the slave device is determined based on the state information and a comparison of a parameter ID for the parameters to be transmitted to the slave device with a parameter ID stored in the slave device.