Improper 4-20 mA Reading on a 1746-NO4I

JKS

Member
Join Date
Dec 2014
Location
Portsmouth, NH
Posts
56
Greetings;

We have a flow meter measuring our Process Water flow, and it sends a 4-20 mA signal to a SLC 5/05 through a 1746-NI8. The head engineer wanted to connect a data logger to it to gather some readings, so I simply wrote a move that passed from the Input signal on the NI8 to an Output on a 1746-NO4I. Should be easy-peazy, right?

Of course not. While I have ~9.5 mA signal coming into the NI8, I have ~5.5 mA signal coming from the NO4I. From what I can see, everything is configured correctly. Tried moving the output, but no-go - more of the same. Anyone have any ideas as to where I should be starting when I get back in tomorrow morning?

Any ideas are greatly appreciated! Thank you much for your time!

- Jeff
 
Double check the configuration words. Sometimes when dealing with these, I start a new RSLogix500 file and use the Adv. Config. button to create the configuration words for me and then compare the numbers it generates with the "real life" machine.

At one time I had a comment database in MS Excel for all the analog cards that use configuration so I could type in the base address and get comments created for me to import, but I left that behind at a previous employer. It is really sweet when every bit of every configuration detail is commented. Somewhere, some day, someone will be grinning when they drill into one of those files and find all my efforts to tell them exactly what is going on.

The NI8 card can be configured for a number of different input types and is probably not scaled the same as the NO4I. Maybe it is scaled 0-20mA, and your logic "thinks" it is 4-20mA.

Another approach would be to scale the input to milliamps in the SLC, and then scale it back to raw for the output.

Or do none of this, and just wire the data logger in series with the input.
 
Last edited:
Are you sure you are moving the raw input and not a value that has been scaled/manipulated to reflect the 16 mA of the transmitter range? With it being exactly 4 mA different that would be the first thing I would check. Did you check the difference in mA at different flowrates? Again if it is exactly 4 mA I would think it would point toward some sort of scaling problem.
 
Before you starting questioning your code, check what the output is connecting to. Is its input resistance low/high enough for the 4-20mA output to drive. Do you have an offset caused by different 0V voltages between the PLC and Data Logger. Do you have an active or passive output, is your loop driving voltage correct. You are far more likely to find the error in the 4-20mA loop than in your coding.
 
The value is unscaled, simply: Mov: I:5.1 Dest: O:12.2, as can be seen in the screen grab (Rung 0007):

2vis412.jpg


I've also attached the full program (zipped, of course), but you will find the associated code in Process TK (LAD 14), Rung 0007.

I've looked through the config, but not completely sure as to what I'm looking for, so... still looking. Wanted to post a reply before the complete day was shot...

Thanks much for your help guys - it's very much appreciated! Hopefully I can get a handle on this...

- Jeff
 
I quickly looked at the file. The NI8 card in slot 5 has all channels configured for engineering units.

So, 4mA will show up at the input word as 4000, 20mA will be 20000. This is not going to match up with the way the output card scaling works.

Change your MOV to a SCP and use 4000 and 20000 for input min and max, and ...well I would have to look up what the output card calls for 4 and 20mA...I work with too many Micrologix now and can't trust my memory on the SLC card details...
 
Last edited:
Ok, I'm seeing that for the Input card. I'll look up what it wants for the Output.

But, wouldn't I need to rescale it before sending to the output? Or am I over thinking things?

-Jeff
 
Yes, you need to rescale it from 4000 to 20000 as whatever represents 4 and 20mA in a 1746-NO4I
EDIT:
Which is 6,242 to 31,208 according to the manual I just found.
 
Last edited:

Similar Topics

Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
177
Hi all, i have 8 CJ2m plc units that show different numbers on the plc display and i am stuck on reading the info. my unit has an ip address of...
Replies
3
Views
114
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
98
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
253
Dear all, I don't know why setup of password became challenging and weird. After setting up the password and try to upload the ladder from the plc...
Replies
3
Views
181
Back
Top Bottom