Program to Reverse a NO Float Switch

iadapt

Lifetime Supporting Member
Join Date
May 2012
Location
Indiana
Posts
177
Hey guys, I am stuck. I have a NO float switch that I need to program using RSlogix 500. I need the float switch to turn on when the float switch is not energized (hanging down with an open circuit). The turn off when the float gets up-right. (in a NC condition). Can anyone point me in the right direction. I have tried counters, CU & CD. But that doesn't seem to be the right instructions to use, any ideas?
 
]/[------------------( )


XIO = Output ON

I think this is all you asked for in your post.
Not sure how you were incorperating the timer or counters unless you want a delay to happen between switching modes.

BCS
 
Just put a branch extension around the output and add your second ouput on the branch extension.

Edit: that is if you want both outputs to go on and off at the same time together.

If they need to be oposite of each other then write one like this:

]/[------------( )

and the other ouput like this:

] [------------( )

BCS
 
Last edited:
When the circuit opens it turns on an output. This output is a normally energized condition. When it closes AGAIN it turns on another output. each output is on for only 10 seconds ans then turns off. Neither output is on simultaneously.
 
Please spell out EXACTLY what it is you would like to know and how you want this to work and I will do my best to give you the correct answer.

This will be much faster than adding another piece to the puzzle after every reply.

BCS
 
Sorry I've been burning the midnight oil just had to crash. What I have is an an input that when it is de energized needs to start an output. Then when the input is re energized to start another output. Now these two actions are a routine and they count on each other. As the first action opens a valve and the other closes it.
 
Last edited:
Sorry I've been burning the midnight oil just had to crash. What I have is an an input that when it is de energized needs to start an output. Then when the input is re energized to start another output. Now these two actions are a routine and they count on each other. As the first action opens a valve and the other closes it.


Looks like you got what you asked for in BCS's picture in the above post, including the timers you mentioned.
 
Ok, you also said you only want each of these outputs to be on for 10 seconds each in your last post right??

If this is the case then the 4 rungs I gave you above will do the trick.

Rung 1 = XIO (your input) to a TON T4:1 (Preset for 10 seconds)

Rung 2 = XIC (T4:1/TT) to your output #1
(this way your ouput 1 is only true for the 10 seconds T4:1 timer is timing and float switch is de-energized / open)

Rung 3 = XIO (your input) to a TON T4:2 (preset for 10 seconds)

Rung 4 = XIC (T4:2/TT) to your output #2
(this way your ouput 2 is only true for the 10 seconds T4:2 timer is timing and float switch is energized / closed)

I know my screen shot above is a little fuzzy so this post should make things clear for you.

EDIT: dginbuffalo beat me to the punch while I was typing, Thanks
 
Last edited:
I sense that there is a disconnect here and some misunderstanding about the difference between how something is wired and the XIC -] [- and XIO -]\[- computer instructions. I suggest you go to youtube and and search for Ron Beaufort. Ron is a forum member who has made a series of videos that covers this subject. He covers it as good as or better than anyone I know. Seeing it in action the way he illustrates it in the video with his coverage of "bit boxes" should help you immensely and clear a lot of things up for you.


Are you opening and closing a motor operated valve?
 
Last edited:
I need a NC hardwired circuit to turn on a NO instruction. Then start another NO instruction when the NC contact closes again. I have a two wire NC float and I need it to open a valve when the tank is too low and then close a separate valve when the float rises again.
 

Similar Topics

Hi everyone, I´m trying to program a Reverse Osmosis System using Automation Direct PLC, has analog inputs, Can anybody show me a ladder sample? I...
Replies
16
Views
4,469
Hi. I have a 222 CPU. I need to recover the program from the eeprom memory. Is it possible?
Replies
1
Views
73
Can we use a Simotion D455 ethernet port x127 as a gate, to access S7-1500 plc Tia Portal program ? In the Simatic manager, we used Netpro to do...
Replies
2
Views
80
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
10
Views
158
Posted this to Reddit with little success, so I figured I would share it here as well. Very new to PLCs, but figured I would give it a shot to...
Replies
0
Views
120
Back
Top Bottom