Shaynet

NT20S --> C200HS --> Water tank level sensor

6 posts in this topic

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:

  1. Checked I have voltage at the sensor
  2. I open and cleaned where the water flows into the unit
  3. I can see readings on CX programmer (but they seem to fluctuate/change every other second)
  4. 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

 

 

20220424_172115.jpg

20220424_174912.jpg

20220424_174943.jpg

Share this post


Link to post
Share on other sites

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 by photovoltaic

Share this post


Link to post
Share on other sites

Thanks @photovoltaic I'll try those two things and upload the full program in the morning. I should have done that originally.

 

 

Share this post


Link to post
Share on other sites

Looks fine to me. Nothing is writing near D1600. Did you try putting the PLC in program mode and manually setting a value?

Share this post


Link to post
Share on other sites

Not yet, I'm a weekend warrior on this stuff, so will need wait until Saturday to test that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now