Scaling Analog input on PLC 5

mjggjm12

Member
Join Date
Jul 2013
Location
NH
Posts
92
I am trying to scale a Pressure transducer and can't figure it out. It is a 0-300psi. 4-20 milliamp signal and the card has a range of 0-4095. Card is a 1771-IFE. Thank you in advance for any help.
 
Within the 1771-IFE configuration applet, for the channel you have landed the transducer on, set:
Voltage/Current Range: 1 to 5 volts DC|4 to 20 mA
Raw Min = 0
Raw max = 300
 
Within the 1771-IFE configuration applet, for the channel you have landed the transducer on, set:
Voltage/Current Range: 1 to 5 volts DC|4 to 20 mA
Raw Min = 0
Raw max = 300

You will lose resolution that way.

(Raw Data*300)/ 4095= engineering units

Or Raw Data * .07326 = Engineering Units
 
You will lose resolution that way.

(Raw Data*300)/ 4095= engineering units

Or Raw Data * .07326 = Engineering Units
Thanks for the replies.
How do I get the raw data from the input into the MUL instruction. The number in the integer file the BTR puts it into is different than the raw data on the card. BTR puts the data in N10:4. When I multiply what is in N10:4 by .07326 I get 132 and I have 50 PSI applied to the transducer.
 
Last edited:
Post your program so we can see how the card is configured. If you have more then one card tell us which one it is and tell us which channel it is.

Its .rsp file , zip it first.

If the card is configured for 0-4095 and your analog input is scaled 4-20ma = 0-300
then a 50 PSI input should give you about 683 counts (raw data value)
The card may not be configured for 0-4095.

Have you verified the milliamp signal is correct? Can you tell us what it is ? And what the raw data value is (N10:4)
 
Last edited:
Mickey,
I don't think you'll lose resolution...maybe granularity...
I have multiple similar setups running pretty accurately for many years.
1771-IFE/C 12 bit (0-4095)
4-20 mA -> 0-10000 PSI
Raw Min = 0
Raw Max = 9999
Works like a charm and is very accurate.
 
OK,
I figured out what I was doing wrong. The raw data on the card was in BCD and the N10: file was in two's compliment binary. I could set the N10: data table into BCD it read the same as the Analog card. But when I tried to Pull the data from the N10: into my multiply instruction it was still shoeing up in the two's complimentary binary. So I changed the input card to two's complimentary binary set min to 0 and max to 4095. Now Analog card and N10: file had the same info. I put in multiply function for N10:4 x .07326 and it worked great.
I also tried setting the min to 0 and max to 300 which did work but I chose to use the math instead for a learning experience and for better accuracy.
Thank you for all the help and I am sure I will be back again with more questions.
 

Similar Topics

Dear all Iam using three load cells connected in parallel to calibrate the weight of a product but in don't have a weighting module in my...
Replies
4
Views
3,462
Hello everyone, I have a plc 5 input card receiving an input from a conductivity Transmitter where 0ma=0 uhms and 20ma= 20,000 uhms The raw min...
Replies
8
Views
3,610
Hello everyone, I have a plc 5 input card receiving an input from a conductivity Transmitter where 0ma=0 uhms and 20ma= 20,000 uhms The raw min...
Replies
2
Views
1,827
Hello! I am new at PLC programming. I am using TM221CE16R PLC with TM3AI8 analog input module and SoMachine Basic v1.6. I am trying to scale...
Replies
8
Views
7,047
Hello, I have a Micrologix 1400 PLC and using RSLogix 500. Using a Multi Ranger Ultra Sonic Level Sensor and the input is moved to N7:11, then...
Replies
15
Views
3,860
Back
Top Bottom