Jump to content

Recommended Posts

Posted

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


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

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

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
×
×
  • Create New...