当前位置:网站首页>PLC Analog input analog conversion FC s_ ITR (CoDeSys platform)

PLC Analog input analog conversion FC s_ ITR (CoDeSys platform)

2022-07-04 14:46:00 RXXW_ Dor

This article explains step by step how to CODESYS Analog quantity acquisition is completed in ( Take temperature acquisition as an example ), Botu and others PLC For analog quantity collection, please refer to the following blog post :

PLC Analog input Analog quantity conversion FC S_ITR_RXXW_Dor The blog of -CSDN Blog _s_itr Analog acquisition 、 It is widely used in industrial field 、 The measured value and output signal of most sensors are linear , So we can use linear function to directly convert , Not much to say , Direct drawing and code 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  Take a look first CODESYS How to build analog quantity acquisition in FC (S_ITR), step :  "Application" Click on the right --->" Add object "--->"POU"---> choice " function &

原网站

版权声明
本文为[RXXW_ Dor]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041323534944.html