Modicon 875-002 analog input roll over to 9999 at 3.999 mA

Be sure to check the first reg where the "math answer lands" when the 9999 appears the middle node on the right should be on and this should be a dead give away.
 
This is an analog input, read only register 30009 to be exact. No math involved. The modicon hardware returns 9999 if the analog input is less than 4mA.
 
If you can cut and paste a copy of that portion of the logic I can tell you what is going on. I need to see what kind of function block is being used for the 30009 value. It can't be hanging out there all alone. Send it to me and we'll solve this issue.
T
I dug out an old manual and an old laptop that has NXT on it so resources are at hand!! :)
 
I appreciate your willingness to help, I really do. What you seem to not be understanding is that this is an input address. Its value is dictated by the hardware response to the applied input signal, not by anything done with the software. It is an analog input. 3009 is referenced in only two places in the program, both shown here.


The analog input is scaled using the logic found here:

A052008-01.JPG


In functions exactly as desired, multiplying the value of the anlaog input by a scaling constant and placing the result in registers 40500 and 40501. Then dividing the contents of 40500 and 40501 by the constant 4095 to complete the scaling.


In the event there is a transducer failure then the signal at the input will drop to 0 mA. This is desired, and it will produce the desired range error. This is the logic that detects that. Nothing complex there.

A052008-02.JPG


The problem is that the hardware does not deliver a value into register 30009 that I can use to differentiate between 0mA (bad) and 3.999 mA (still good). Since no pressure transducer is perfectly stable it is not reasonable to expect it to always deliver exactly 4.0000 milliamps at 0 pressure. And no analog input is perfectly stable either, the LSB will always be changing, so with an exactly 4.0 mA input (even one supplied by a fluke process calibrator) the input still bounces between out of range and in range. The same problem exists on three different systems (and apparently others from the thread responses), so its systemic to the analog input design.

The solution is to adjust the zero offset of the analog instrument by tweaking the zero pot on the transducer, so that even when there is no pressure the transducer still reports a small pressure of 1-2 bar, but that throws off the accuracy at the low end of the process, which is bad, its not a solution, its a kludge.
 
Last edited:

Similar Topics

Does anyone have a copy of the datasheet for a Modicon B875-101 analog input module? I need to hookup a replacement sensor and don't have any...
Replies
3
Views
3,235
Everything was working fine, but suddenly CPU went into error mode, and the ERR and TER LEDs lit up. Now I can't download or connect with the PLC...
Replies
0
Views
47
Hello All, Was hoping I could get a little help with Modicon ladder logic. This is the first time I have seen Modicon logic and currently trying...
Replies
6
Views
277
I have a 170AAO92100 card that I am interested in using as a 10 volt output. Is there setup that I have to do in order to change output or simply...
Replies
0
Views
87
Hi, Seeking consultation on an implementation matter, and have a question about Modicon Compact 984 communication through RS485: Three Modicon...
Replies
4
Views
231
Back
Top Bottom