PLC device and recording medium
AssigneeFanuc Corporation
InventorYaoki Takashima
Life of this patent
Estimating the term…
Abstract
Provided is a PLC device having a first PLC and a second PLC, the PLC device comprising: a measurement unit that causes PLC execution units of the first PLC and the second PLC to execute test run of a sequence program and measures a period between start and end of the sequence program for each of the first PLC and the second PLC; a timing adjustment information calculation unit that uses the measured periods to calculate timing adjustment information including at least one of an execution time and execution cycle in cyclic execution of the sequence program by the first PLC and the second PLC; and a timing adjustment information setting unit that sets the timing adjustment information calculated by the timing adjustment information calculation unit in at least any one of the first PLC and the second PLC.
Claims5
A Programmable Logic Controller (PLC) apparatus comprising a first PLC and a second PLC whose execution speeds are different from each other, the PLC apparatus causing a PLC execution unit of each of the first PLC and the second PLC to perform test execution of a sequence program, the PLC apparatus comprising:
- a measurement unit configured to measure time required by the PLC execution unit of each of the first PLC and the second PLC from start to end of the sequence program;
- a timing adjustment information calculation unit configured to calculate, based on the time measured by the measuring unit, timing adjustment information including at least either execution time or execution cycles in cyclic execution of the sequence program in the first PLC and the second PLC;
- and
- a timing adjustment information setting unit configured to set the timing adjustment information calculated by the timing adjustment information calculation unit;
- wherein
- the timing adjustment information is set for at least any one of the first PLC or the second PLC having the higher execution speed.
A non-transitory computer readable medium encoded with a program for causing a computer to function as the following units to cause a Programmable Logic Controller (PLC) execution unit of each of a first PLC and a second PLC whose execution speeds are different from each other to perform test execution of a sequence program:
- a measurement unit configured to measure time required by the PLC execution unit of each of the first PLC and the second PLC from start to end of the sequence program in the test execution;
- a timing adjustment information calculation unit configured to calculate, based on the measured time, timing adjustment information including at least either execution time or execution cycles in cyclic execution of the sequence program in the first PLC and the second PLC;
- and
- a timing adjustment information setting unit configured to set the calculated timing adjustment information for the first PLC or the second PLC, wherein
- the timing adjustment information is set for at least one of the first PLC or the second PLC having the higher execution speed.
Dependencies are inferred from the claim text.