Control systems for setting sampling timing
AssigneeOMRON Corporation
InventorsYukio Iname, Koji Yaoita, Yoshitaka Takeuchi, Takamasa Ueda
Life of this patent
Estimating the term…
Abstract
A control system easily adjusts devices. In a control system, an input unit included in a PLC system obtains actual sampling data. An output unit outputs an output signal based on output instruction data including a designated output timing and a designated output signal value. A task execution unit included in a controller repeatedly executes a task in a predetermined period. A sampling unit obtains variable sampling data. A same time-series data generation unit included in a development support apparatus generates same time-series data. A same time-series data display unit displays the same time-series data on the same time axis.
Claims24
A control system, comprising:
- a Programmable Logic Controller (PLC) comprising a first processor configured with a first program to perform operations comprising:
- operation as an input unit configured to obtain actual sampling data comprising a first sampling value and a first sampling timing that are associated with each other, the first sampling value comprising a value of an input signal obtained by sampling the input signal at the first sampling timing, the first sampling timing comprising a timing at which the input signal is sampled,
- operation as an output unit configured to output an output signal based on output instruction data comprising a designated output timing and a designated output signal value, the output signal to be output to a target device,
- operation as a task execution unit configured to repeatedly execute a task in a predetermined period, the task comprising I/O refresh processing for updating a value of an input variable associated with the input signal and updating the output signal based on an output variable associated with the output signal, and to perform operations of a user program, the operations of the user program comprising calculating a value of the output variable by executing the user program based on the input variable, calculating the designated output timing and the designated output signal value based on the value of the output variable to generate the output instruction data, and transmitting the output instruction data to the output unit, and
- operation as a sampling unit configured to obtain variable sampling data comprising a second sampling value and a second sampling timing that are associated with each other, wherein the second sampling value is obtained by sampling the input variable, the output variable, and an internal variable used in the user program at the second sampling timing, the second sampling timing comprising a timing at which the input variable, the output variable, and the internal variable are sampled;
- and
- a development support apparatus comprising a second processor configured with a second program to perform operations comprising:
- operation as a same time-series data generation unit configured to generate same time-series data comprising the first sampling timing, the second sampling timing, and the designated output timing arranged in a same time series, wherein respective timings of the first sampling value, the second sampling value, and the designated output signal value are in the same time series corresponding to the first sampling timing, the second sampling timing, and the designated output timing, and
- operation as a same time-series data display unit configured to display the same time-series data on a same time axis, wherein the target device is a motor, and wherein the position and motion of a rotating shaft of the motor are controlled according to the updated output signal.
A control system, comprising:
- a Programmable Logic Controller (PLC) comprising a first processor configured with a first program to perform operations comprising:
- operation as an input unit configured to receive an input signal,
- operation as an output unit configured to output an output signal to a target device,
- operation as a task execution unit configured to repeatedly execute a task in a predetermined period, the task comprising I/O refresh processing for updating an input variable associated with the input signal and updating the output signal based on an output variable associated with the output signal, and to perform operations of a user program, the operations of the user program comprising calculating a value of the output variable by executing the user program based on the input variable, and
- operation as a sampling unit configured to obtain variable sampling data comprising a first sampling value and a first sampling timing, the first sampling value is obtained by sampling the input variable, the output variable, and an internal variable used in the user program at the first timing, the first sampling timing is a timing at which the input variable, the output variable, and the internal variable are sampled;
- and
- a development support apparatus comprising a second processor configured with a second program to perform operations comprising:
- operation as an input-output change timing prediction unit configured to predict an input change timing at which a signal value of the input signal changes to a value corresponding to an input variable value at the first sampling timing, and an output change timing at which a signal value of the output signal changes to a value corresponding to an output variable value at the first sampling timing based on a connection between the input unit and the output unit, a communication speed, an operational speed for performing a predetermined operation in the input unit and the output unit, and the first sampling timing,
- operation as a predictive input-output signal generation unit configured to generate predictive input signal data by associating the input variable value at the first sampling timing with the input change timing, and to generate predictive output signal data by associating the output variable value at the first sampling timing with the output change timing, and
- operation as a same time-series data display unit configured to display the variable sampling data, the predictive input signal data, and the predictive output signal data on a same time axis, wherein the target device is a motor, and wherein the position and motion of a rotating shaft of the motor are controlled according to the updated output signal.
Dependencies are inferred from the claim text.