Mitsubishi PLC (Programmable Logic Controller) is a widely used controller in industrial automation. In practice, time control is an important function in PLC programming. This article will describe in detail how to use Mitsubishi PLC time control, including the basic concepts, programming methods, practical application cases.
I. The basic concept of time control
1.Definition of time control
Time control refers to the time control of equipment or system through PLC to realize the automatic operation of equipment or system, timing control and other functions. In the field of industrial automation, time control can be used to realize the start, stop, pause, reset and other operations of equipment, as well as the monitoring and management of the production process.
2.Classification of time control
Time control can be divided into the following categories:
(1) Timing control: performs specific operations, such as start, stop, etc., at specified time intervals.
(2) cyclic control: perform specific operations according to a certain time period, such as cyclic control, cyclic detection, etc.
(3) Sequential control: perform multiple operations according to a certain order, such as equipment start, run, stop, etc.
(4) Conditional control: Perform corresponding operations according to specific conditions, such as temperature, pressure, etc., when the set value is reached, the corresponding control is performed.
II. Mitsubishi PLC time control programming method
1.The use of timer (Timer)
Timer is the basic tool to realize time control in PLC. In Mitsubishi PLC, timer is divided into two types: T-type timer and K-type timer.
(1) T-type timer: T-type timer is a basic timer that can realize simple timing control. Its programming method is as follows:
- Define timer: Define a T-type timer in the PLC program, such as T0, T1, etc.
- Set Timing Time: Set the timing time of the timer according to the need, such as T0 K50 means the timing time of T0 timer is 50 seconds.
- Start Timer: Start the timer by programming instruction, such as SET T0 means start T0 timer.
- Monitor Timer: Monitor the status of timer through programming instruction, such as OUT T0 means when T0 timer reaches the set time, output the corresponding signal.
(2) K-type timer: K-type timer is a kind of advanced timer, which can realize more complicated time control. Its programming method is as follows:
- Define timer: Define a K-type timer in the PLC program, such as K0, K1, etc.
- Set Timing Time: Set the timing time of the timer according to the need, such as K0 K50 means the timing time of K0 timer is 50 seconds.
- Start Timer: Start the timer by programming instruction, such as SET K0 means start K0 timer.
- Monitor Timer: Monitor the status of the timer through programmed instructions, such as OUT K0 means that when the K0 timer reaches the set time, the corresponding signal will be output.
- Use of Counter
Counter is the basic tool to realize counting control in PLC. In Mitsubishi PLC, there are two types of counters: C-type counters and S-type counters.
(1) C-type counter: C-type counter is a basic counter that can realize simple counting control. Its programming method is as follows:
- Define the counter: Define a C-type counter in the PLC program, such as C0, C1, etc.
- Set Count Range: Set the count range of the counter according to the need, such as C0 K10 means the count range of C0 counter is 0~10.
- Start Counter: Start the counter by programming instruction, such as INCP C0 means start the C0 counter.
- Monitor Counter: Monitor the counter status by programming instruction, such as OUT C0 means when C0 counter reaches the set range, output the corresponding signal.
(2) S-type counter: S-type counter is a kind of advanced counter, which can realize more complicated counting control. Its programming method is as follows:
- Define counter: Define an S-type counter in the PLC program, such as S0, S1, etc.
- Set Count Range: Set the count range of the counter according to the need, such as S0 K10 means the count range of S0 counter is 0~10.
- Start Counter: Start the counter by programming instruction, such as INCP S0 means start S0 counter.
- Monitor Counter: Monitor the counter status by programming instruction, such as OUT S0 means output the corresponding signal when S0 counter reaches the set range.




