OSCAT Forum

oscat.lib => oscat.lib fuer CoDeSys 3 => Thema gestartet von: Vinnie_VdB am 27. Oktober 2013, 21:38:12

Titel: A/D Convertor
Beitrag von: Vinnie_VdB am 27. Oktober 2013, 21:38:12
(Sorry for my English, my German isn't strong enough in writing)

I am looking for a way on how I can convert an INT value to a BOOL (AD convertor) that can replace following Siemens module:
http://shop.sigstu.com/out/media/5102.%20E_10.98.pdf

Can somebody help on on the right track how to make this possible?
In short, I read the room temperature, bring this to a P simple P controller and get an INT value out. The set point is 25°C, the bandwidth for the P is 1°C.

All help is appriciated!
Titel: Re: A/D Convertor
Beitrag von: schwa226 am 28. Oktober 2013, 15:45:33
http://www.markallen.com/teaching/ucsd/147a/lectures/lecture5/5.php

LM339 as example
Titel: Re: A/D Convertor
Beitrag von: Vinnie_VdB am 28. Oktober 2013, 17:16:18
Thank you for the answer but I am looking for a CODESYS function block that could simulate this hardware module so that I can integrate this in my Schneider M258.

Thank you already