摘要 |
A programable controller includes a cycle time setter, a counter, and a calculator. The cycle time setter sets a cycle time for one round of execution of a sequential series of processing routines. The counter counts an execution time between the start of a first predetermined processing routine of the series and the termination of a second predetermined processing routine of the series subsequent to the first. The time difference between the execution time counted by the counter and the cycle time is calculated and, if positive, is allocated to execution of the remainder of the processing routines in the series.
|