当前位置:网站首页>PLC模拟量输入 模拟量转换FC S_ITR (CODESYS平台)
PLC模拟量输入 模拟量转换FC S_ITR (CODESYS平台)
2022-07-04 13:23:00 【RXXW_Dor】
本篇文章一步步和大家讲解如何在CODESYS里完成模拟量采集(以温度采集为例),博途和其它PLC的模拟量采集可以参看下面这篇博文:
PLC模拟量输入 模拟量转换FC S_ITR_RXXW_Dor的博客-CSDN博客_s_itr模拟量采集、工业现场应用特别广泛、大部分传感器的测量值和输出信号都是线型关系,所以我们可以利用线性函数直接转换,不多说,直接上图和代码S_ITRScale Integer to RealThe formula is as follows:Ov = [(OSH - OSL) * (Iv - ISL) / (ISH - ISL)] + OSLwith ISL <= Iv <= ISHand OSL <= Ov <= OSHOv = o.........https://blog.csdn.net/m0_46143730/article/details/121347697 首先看下CODESYS里如何构建模拟量采集FC (S_ITR),步骤: "Application"点击右键--->"添加对象"--->"POU"--->选择"函数&
边栏推荐
猜你喜欢
Ranking list of databases in July: mongodb and Oracle scores fell the most
Free, easy-to-use, powerful lightweight note taking software evaluation: drafts, apple memo, flomo, keep, flowus, agenda, sidenote, workflow
现代控制理论入门+理解
LVGL 8.2 Line wrap, recoloring and scrolling
Why do domestic mobile phone users choose iPhone when changing a mobile phone?
RK1126平台OSD的实现支持颜色半透明度多通道支持中文
scratch古堡历险记 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
SqlServer函数,存储过程的创建和使用
Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
Test evaluation of software testing
随机推荐
Xcode abnormal pictures cause IPA packet size problems
曝光一下阿里的工资待遇和职位级别
利用Shap值进行异常值检测
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
阿里被裁员工,找工作第N天,猎头又传来噩耗...
Data center concept
关于miui12.5 红米k20pro用au或者povo2出现问题的解决办法
5G电视难成竞争优势,视频资源成中国广电最后武器
Digi XBee 3 RF: 4个协议,3种封装,10个大功能
Ml: introduction, principle, use method and detailed introduction of classic cases of snap value
Digi XBee 3 rf: 4 protocols, 3 packages, 10 major functions
LVGL 8.2 keyboard
数据埋点的一些问题和想法
One architecture to complete all tasks - transformer architecture is unifying the AI Jianghu on its own
LVGL 8.2 Line wrap, recoloring and scrolling
【MySQL从入门到精通】【高级篇】(四)MySQL权限管理与控制
Transplant tinyplay for imx6q development board QT system
LVGL 8.2 LED
flink sql-client. SH tutorial
LVGL 8.2 text shadow