Reading analog sensor measurement from Xbee to PLC

Hi everyone!

In my project, I will measuring water level and send the data from XBee remote to the XBee base, Now, since I m using PLC and would like to get the readings in my PLC, do I have to convert the analog data received in XBee base from PWM into analog output? or there is a better way of doing the whole thing?

Please advice…

Thanks and regards,

Hassan

If you are writing the code for the PLC completely, then you can simply read the ADC data using the XBee’s API interface. Otherwise you really should use an external processor to perform the conversion and format the data in a way that the PLC will understand.