# Get Rabbit device Voltage

**URL:** <https://forums.digi.com/t/get-rabbit-device-voltage/10554>\
**Category:** Rabbit\
**Created:** [December 7, 2010, 8:14am UTC](https://forums.digi.com/t/get-rabbit-device-voltage/10554 "2010-12-07T08:14:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![evahnce](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@evahnce](https://forums.digi.com/u/evahnce)\
**Post date:** [December 7, 2010, 8:14am UTC](https://forums.digi.com/t/get-rabbit-device-voltage/10554/1 "2010-12-07T08:14:20Z")

</div>

Hi Guys. can anyone asist me on how to get/check for the current voltage in a rabbit device??

I am using Rabbit RCM4000 BL4S110

---

<div class="post-metadata">

**Author:** ![evahnce](https://avatars.discourse-cdn.com/v4/letter/e/e8c25b/32.png) [@evahnce](https://forums.digi.com/u/evahnce)\
**Post date:** [August 11, 2011, 9:40am UTC](https://forums.digi.com/t/get-rabbit-device-voltage/10554/2 "2011-08-11T09:40:19Z")

</div>

Hey, jus saw this post. i got the solution so incase anyone needs it

get a transducer (linear/ ratio converter) to maximum 5 volts. feed more than that to the plc and it will blow.

then connect the voltage from the transducer to Anlgx and Ground.

float voltage;

//after brdinit();

anaInConfig(7, SE0\_MODE); // use channel 7 as analog input. can use any. i chose 7

voltage = anaInVolts(7, 4);

//sprintf(mystruct.voltagestate, " %.4g", (voltage \* 9.6) );

" %.4g", (voltage \* 9.6) \>\> voltage result in volts.
