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.
Float Switch Controlling Output
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
Re: Float Switch Controlling Output
...anybody?
Re: Float Switch Controlling Output
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.
-
- Site Admin
- Posts: 1726
- Joined: Sun Jul 18, 2010 7:51 am
- Bot?: No
- Location: Huntington Beach, CA
- Contact:
Re: Float Switch Controlling Output
Can you post a screenshot of your ladder logic?
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
Re: Float Switch Controlling Output
REG2 (asserted on a state where we are using heating elements)
OUT5 (heating element)
I'll try Oakbarn's suggestion this morning.
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
Re: Float Switch Controlling Output
Oakbarn I tried changing the gender on the REG this morning and that is not the solution. Thank you though
-
- Site Admin
- Posts: 1726
- Joined: Sun Jul 18, 2010 7:51 am
- Bot?: No
- Location: Huntington Beach, CA
- Contact:
Re: Float Switch Controlling Output
I was looking to see all of your ladder logic. Precedence and grouping can affect your results.
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
Re: Float Switch Controlling Output
Here you go. The first two were me playing with another float sensor
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
Re: Float Switch Controlling Output
For what it's worth, this doesn't work for me either. (Removing all the other rungs.)
Neither does this
Neither does this
- AndrewsBrewing
- Posts: 35
- Joined: Sat Feb 14, 2015 10:06 am
- Bot?: No
- Contact:
Re: Float Switch Controlling Output
Here are screen shots for reference