摘要 |
PROBLEM TO BE SOLVED: To provide a program controller for automatically adjusting the rate of the execution time of a plurality of sequence programs following desired conditions. SOLUTION: Each sequence program is executed by a preliminarily set execution rate, and the execution time of each program is measured (100). The execution time of each measured sequence program is totaled (101), and the minimum number of execution cycles satisfying the totaled time is calculated (102). A necessary execution time in each execution cycle in the minimum number of cycles is calculated for each program (103). The execution rate of each program in the execution cycle is calculated and set on the basis of the necessary execution time (104, 105). Thus, it is possible to end one time of processing of each of those plurality of sequence programs in the same scan time. Also, the time rate of the execution cycle can be assigned to each sequence program so that the set target scan time or target scan time rate can be set. COPYRIGHT: (C)2005,JPO&NCIPI
|