当前位置:网站首页>罗克韦尔AB PLC RSLogix5000中计数器指令使用方法介绍
罗克韦尔AB PLC RSLogix5000中计数器指令使用方法介绍
2022-08-10 21:42:00 【AAA_自动化工程师】
罗克韦尔AB PLC RSLogix5000中计数器指令使用方法介绍
计数器指令:
增计数器指令CTU
管脚功能说明如下:
PRE:预设值,即目标计数值
ACC:累加值,即当前计数值
CU:增计数使能,梯级条件成立时置位,累加值加1
DN:完成位,累加值大于等于预设值时,完成位置1
CTU是输出指令,位于梯级的右边,当梯级有一个正向脉冲时,指令使能,并产生加1的操作,常用于计数。
时序图如下所示:
举例:
如下图所示,每检测到输入信号的一个上升沿,则计数值加1,当等于预设值时,计数器完成位DN被置ON,当收到复位信号时,计数器复位
注意:计数器指令与定时器指令有一个很大的不同,即计数器计数只跟梯级条件有关,不管状态
边栏推荐
- LeetCode Daily Question (1573. Number of Ways to Split a String)
- Live Classroom System 08 Supplement - Tencent Cloud Object Storage and Course Classification Management
- Labelme-5.0.1 version edit polygon crash
- LeetCode-498-对角线遍历
- 【SQL刷题】Day3----SQL必会的常用函数专项练习
- 地理探测器Geodetector软件的下载、应用与结果解读
- Exploration and practice of the "zero trust" protection and data security governance system of the ransomware virus of Meichuang Technology
- Likou 221 questions, the largest square
- HighTec快捷键(Keys)设置位置
- 企业云存储日常运行维护实践经验分享
猜你喜欢
随机推荐
LeetCode-402-移掉K位数字
智能方案设计——智能跳绳方案
[Maui official version] Create a cross-platform Maui program, as well as the implementation and demonstration of dependency injection and MVVM two-way binding
These must-know JVM knowledge, I have sorted it out with a mind map
ENVI感兴趣区ROI文件由XML格式转为ROI格式
什么是Jmeter?Jmeter使用的原理步骤是什么?
力扣215题,数组中的第K个最大元素
unusual understanding
Play RT-THREAD of doxygen
Shell编程之条件语句(二)
Interpretation of the paper (g-U-Nets) "Graph U-Nets"
LeetCode-402 - Remove K digits
翻译科技论文,俄译中怎样效果好
HGAME 2022 Week2 writeup by pankas
RTL8721DM 双频WIFI + 蓝牙5.0 物联网(IoT)应用
关于 DataFrame: 处理时间
How to translate financial annual report, why choose a professional translation company?
FPGA - Memory Resources of 7 Series FPGA Internal Structure -03- Built-in Error Correction Function
camera preview process --- from HAL to OEM
What are the concepts, purposes, processes, and testing methods of interface testing?