当前位置:网站首页>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 :
边栏推荐
- Electron official docs series: Processes in Electron
- OPLG: 新一代云原生可观测最佳实践
- System tasks (display / print class) in Verilog - $display, $write, $strobe, $monitor
- 外观模式(Facade)
- 倍福PLC通过MC_ReadParameter读取NC轴的配置参数
- Electron official docs series: Development
- 2. Introduction to parallel interface, protocol and related chips (8080, 8060)
- MySQL数据库讲解(五)
- Appearance mode (facade)
- scrapy——爬取漫画自定义存储路径下载到本地
猜你喜欢

倍福Ethercat模块网络诊断和硬件排查的基本方法

C语言:练习题二

倍福CX5130换卡对已有的授权文件转移操作

Explain C language 11 in detail (C language series)

Design of four kinds of linear phase FIR filters -- complete set of Matlab source code

C language: Exercise 2

利用scrapy爬取句子迷网站优美句子存储到本地(喜欢摘抄的人有福了!)

倍福PLC通过程序获取系统时间、本地时间、当前时区以及系统时间时区转换

装饰器(Decorator)

Prototype
随机推荐
UVa11582 [快速幂]Colossal Fibonacci Numbers!
Don't mess with full_ Case and parallel_ CASE
QT . Establishment and use of pri
IDC报告:百度智能云AI Cloud市场份额连续六次第一
倍福PLC通过MC_ReadParameter读取NC轴的配置参数
Processing polyhedron change
Electron official docs series: Distribution
May product upgrade observation station
Deep parsing MySQL binlog
code force Party Lemonade
倍福PLC基于NT_Shutdown实现控制器自动关机重启
F - Charm Bracelet
Map value
PostGIS geographic function
C structure: definition and example
C - Common Subsequence
sql 将数据表b字段值赋值到数据表a中某一列
D - skiing
Arcpy -- use of insertlayer() function: adding layers to map documents
Typescript