当前位置:网站首页>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"--->选择"函数&
边栏推荐
- 韩国AI团队抄袭震动学界!1个导师带51个学生,还是抄袭惯犯
- 金额计算用 BigDecimal 就万无一失了?看看这五个坑吧~~
- WT588F02B-8S(C006_03)单芯片语音ic方案为智能门铃设计降本增效赋能
- ML之shap:基于boston波士顿房价回归预测数据集利用shap值对XGBoost模型实现可解释性案例
- 【MySQL从入门到精通】【高级篇】(四)MySQL权限管理与控制
- C language set operation
- Solutions aux problèmes d'utilisation de l'au ou du povo 2 dans le riz rouge k20pro MIUI 12.5
- LVGL 8.2 List
- 【MySQL从入门到精通】【高级篇】(五)MySQL的SQL语句执行流程
- The failure rate is as high as 80%. What are the challenges on the way of enterprise digital transformation?
猜你喜欢
Intelligence d'affaires bi analyse financière, analyse financière au sens étroit et analyse financière au sens large sont - ils différents?
[MySQL from introduction to proficiency] [advanced chapter] (IV) MySQL permission management and control
如何搭建一支搞垮公司的技术团队?
leecode学习笔记-约瑟夫问题
WT588F02B-8S(C006_03)单芯片语音ic方案为智能门铃设计降本增效赋能
5G电视难成竞争优势,视频资源成中国广电最后武器
Leetcode 61: rotating linked list
Codeforce:c. sum of substrings
10. (map data) offline terrain data processing (for cesium)
Digi重启XBee-Pro S2C生产,有些差别需要注意
随机推荐
The implementation of OSD on rk1126 platform supports color translucency and multi-channel support for Chinese
LVLG 8.2 circular scrolling animation of a label
各大主流编程语言性能PK,结果出乎意料
曝光一下阿里的工资待遇和职位级别
Expose Ali's salary and position level
(1)性能调优的标准和做好调优的正确姿势-有性能问题,上HeapDump性能社区!
Real time data warehouse
如何搭建一支搞垮公司的技术团队?
Programmer turns direction
尊重他人的行为
Explain of SQL optimization
Comment configurer un accord
数据湖(十三):Spark与Iceberg整合DDL操作
如何配和弦
Why do domestic mobile phone users choose iPhone when changing a mobile phone?
电商系统中红包活动设计
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
Industrial Internet has greater development potential and more industry scenarios
【算法leetcode】面试题 04.03. 特定深度节点链表(多语言实现)
Deep learning 7 transformer series instance segmentation mask2former