当前位置:网站首页>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"--->选择"函数&
边栏推荐
- Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
- The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
- 韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
- Deep learning 7 transformer series instance segmentation mask2former
- 自动控制原理快速入门+理解
- 潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)
- ML:SHAP值的简介、原理、使用方法、经典案例之详细攻略
- 毕业季-个人总结
- Data Lake (13): spark and iceberg integrate DDL operations
- Ali was laid off employees, looking for a job n day, headhunters came bad news
猜你喜欢
Summary of common problems in development
LVGL 8.2 LED
LVGL 8.2 text shadow
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程
内存管理总结
Chapter 17 process memory
(1)性能调优的标准和做好调优的正确姿势-有性能问题,上HeapDump性能社区!
Sqlserver functions, creation and use of stored procedures
曝光一下阿里的工资待遇和职位级别
随机推荐
Map of mL: Based on Boston house price regression prediction data set, an interpretable case is realized by using the map value to the LIR linear regression model
程序员自曝接私活:10个月时间接了30多个单子,纯收入40万
实战解惑 | OpenCV中如何提取不规则ROI区域
Wt588f02b-8s (c006_03) single chip voice IC scheme enables smart doorbell design to reduce cost and increase efficiency
(1)性能调优的标准和做好调优的正确姿势-有性能问题,上HeapDump性能社区!
Node mongodb installation
C language programming
(1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
阿里被裁员工,找工作第N天,猎头又传来噩耗...
Digi重启XBee-Pro S2C生产,有些差别需要注意
Expose Ali's salary and position level
92. (cesium chapter) cesium building layering
Sqlserver functions, creation and use of stored procedures
曝光一下阿里的工资待遇和职位级别
数据埋点的一些问题和想法
开发中常见问题总结
局部修改-渐进型开发
关于miui12.5 红米k20pro用au或者povo2出现问题的解决办法
【C语言】指针笔试题
[information retrieval] link analysis