Shaynet Posted April 24, 2022 Report Posted April 24, 2022 I'm having a little trouble fault-finding my tank level sensor. It has worked in the past, but I can't seem to figure it out. Noting I'm a total newbie with all this... Here's what I've done so far: Checked I have voltage at the sensor I open and cleaned where the water flows into the unit I can see readings on CX programmer (but they seem to fluctuate/change every other second) I get nothing on the NT20S screen I've attached photos of the sensor/code / nt screen config. Any pointers/thoughts/ideas are more than welcome. Happy to share any more detail that might be useful. Cheers Shayne Quote
photovoltaic Posted April 24, 2022 Report Posted April 24, 2022 (edited) Share the CX-Programmer project please. I think something else is interfering with D1600. A quick test of this would be to duplicate line 20 and change the addresses to something far away from anything else address wise. Reason I say this is because 69 divided by 40 is not 327681. Some instructions can effect multiple words of data. Edit: Just looked up DIV(33) and it includes a remainder so that's fine Another quick test would be putting the PLC in program mode and manually changing D1600. See if the value is displayed. Edited April 24, 2022 by photovoltaic Quote
Shaynet Posted April 25, 2022 Author Report Posted April 25, 2022 Thanks @photovoltaic I'll try those two things and upload the full program in the morning. I should have done that originally. Quote
Shaynet Posted April 27, 2022 Author Report Posted April 27, 2022 CX file attached @photovoltaic Untitled.cxp Quote
photovoltaic Posted April 27, 2022 Report Posted April 27, 2022 Looks fine to me. Nothing is writing near D1600. Did you try putting the PLC in program mode and manually setting a value? Quote
Shaynet Posted April 27, 2022 Author Report Posted April 27, 2022 Not yet, I'm a weekend warrior on this stuff, so will need wait until Saturday to test that. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.