need help please, converting 4-20 to 0-100% with ADC

kartika

Member
Join Date
Jul 2011
Location
Lampung
Posts
31
need your help, please..
i wanna know, how an ADC can represent a value of a sensor...?
please tell me with this condition, if i have a sensor 4-20mA then i want to represent the value to 0% up to 100%, and my ADC is 12bit resolution..
really appreciate with ur help...
thank you
 
12bit resolution is 0-4095.

Scaling Factor = (Scaled Max-Scaled Min)/(Raw max-raw Min)

Scaling Factor = (100-0)/(4095-0)

Scaling Factor = (100)/(4095)

Scaling Factor = .0244

Scaled Value = Scaling Factor*Raw Data

100 = .0244*4095
 
Last edited:
thanks mickey, i have read from an example program, its using pressure transmitter, range 0-50kgf/cm2, it will be converted into analog input with range 0-10volt, read in Analog input with BCD Format
the writer write that 0 kgf/cm2 is 0 in BCD, and50kgf/cm2 is 5530 in BCD, he use Analog input omron C200H-AD002H, which is the digital data is in 12 bit binary or 4 BCD format, and the resolution 1/4000,
its store data in 12 bit binary, is it means that the ADC is 12bit?
and how to convert 50kfg/cm2 become 5530 in BCD format
Kind regards
tq
 

Similar Topics

Hello, I've got a program from a customer for a Micrologix, but can't open it without upgrading to a newer version of RSlogix 500. Could someone...
Replies
3
Views
1,015
Hello guys, Just wondering if someone can help me please I have a timer when gets enable I move .acc value of that timer to another tag to store...
Replies
4
Views
1,692
I'm an electrician and I started to learn programming. My dream is to start programming for Siemens. I spoke with a company more about a job and...
Replies
17
Views
4,725
dear experts I'm using Siemens plc s7 1200 14c dc/dc/relay and it's voltage level is 24v and i need to use sensors with less than that level so...
Replies
11
Views
1,885
Can anyone please give me a link to click on that shows an example of RSLogix 500, 5000 and Allen Bradley wonderware, I have never even seen any...
Replies
2
Views
1,747
Back
Top Bottom