当前位置:网站首页>Beifu realizes the control of time slice size and quantity through CTU and ton
Beifu realizes the control of time slice size and quantity through CTU and ton
2022-06-26 13:15:00 【Dusk and starry sky】
In programming , It takes time , That is, jump after the timing of each time slice , You also need to set the number of time slices , for example 4 Time slice , Then poll for a certain time . This article is based on CTU Counting module and TON To implement .
1.1. Biff Beckhoff
1.1.1. CTU Introduce
That is, the rising edge of the input signal is not caught and counted once , Count value reached PV Then output Q,SV As the current count value ,Reset Reset .
1.1.1. TON Introduce
TON The usage of is as follows 
1.1.2. actual PLC Program
The implementation principle is to use two TON Realize pulse flicker by interlocking , And then use CTU Record the times and reset to zero when the upper limit is reached , The procedure is as follows :
边栏推荐
猜你喜欢

MariaDB study notes

Bridge mode

Processsing mouse interactive learning

适配器模式(Adapter)

桥接模式(Bridge)

What are the common categories of software testing?

Beifu PLC passes MC_ Readparameter read configuration parameters of NC axis

scrapy——爬取漫画自定义存储路径下载到本地

Composite mode
![Vivado error code [drc pdcn-2721] resolution](/img/de/ce1a72f072254ae227fdcb307641a2.png)
Vivado error code [drc pdcn-2721] resolution
随机推荐
Processsing mouse interactive learning
Decorator
Electron official docs series: Best Practices
Do you know the limitations of automated testing?
倍福TwinCAT通过Emergency Scan快速检测物理连接和EtherCAT网络
mariadb学习笔记
Electron official docs series: Development
HDU1724[辛普森公式求积分]Ellipse
Processing polyhedron change
Is it safe for the head teacher to open a stock account and open an account for financial management?
POJ 3070 Fibonacci
Basic configuration and test of Beifu twincat3 NCI in NC axis interface
SQL assigns the field value of data table B to a column in data table a
倍福CX5130换卡对已有的授权文件转移操作
E - Apple Catching
8. [STM32] timer (TIM) -- interrupt, PWM, input capture experiment (proficient in timer)
D - 滑雪
Basic principle and application routine of Beifu PLC rotary cutting
C structure: definition and example
Hdu1724[Simpson formula for integral]ellipse