摘要 |
When data access is made to address type parameters with structured data of sequence instructions set in a sequence program, conventionally a user calculates an offset address with reference to a data structure described in a manual, so that such a conventional method results in a drawback of miscalculation of the address to access an incorrect data region. An automatic data-structure identifying method is provided to solve the drawback. The automatic data-structure identifying method carries out the following processing: data structure information is provided as a database and, when an access is made to variables input in an address type parameter with structured data, the structure information is read from the database, a table of the data structures is displayed in a step (54), and an arbitrary variable is selected from the displayed table, so that the variable can be set to an arbitrary parameter of the sequence instruction (53).
|