×

Controller and map file conversion device

  • US 9,751,410 B2
  • Filed: 09/07/2015
  • Issued: 09/05/2017
  • Est. Priority Date: 04/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. A controller for controlling a drive device that executes drive control of a motor, comprising:

  • a processing device; and

    a memory having program instructions stored thereon, execution of which by the processing device causes the controllerto obtain a symbol name provided to indicate data that are an object of reading or updating,to convert the obtained symbol name into an address with reference to a map file, the map file using each symbol name included in a source code of a control program as an identifier of data corresponding to said each symbol name, and associating said each symbol name with an address of a storage area storing the corresponding data, andto instruct the drive device to read or update the data stored in the storage area indicated by the address obtained through the conversion, whereinthe source code includes a variable of a structure type that has a plurality of members, both the variable and each member thereof having a symbol name associated thereto, andthe map file includes, for the variable of the structure type, botha first address, which is an address of a storage area storing the variable, associated with the symbol name of the variable, anda plurality of second addresses respectively associated with the symbol names of the members of the variable, each second address being obtained by adding an offset corresponding to a data type of an immediately-preceding member to the second address corresponding to the immediately-preceding member, or to the first address when no preceding member thereof exists.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×