Program a Flip Flop Using One Shots. ONS, OSR, OSF in Allen Bradley's RsLogix 500

  Рет қаралды 44,735

Tim Wilborne

Tim Wilborne

Күн бұрын

Пікірлер: 67
@kevin00861
@kevin00861 2 жыл бұрын
Dear Tim, First of all i really cannot thank you enough for your amazing educational videos! Please keep posting more! The answer is that XIO and XIC input instructions that hold the same address would always reset each other, as in our Timers Lesson when you used DN bit XIO and the same DN XIC to make flashing timers or to recycle an output or to make a reciprocating / oscillator output. Again Dear Tim, thanks a million times !
@joew4202
@joew4202 2 жыл бұрын
I never get tired of watching your videos Tim!
@TimWilborne
@TimWilborne 2 жыл бұрын
Glad to hear that Joe!
@clintathusaz
@clintathusaz 2 жыл бұрын
Always happy when I find you've made a video answering my exact question in a very understandable manner. Thanks for your efforts!
@TimWilborne
@TimWilborne 2 жыл бұрын
Glad to help!
@iliapopovich
@iliapopovich 3 жыл бұрын
This is just a latch. Like an electromagnetic relay and I always tried to figure it out how to do it, now is more clear. Actually he is using the ONS and all the other elements to create logic gates. Well done.
@TimWilborne
@TimWilborne 3 жыл бұрын
Thank you!
@davidpalmer963
@davidpalmer963 2 жыл бұрын
Hey Tim , David Palmer here. Hope you and yours are well. Great detail on the logic ..switch on (logic high) switch off ( logic low).
@TimWilborne
@TimWilborne 2 жыл бұрын
Thank you David!
@tnapierism
@tnapierism 2 жыл бұрын
Can you please make a video about how to create the RSLogix 500 FFL and FFU instruction using CCW? Thanks!
@TimWilborne
@TimWilborne 2 жыл бұрын
I should look into doing a video on that, I'll put it on the list.
@jojoon1937
@jojoon1937 Жыл бұрын
I cannot find the link for rising and falling pulse video in the description
@TimWilborne
@TimWilborne Жыл бұрын
You can find all of our lessons at twcontrols.com/plc-lessons
@3498137
@3498137 2 жыл бұрын
Hi Tim. Excelent explanation and it is very to apply in the real world. This is very uselful for controling a motor using the Stop an Start as a unique Pusbutton. I wonder how to use it like a Flip-Flop with independet Set and Reset. for example to control the sensing signals, low and high water level of a tank. Thanks for your excelent contribution>
@ankitbothra8205
@ankitbothra8205 2 жыл бұрын
Excellent video..!! AB general instructions guide mentions "Unexpected operation may occur if : output tag operands are overwritten".. What does this mean??
@TimWilborne
@TimWilborne 2 жыл бұрын
It would be similar to duplicate destructive bits, see if this helps kzbin.info/www/bejne/g3iThmhpiLl3mLc
@ankitbothra8205
@ankitbothra8205 2 жыл бұрын
@@TimWilborne well seems it may be saying that indeed.. But I'd really call that expected output.. wouldn't you??!! Thanks..
@anthonypessagno7048
@anthonypessagno7048 4 ай бұрын
Great video. On my RS logic simulator I don't see a difference between XI and BIT. Can you help me with that or explain the difference. Thank you.
@TimWilborne
@TimWilborne 4 ай бұрын
I'm not sure what you mean by XI and BIT
@anthonypessagno7048
@anthonypessagno7048 4 ай бұрын
@TimWilborne Thank you for the quick response. This probably isn't the best way to ask this question. I should have been more descriptive. Basically when I use the "user" tab or "bit" tab I get the same result. I don't see B/0 come up, I guess, for bit. If it's to much information involved....no worries. I am subscribed thank you for the videos.
@TimWilborne
@TimWilborne 4 ай бұрын
What software are you in? I may have incorrectly assumed RsLogix 500
@anthonypessagno7048
@anthonypessagno7048 4 ай бұрын
@@TimWilborne It says Logix Pro 500 Simulator. I am new to this. I just figured with hitting the Bit tab it would automatically be a binary bit. Maybe there's more to it I have to learn.
@TimWilborne
@TimWilborne 4 ай бұрын
Ah, it is a good tool but I don't have much experience with it.
@dronai
@dronai 5 жыл бұрын
How can I use this concept to make an alternating relay ? Pump 1 and Pump 2 Alternating
@TimWilborne
@TimWilborne 5 жыл бұрын
In this situation you will usually have a stop, lead, and lag float. Each time the stop float goes down, you would do the flip flop. then if your toggle bit is off and the lead float is up then you would run pump one where is if the toggle but was on and the lead float was up you would run pump two. The lag float would turn both pumps on.
@dronai
@dronai 5 жыл бұрын
@@TimWilborne I install these all the time, but I would like to build my own controller. The problem for me is the alternating relay. Looking at your program, I just made the flip flop work. Can't wait to try it out, Thanks, Dorian
@TimWilborne
@TimWilborne 5 жыл бұрын
@@dronai Great, let us know how it works!
@shirwilbo2797
@shirwilbo2797 5 жыл бұрын
Good teaching video.
@TimWilborne
@TimWilborne 5 жыл бұрын
Thanks!
@tongtanomwong2940
@tongtanomwong2940 4 жыл бұрын
Tim, I apply first program in the step by step with Micrologix 1400 . when I go to run mode it was FAULTED, shown Error description "Expansion I/O module 1 generated an error"
@TimWilborne
@TimWilborne 4 жыл бұрын
That means something is wrong with the module you have plugged in to the right of the PLC base. What do you have connected there?
@tongtanomwong2940
@tongtanomwong2940 3 жыл бұрын
@@TimWilborne I have connected the Analog Module 1762-IF2OF2 A D 1,2.
@ks1works
@ks1works 5 жыл бұрын
How do you convert an OSR to an ONS when the follows a stack of different inputs? I am trying to convert a SLC 500 1747-L30A to a Micrologix 1400. I changed all of the OSR bits to ONS. There is a push button input that also acts like a reset button if you press it two times quickly. The ONS sets the bit and will not allow the reset function to clear the counter. Any Ideas?
@TimWilborne
@TimWilborne 5 жыл бұрын
The Micrologix 1400 supports the OSR. Why not stick with it? The issue is the ONS lacks the external output bit which your OSR is probably using elsewhere in the program.
@ks1works
@ks1works 5 жыл бұрын
When I converted the program to the 1400 and verified the program the errors indicated that the one shot rising was incompatible with the 1400.
@ks1works
@ks1works 5 жыл бұрын
should I do the conversion in RS Logix 5000 instead of 500?
@TimWilborne
@TimWilborne 5 жыл бұрын
@@ks1works I think you are right, let me look closer tomorrow
@TimWilborne
@TimWilborne 5 жыл бұрын
@@ks1works You are right. The Micrologix ONS is the equivalent of the SLC 500's OSR. It should work if you changed the instruction. My guess on why it wouldn't would be something different in the timing. How quickly did the push buttons have to be pressed sequentially? Did you verify the time bases and presets are the same in all of the timers?
@stanleypolanco4887
@stanleypolanco4887 4 жыл бұрын
TIM GREETINGS How can I use OSF on an SLC 5/03 CPU. THANKS
@TimWilborne
@TimWilborne 4 жыл бұрын
Hi Stanley. It isn't available in the SLC 5/03. You'll have to get a little creative with the OSR instruction to take it's place. For example if you were using and OSF behind an XIC of I:0/0 then you would use an OSR behind an XIO of I:0/0 in place of it.
@stanleypolanco4887
@stanleypolanco4887 4 жыл бұрын
@@TimWilborne It's what I thought but it would be a problem with the first scan thank you very much Tim
@kylesproductreview5583
@kylesproductreview5583 5 жыл бұрын
I would like to see bsl bsr
@TimWilborne
@TimWilborne 5 жыл бұрын
Hi Kyle, I'll put it on the list!
@sprek2
@sprek2 5 жыл бұрын
@@TimWilborne if you haven't made this video yet could you show some best practices for using an encoder with the instructions
@TimWilborne
@TimWilborne 5 жыл бұрын
@@sprek2 Good suggestion! We have this one talking about how to configure the high speed counter for an encoder. www.theautomationstore.com/rslogix-500-training-allen-bradley-micrologix-high-speed-counter-rslogix-500-function-file-configuration-for-an-encoder/ This one talking about calculating rate, speed, or RPM www.theautomationstore.com/rslogix-500-training-how-to-calculate-the-rate-speed-or-rpm-on-a-high-speed-counter-in-rslogix-500-for-a-micrologix-plc/ And this one talking about what happens if you don't have your input filters set right. www.theautomationstore.com/rslogix-500-training-what-do-input-filters-on-an-allen-bradley-micrologix-plc-do-and-what-happens-when-they-are-too-high/ What else should we cover?
@chadrickstephenson6064
@chadrickstephenson6064 3 жыл бұрын
I get how the light turns on, but I don’t get how the light turns off when pressing the button again.
@chadrickstephenson6064
@chadrickstephenson6064 3 жыл бұрын
Oh get it. It happens so fast. Because of one scan the XIO’s are inactive to switch off the light.
@TimWilborne
@TimWilborne 3 жыл бұрын
Great, I'm getting ready to make a revised version with Studio 5000 and Connected Components Workbench.
@MM-vi9kh
@MM-vi9kh 5 жыл бұрын
Great
@TimWilborne
@TimWilborne 5 жыл бұрын
Thanks!
@TITANONICEvibes
@TITANONICEvibes Жыл бұрын
Can’t get it to work using rs5000
@jasonvanhalle
@jasonvanhalle 5 жыл бұрын
I think rung two is switching back and forth with every scan, so if it winds up off or on when you let off the button is just due to timing of the release?
@TimWilborne
@TimWilborne 5 жыл бұрын
Yes. One more thing to think about. Why isn't it blinking fast on the computer screen?
@punder30
@punder30 5 жыл бұрын
Very good instruction and detailed information using a ONS instruction. I am sure some people call "/" a back slash but a majority if not everyone calls "\" a back slash and "/" a forward slash or just slash. en.wikipedia.org/wiki/Backslash
@wshh8486
@wshh8486 5 жыл бұрын
Siemens already have an SR flip flop
@TimWilborne
@TimWilborne 5 жыл бұрын
Hi Charles. You are right, lots of PLCs have flip flops, but this exercise helps you better understand program flow. Thanks for watching!
@CM-oy2kd
@CM-oy2kd 5 жыл бұрын
Good job Mr. Wilborne. Where are you located
@TimWilborne
@TimWilborne 5 жыл бұрын
@@CM-oy2kd Thanks, the US
@johnrece6622
@johnrece6622 3 жыл бұрын
This one gives be the brain pain lol
@TimWilborne
@TimWilborne 3 жыл бұрын
Yes, I'm getting ready to make it for Studio 5000 and Connected Components Workbench. I've got some ideas on how to make this clearer.
@jnrfalcon
@jnrfalcon 5 жыл бұрын
This video is the most confusing so far. I have no idea what ONS should mean and why it does what it does. And it is exactly what you choose to skip...
@TimWilborne
@TimWilborne 5 жыл бұрын
See if around 4 minutes helps you.
@jnrfalcon
@jnrfalcon 5 жыл бұрын
@@TimWilborne it is the confusing part. As far as I understand now, ONS functions the same as OSR here, detects the action from proceeding element. If it changes from 0 to 1, send true downstream. It will send false if the proceeding element didn't change or change from 1 to 0. You did a good job on explaining what happened but didn't mention why. Like why does ONS output false when it receive a 1 while its storage has 1 already...
@TimWilborne
@TimWilborne 5 жыл бұрын
@@jnrfalcon We have a video in the works on the difference between an ONS, OSR, and OSF that would be helpful. Basically an ONS is the same as an OSR except the ONS passes true or false conditions onto the right of the rung for evaluation by an output instruction whereas the OSR is an output instruction that writes a one or zero to its output bit.
@iliapopovich
@iliapopovich 3 жыл бұрын
@@jnrfalcon The one shot (ONS) limits the basic scanning of the device (PLC), which is about 50 times per second in just one scan. That's because the electricity is moving almost with the speed of light and when you press a button ,even in the quickest way, the electrons did already 20-30 cycles and the desired output should be random and not the intended one. With One Shot you know that when you press it even for long the output should be only one scan or signal.
How to Program a START STOP in RsLogix 500 with a Seal In
19:50
Tim Wilborne
Рет қаралды 16 М.
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 121 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 48 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 18 МЛН
Allen Bradley Studio 5000 Timers TON TOF RTO Explained
23:22
Tim Wilborne
Рет қаралды 79 М.
ONS, OSR, OSF in Studio 5000
13:51
Dan Staifer
Рет қаралды 16 М.
Allen Bradley PLC Sequence Programming Tutorial.  MOV Decimal Part 1
18:12
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 121 МЛН