Float Switch Controlling Output

Get help and insight.
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Float Switch Controlling Output

Post by AndrewsBrewing »

We are trying to kill elements if the fluid level gets below the float switch for any reason. We are having difficulty getting this to work.

Ladder Logic:

The above works fine if we do this.
IF DIN1 (Float Switch) AND PROC2 (process where we are using heating elements) THEN OUT5 (heating element)

It does not work correctly when we do this.
IF DIN1 (Float Switch) AND REG2 (asserted on a state where we are using heating elements) THEN OUT5 (heating element)

The OUT5 is no longer controlled by the DIN1 while in that state which asserts REG2.

I hope I was clear in explaining this.
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Re: Float Switch Controlling Output

Post by AndrewsBrewing »

...anybody?
User avatar
oakbarn
Posts: 846
Joined: Thu Jan 05, 2012 2:28 pm
Bot?: No
Location: Texas
Contact:

Re: Float Switch Controlling Output

Post by oakbarn »

Did you try reversing the REG to NC? I know I had some issues with the way Ladder Logic and the way REGs work a long time ago. I no longer use that so I am going from memory. It seems counter intuitive at the time.
JonW
Site Admin
Posts: 1726
Joined: Sun Jul 18, 2010 7:51 am
Bot?: No
Location: Huntington Beach, CA
Contact:

Re: Float Switch Controlling Output

Post by JonW »

Can you post a screenshot of your ladder logic?
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Re: Float Switch Controlling Output

Post by AndrewsBrewing »

Annotation 2019-09-05 072720.png
Annotation 2019-09-05 072720.png (7.87 KiB) Viewed 23555 times
DIN1 (Float Switch)
REG2 (asserted on a state where we are using heating elements)
OUT5 (heating element)

I'll try Oakbarn's suggestion this morning.
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Re: Float Switch Controlling Output

Post by AndrewsBrewing »

Oakbarn I tried changing the gender on the REG this morning and that is not the solution. Thank you though
JonW
Site Admin
Posts: 1726
Joined: Sun Jul 18, 2010 7:51 am
Bot?: No
Location: Huntington Beach, CA
Contact:

Re: Float Switch Controlling Output

Post by JonW »

I was looking to see all of your ladder logic. Precedence and grouping can affect your results.
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Re: Float Switch Controlling Output

Post by AndrewsBrewing »

Here you go. The first two were me playing with another float sensor
Annotation 2019-09-06 062110.png
Annotation 2019-09-06 062110.png (24.1 KiB) Viewed 23536 times
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Re: Float Switch Controlling Output

Post by AndrewsBrewing »

For what it's worth, this doesn't work for me either. (Removing all the other rungs.)
Annotation 2019-09-13 160023.png
Annotation 2019-09-13 160023.png (11.91 KiB) Viewed 23510 times

Neither does this
Annotation 2019-09-13 160055.png
Annotation 2019-09-13 160055.png (10.94 KiB) Viewed 23510 times
User avatar
AndrewsBrewing
Posts: 35
Joined: Sat Feb 14, 2015 10:06 am
Bot?: No
Contact:

Re: Float Switch Controlling Output

Post by AndrewsBrewing »

Here are screen shots for reference
Annotation 2019-09-13 160224.png
Annotation 2019-09-13 160224.png (15.33 KiB) Viewed 23510 times
Annotation 2019-09-13 160159.png
Annotation 2019-09-13 160159.png (24.65 KiB) Viewed 23510 times
Annotation 2019-09-13 160124.png
Annotation 2019-09-13 160124.png (41.92 KiB) Viewed 23510 times
Post Reply