I'm working with Wago 750-841 PLC and I see a lot of functions which have a output "Real" and most analog output modules have "word" as format. This is maybe a stupid question but how can I convert easily REAL to WORD with one function?
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have the little freeware library AnalogEA.ziphttp://www.geisler-controls.de. The POUs FB_AnalogOut reesp. FB_AnalogOut2 are doing the conversion from REAL to WORD.
Unfortunately, the documentation is in German only, but the sources are included into the download package. So it will be not too difficult to understand the working.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
look at REAL_TO_WORD function, you can convert to almost all directions.
be aware to first scale the output before conversion.
and have a look at rolf or at w www.oscat.de w you will find a lot of examples here.
any questions just ask them here you found a great spot.
more difficult can be asked at w www.plcs.net w
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm working with Wago 750-841 PLC and I see a lot of functions which have a output "Real" and most analog output modules have "word" as format. This is maybe a stupid question but how can I convert easily REAL to WORD with one function?
thanks
Hi,
I have the little freeware library AnalogEA.ziphttp://www.geisler-controls.de. The POUs FB_AnalogOut reesp. FB_AnalogOut2 are doing the conversion from REAL to WORD.
Unfortunately, the documentation is in German only, but the sources are included into the download package. So it will be not too difficult to understand the working.
Regards
look at REAL_TO_WORD function, you can convert to almost all directions.
be aware to first scale the output before conversion.
and have a look at rolf or at w www.oscat.de w you will find a lot of examples here.
any questions just ask them here you found a great spot.
more difficult can be asked at w www.plcs.net w