1756-IF16 input range conversion

HunterM93

Member
Join Date
May 2019
Location
Arkansas
Posts
20
On one of my machines there is a 1756-IF16 analog input module in use. A gas detector that has a 4-20mA output is to be wired to it. When we checked the range in Studio5000 the scale of the numbers goes from -32768 to positive 32768 from 0 - 20mA.

Does anybody have a good way to go about converting the negative side of the range to a positive so that i can do scaling and alarms. I was hoping to get it to read 0 at 0mA and around 65536 at 20mA after any conversion is done. Ive played around with some logic to try and scale it but have been unsuccessful.
 
Not familiar with AB, but why not copy the analogue input register to a standard register and add 32768 to that value, then if it was at 0mA it would be 0(-32768+32768).
 
Thanks for the reply Jonnie_R. I deal with so much on a day to day basis here that I tend to overthink the simple stuff. I read your reply and couldn't believe I didnt think of that.
 
Find the SCP add on instruction and add it to your project (if it is not already in use in your code). It does exactly what you want. This instruction was left out of the base instruction set for RSLogix/Studio 5000 but it is probably the most useful instruction for any PLC that uses analog I/O.

You could use a CPT block to do exactly the same thing, but the SCP is so much easier to work with that it is well worth the effort to add it.
 
You can change the scaling on the IO module to something easier to work with.


I like to set them up to read engineering units directly, whatever the transducer measuring range is, is what I set the module to produce.


For example, if the measuring device has a 4-20mA signal representing -20 to +125 whatever units, you scale the module to give you -20 to +125 for the 4 to 20mA input.

No need for any scaling in the PLC, the module does it for you.

You need to set the Comm Format "Float Data" to do this.
 
Well i figured out where all my confusion started. Whoever added the card into Logix had set it us as a Data Format Interger instead of Float. That made it where the scaling and Egineering units and whatnot could not be adjusted. I deleted the card and added it correctly and now i have it scaled the way i needed it.

Daba i didnt see your reply until i posted this which is what i had to do.

Thanks for all yalls input.
 

Similar Topics

Good Evening , I have a 1756-IF16 Analog Input card already installed in a working ControlLogix Rack. I need to add another Analog 4-20 ma...
Replies
1
Views
2,173
Hello folks, If I am using the 1756-IF16 Analog Input card to sense a 0 - 20mA input signal, in RSLogix 500, under the Module Properties -> High...
Replies
10
Views
7,209
Is there a way to see what the actual field signal value is going into each channel of the Analog Input I/O card 1756-IF16? In other words, I...
Replies
4
Views
3,645
I have a 1756-IF16 Analog Input Module. It is setup for Differential Mode. I am trying to read the 4ma to 20ma signal from a flow meter. I am...
Replies
49
Views
11,842
I have a controllogix Plc with a 1756-IF16 analog input card. There are 8 input cables and they only have 2 wires. Then there is a jumper over to...
Replies
3
Views
3,804
Back
Top Bottom