摘要 |
Provided is a controller that can cope with flexibly addition, modification and deletion of data, which are the object of reading or the object of updating, and that enables intuitive specification of data, which are wished to be read or updated, without applying an extra processing load to a drive device. The controller controls a drive device that loads a control program into a memory and performs drive control of a motor according to the control program. This controller stores a map file in which a symbol name included in a source code of the control program as an identifier for data stored in the memory of the drive device is associated with an address of the memory area storing the data. The controller is provided with conversion means for converting a symbol name inputted to specify the data, which are an object of reading or an object of updating, into an address. The controller then specifies the data to be read or updated by the address obtained by the conversion means. |