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?

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...