当前位置:网站首页>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"--->选择"函数&
边栏推荐
猜你喜欢
现代控制理论入门+理解
Ali was laid off employees, looking for a job n day, headhunters came bad news
如何配和弦
[C language] Pointer written test questions
scratch古堡历险记 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
Scratch Castle Adventure Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
Node mongodb installation
Leetcode T48: rotating images
STM32F1与STM32CubeIDE编程实例-MAX7219驱动8位7段数码管(基于GPIO)
codeforce:C. Sum of Substrings【边界处理 + 贡献思维 + 灵光一现】
随机推荐
软件测试之测试评估
Leetcode 61: rotating linked list
SqlServer函数,存储过程的创建和使用
【算法leetcode】面试题 04.03. 特定深度节点链表(多语言实现)
【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程
LVGL 8.2 Sorting a List using up and down buttons
Codeforce:c. sum of substrings
LVGL 8.2 List
[information retrieval] experiment of classification and clustering
各大主流编程语言性能PK,结果出乎意料
No servers available for service: xxxx
The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
Yyds dry goods inventory # solve the real problem of famous enterprises: continuous maximum sum
MySQL stored procedure exercise
One architecture to complete all tasks - transformer architecture is unifying the AI Jianghu on its own
Test evaluation of software testing
阿里被裁员工,找工作第N天,猎头又传来噩耗...
LVGL 8.2 LED
金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
Ml: introduction, principle, use method and detailed introduction of classic cases of snap value