Analysis of Common Problems of Mitsubishi Timers and Counters

Publisher:龙爱泉也Latest update time:2023-09-07 Source: elecfansKeywords:MITSUBISHI  Timer  Counter Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. I want to use the normally open contacts of the timer in 20 places in the program. Is that ok? If the timer reaches the set time, will these 20 normally open contacts act together?

A: Yes, because the contact of the timer (normally open or normally closed) is a programming soft element. It can be used an unlimited number of times in the program. It is equivalent to having unlimited contacts for you to use. These 20 contacts do not act together. The PLC program runs by scanning line by line. When the line is scanned, the contacts of that line will act. Therefore, strictly speaking, these 20 contacts have limited actions and do not act together.

2. The book says that the timer only has power-on delay contacts. What should I do if I want to use power-off delay contacts?

Answer: The timer only has power-on delay contacts. If you want to use power-off delay contacts, you can only do so by programming a power-off delay program. The figure below is a power-off delay disconnection program for reference.

3. I saw T5 D100 in someone else's program, but I don't understand what the timing setting value of this T5 is?

Answer: The timer setting value of timer T5 D100 is the value of data register D100. This is an indirect setting method for timer timing. The advantage of indirect setting is that as long as the value of D100 is changed, the timer setting value is changed.

4. What does the current value of a timer refer to? What is the use of the current value?

A: When the timer is driven to start timing, its value changes from 0 to the set value. This constantly changing value is called the current value of the timer. The current value provides the user with a timer function, that is, in conjunction with the contact comparison instruction, the output can be controlled at any time point within the set value range.

5. How to improve the timing accuracy of the timer?

A: Timers are divided into three types according to the counting clock: 100ms, 10ms and 1ms. The difference between them is that the timing program is different. The 100ms timer changes according to the 0.1s program, while the 1ms timer changes according to the 0.001s program. If you want to improve the accuracy of the timer, choose a 1ms timer.

6. What are the three elements of a timer?

Answer: The three elements of a timer refer to the start, contact action and reset of the timer.

7. I have never understood why T192-T199 timers are used in subroutines? Can't other timers be used?

A: In a subroutine, you can use either a common timer or a subroutine-specific timer T192-T199. The difference between the two is that a common timer only counts when a subroutine is executed. If the subroutine is not executed, the timing will be interrupted. This affects the accuracy of the timing and causes timing errors. However, T192-T199 will not do this. If a special timer is started in a subroutine, the timer will continue to count even if the subroutine is not executed, thus ensuring the accuracy of the timing.

8. What is an accumulative timer? What is the difference between it and a general timer?

A: The accumulative timer is also called the power-off holding timer. The difference between this and the general timer is that during the timing process, if the driving condition is disconnected or the power is off, the accumulative timer can maintain the current timing value. When the driving condition is connected or the power is on, the timing will continue on the basis of the original timing until the timing reaches the set value.

9. Teacher, could you please give me a detailed introduction on how to reset the timer?

A: The timer reset is different according to its reset method. For general timers, its start and reset are determined by the driving conditions. When the driving condition changes from guide to reset, the timer is reset immediately. In addition, when the PLC is powered off, the timer is automatically reset. For the cumulative timer, it is not reset due to the disconnection of the driving condition or power failure, and must be reset using the RST instruction. Of course, ordinary timers can also be reset using the RST instruction.

10. Is the timing setting value of timer T5 K10 10S?

A: The timing setting value of the timer is the setting value multiplied by the clock pulse period of the timer's clock pulse. The clock pulse period of timers with different addresses is different. All timers are divided into three clock pulse periods: 100ms, 10ms and 1ms. The same setting value, but different timing setting values ​​due to different addresses, for example:

T5 k10 timing time is 1s

T243 K10 timing time is 0.1s

T275 K10 timing time is 0.01s

The relationship between timer addressing and clock pulse period can be found in the data or manual

11. In a ladder diagram program, how is the current value of the timer represented?

A: In the program, the current value of the timer appears as the operand of the function instruction. It is represented by the address of the timer. For example:

RST 248 Reset the current value of timer T248

MOV T10 D0 transfers the current value of timer T10 to D0

12. What changes occur to the timer after resetting it?

Answer: Timer reset mainly produces the following actions.

1. The current value of the timer becomes 0

2. The contacts of the timer return to their original state (i.e. normally open to normally open, normally closed to normally closed)

13. I would like to ask you, when the timer reaches the set value, if the driving condition is still met, will the timer continue to count?

A: When the timer reaches the set value, if the driving condition is still met, the current value of the timer will not change and the set value will remain unchanged. The timer will not continue to count. Wait for the timer to reset.

14. Why does the timer T0 K40000 fail to input an input error?

Answer: The timer setting value register is a 16-bit data register, and its maximum value is K32767. K40000 has exceeded this maximum value, so it cannot be entered into the ladder diagram.

15. Teacher, what is the timing setting value of T0 K-500?

Answer: The timing value of the timer cannot be set to a negative value. If it is set to a negative value, its timing time is set to 0 seconds.


Keywords:MITSUBISHI  Timer  Counter Reference address:Analysis of Common Problems of Mitsubishi Timers and Counters

Previous article:An article to teach you how to understand electrical diagrams
Next article:Understanding timer implementation technology in one article

Recommended ReadingLatest update time:2024-11-16 17:56

When learning PLC for the first time, should I learn Siemens or Mitsubishi?
There are many types of PLCs, and most brands are divided into European, Japanese, and American brands. German PLCs are mainly Siemens, Japanese PLCs include Mitsubishi, Omron, Panasonic, etc., and American PLCs include Rockwell (AB), General Electric (GE), and Modicon. The PLC technologies of the United
[Embedded]
【Blue Bridge Cup MCU Group】(4)Timer0/1 Timer
Registers to be used: TMOD (operating mode register) TCON (control register) THx TLx TMOD TMOD D7 D6 D5 D4 D3 D2 D1 D0   GATE C/T M1 M0 GATE C/T M1 M0   T1 T1 T1 T0 T0 T0 GATE: GATE = 0: The timer starts or ends only controlled by TCON^TRx GATE = 1: The start or end of the timer is controlled only by the level of TC
[Microcontroller]
Share tips on how to judge serious and minor faults of Mitsubishi inverters
The techniques and methods for judging serious faults and minor faults of Mitsubishi inverters. I think this logic is worth learning from and trying to see if it is right. The following editor will share with you the techniques and methods for judging serious faults and minor faults of Mitsubishi inverters.
[Embedded]
Share tips on how to judge serious and minor faults of Mitsubishi inverters
C51 timer and counter timer and counter
Code: #include reg52.h unsigned char a,num; sbit LED1=P1^0; void main() { num=0; EA=1; //Open the general interrupt ET0=1; //Open the timer 0 minute switch TMOD=0X01; //Set to timer 0, mode 1 TH0=(65536-50000)/256; //Install the initial value for timer 0, the timing time of 12 MHz crystal oscillator is 50ms
[Microcontroller]
C51 timer and counter timer and counter
Using the PWM output of Timer0 in S3C2440 to drive the buzzer
There are five 16-bit timers in S3C2440, timer0, timer1, timer2, timer3 and timer4. Among them, only timer4 is an internal timer without output pins. Therefore, only timers 0, 1, 2, and 3 have pulse width modulation (PWM) function. Timer 0 has a dead zone generator for high current devices. (Hereinafter, timer 0 is us
[Microcontroller]
LPC1788--TIMER match interrupt setting--register operation
Simple record of LPC1788 timer match interrupt settings - direct operation through registers #include "timer_lpc1788.h" #include "uart_lpc1788.h" void TIMER0_IRQHandler(void) //TIMER0 interrupt function {     if(((LPC_TIM0- IR) &(1 0))==(1 0)) //match interrupt occurs    {        UARTSendStr("CLOS\r\n");    }    LP
[Microcontroller]
Solve the problem of interrupt update caused by timer2 configuration initialization in stm8s003
Overview This article briefly describes the solution to initialize timer2 in stm8s003 and immediately enter the interrupt: When debugging stm8 tim2 as a 100ms timer, I found that after enabling timer2, it will enter the interrupt (update event trigger) soon after about 800us, which is much less than 100ms. No matter h
[Microcontroller]
Global Enterprise Intelligent Manufacturing Patent Ranking: IBM, Siemens, and Mitsubishi Electric Top Three
The "Global Enterprise Intelligent Manufacturing Patent Ranking (TOP100)" list recently released by Zhihuiya, a technology innovation intelligence SaaS service provider, shows that American and Japanese companies have obvious advantages in the field of intelligent manufacturing. Among them, IBM, Siemens and Mitsubishi
[Embedded]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号