BOLTR: PLC | Steaming Turd Emojies

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Programmable Logic Controllers are everywhere. I break one down to see how it's made. I'll also show you how it's programmed with ladder logic. Early access to vids / ave

Комментарии • 1 тыс.

  • @richardwilliam646
    @richardwilliam646 6 лет назад +107

    I watch and appreciate most of the vijeos, and will not stop watching because of the cursing. But, just as you insist the King of Random went too far (and he has) think about your pushing the boltrs with your own extreme foul talk. And why - just to offend people who you may think to be too straight, religious, or milk toast? I don't know what motivates the diatribes, but it does push away many people and children who would otherwise benefit from your engineering insights. You have a lot to offer Ave and I hope you can stem some of the anger and madness. For everyone's sake.

    • @welderse14
      @welderse14 6 лет назад +249

      Extreme foul talk?
      He has one of the cleanest mouths (vocabulary) compared to my friends.
      If you no like no watch

    • @arduinoversusevil2025
      @arduinoversusevil2025  6 лет назад +1018

      +Richard William fuck that noise.

    • @ironized
      @ironized 6 лет назад +140

      "Fuck that noise". Died of laughter.

    • @kwmiked
      @kwmiked 6 лет назад +94

      Wtf over!??? God dam bible thumper

    • @idk-zy9ig
      @idk-zy9ig 6 лет назад +156

      Richard William Let the man swear in his own shop for fucks sake

  • @the_real_ch3
    @the_real_ch3 6 лет назад +515

    My wife also recently switched from a finger doing the on/off to an electric driven device

    • @schregen
      @schregen 6 лет назад +3

      Brian A two days ago? You're a time Traveller? Hahahaha 🍄💋💋🍄

    • @cicibradley2809
      @cicibradley2809 6 лет назад +12

      I turn mine on often with an electric driven device.

    • @ScottPankhurst
      @ScottPankhurst 6 лет назад +9

      simple on/off control or variable speed? inquiring minds want to know.

    • @cicibradley2809
      @cicibradley2809 6 лет назад +7

      Scott Pankhurst Variable frequency oscillation

    • @cicibradley2809
      @cicibradley2809 6 лет назад +9

      Jim Alley Nothing a good ol fashioned tap-ee tap-tap can't fix.

  • @evanheffley1625
    @evanheffley1625 2 года назад +28

    This came up in my feed this morning, I watched this one about a year ago when I was first learning about PLCs for my new job in maintenance. Now a year or so later, I am the guy in the shop designing, building, and programming the industrial equipment we build to help produce plastic slabs and sheets at the company I work for. I had built my own Click PLC learning board with 4 inputs 4 outputs, and my 9 year old would tell me what he wanted the lights to do, and I would build the program to do it. My company felt those skills were worth a VERY large raise, so now my family and I get to enjoy the rewards of that. AvE and a couple other guys on youtube are directly responsible for getting that info out to guys like me. Very thankfull to you and others Ave!!

  • @bigclivedotcom
    @bigclivedotcom 6 лет назад +115

    Ribbon cables are a pain in the arse because they use insulation displacement connectors. They're very prone to causing intermittent problems that disappear for a while when the connectors are squeezed and reseated. So the pin headers are probably a better idea.

    • @ColinJWiens
      @ColinJWiens 6 лет назад +1

      windson7 are you referring to the elastomeric connectors (sometimes called zebra strips) between a chip and a LCD? They mess up if not perfectly aligned, if oils leech out, or contaminants get in (like your skin oils). More info: mrmodemhead.com/blog/fluke-8x-faded-lcd/

    • @ColinJWiens
      @ColinJWiens 6 лет назад

      Dunno, I haven't really tried it. Plenty of people have to change their broken screens though so search online for guides to change your specific laptop screen.

    • @user-sn8oe5sb1b
      @user-sn8oe5sb1b 6 лет назад +2

      I couldn't help but automatically read that in your voice.

    • @Ishiku__aka_xchoibitschibihil
      @Ishiku__aka_xchoibitschibihil 6 лет назад +1

      @bigclivedotcom the date of which this was published has changed to todays date! This is almost a year old! What the !?

  • @johnpossum556
    @johnpossum556 6 лет назад +253

    How to blink a light in 200 swears or less!

    • @camtheham13
      @camtheham13 6 лет назад +3

      John Possum yep ladder logic in a nutshell

    • @mateuszzimon8216
      @mateuszzimon8216 5 лет назад

      @@camtheham13 That's why I prefer FDB than LAD....

  • @MatthewBallinger
    @MatthewBallinger 6 лет назад +191

    Nuclear plant operator here: It might be a relief to know nuclear power plants still use old-school relay logic for critical systems. Thousands of relays. It’s a pain testing, maintaining, and modifying this type of logic for dozens of systems, but there’s little worry of meltdown inducing cyber attacks on that shit.

    • @DrewLSsix
      @DrewLSsix 6 лет назад +67

      Matthew Ballinger. When theres a bug in the system its not a gift from Anonamoose, its an actual multi legged critter!

    • @johnpossum556
      @johnpossum556 6 лет назад +39

      You have been upvoted as our new Homer Simpson, sir.

    • @the_real_ch3
      @the_real_ch3 6 лет назад +8

      Call it the Galactica solution

    • @pine-Land
      @pine-Land 6 лет назад +9

      There are fail safe PLC systems that are allowed to use for human safety. So if you have a cold system (not online) and it uses safety PLC systems. do you that that is good enough? i mean, coils can burn and contacts can weld.

    • @johnstutz4458
      @johnstutz4458 6 лет назад +8

      Matthew Ballinger oh, just weak coils, dirty contacts, busted sockets, loose wires, relays that are hard to find, techs plugging the wrong relay in the wrong socket.
      That's all great news...
      I think maybe we shouldn't mess with shit that never stops giving...

  • @mrtoastyman07
    @mrtoastyman07 6 лет назад +33

    Automation Enginerd here - You don't need a special programming cable for those CLICKs - they can be programmed via ethernet just like basically any modern PLC. Makes it real easy to network these guys together or stab it into your favorite Gorilla Machine Interface. Infinite buttons!
    Edit: Automation Direct's Cmore Panels are a fantastic little GMI's - Software is also free and pretty damn capable for home gamer's.

    • @petercollins797
      @petercollins797 4 года назад +3

      Came here to contribute this information. Recently came across Click PLCs and picked one up to play with at home.

    • @AlexKall
      @AlexKall 3 года назад +1

      Never heard of CLICK PLC before.

    • @Bobo-ox7fj
      @Bobo-ox7fj Год назад

      @@AlexKall (it's the one used in the video)

    • @AlexKall
      @AlexKall Год назад

      @@Bobo-ox7fj Yes, I said I've never heard of CLICK PLC before (in other words before I saw this video).

  • @edwardpetre6478
    @edwardpetre6478 6 лет назад +19

    "all these are, are a one or a zero"... *analog engineer's head explodes*

  • @LYHTSPD
    @LYHTSPD 6 лет назад +11

    As a Controls Engineer, I have touched nearly all the flavors of PLCs. Ladder might not be the sexiest programming language, but it gets the job done. Most of the platforms will have flowchart, structured text, and function block programming as well. My goto is Allen Bradley, but like you mentioned, that is what I cut my teeth on many moons ago.

  • @crazyguy32100
    @crazyguy32100 6 лет назад +26

    If anyone is interested in ladder then try Soapbox Snap, it allows you to program an Arduino with ladder instead of C++. Comes as a godsend to us visually learned tradesmen who play with PLCs and use the same symbols for our hardware drawings and programming.

    • @richkreski5663
      @richkreski5663 6 лет назад

      Awesome. I will look into that.

    • @BlueSpirit422
      @BlueSpirit422 3 года назад +1

      Programming an Arduino in ladder? Hell man you may have hust convinced me that those little shits are worth it!

    • @tommussington8330
      @tommussington8330 2 года назад

      I just ordered a starter kit if soapbox works I'm going to be happy I've been programming PLCs before most of you guys were born.
      Had terminal not even dos based software.

  • @treethi
    @treethi 6 лет назад +22

    oh buddy, you can use the Ethernet port to program it without the serial adapter! its faster too

  • @brandonobaza8610
    @brandonobaza8610 6 лет назад +21

    Worked at a laundry that had a DynaWash 1000C that was "programmed" with a plastic punch card wrapped around a spinning drum.
    Fingers like on a music box would fall into the punched holes and activate different functions like hot/cold water, steam, chemical supply, and the like. Pretty cool to watch it work.

    • @brentsido8822
      @brentsido8822 6 лет назад +1

      Brandon Obaza my dishwasher works this way spinning wheels and levers with teeth that get flipped calling for the various phases of dish washing.

  • @KarlAdamsAudio
    @KarlAdamsAudio 6 лет назад +28

    Back in the '80s and '90s I wrote PC software that communicated with various different brands of PLC - so many different serial protocols, so many different addressing schemes - they were like snowflakes: all basically the same, yet completely different. Ladder logic might be primitive - but done properly there's a good chance that your PLC program actually does what you think it does, and will continue to do so even in situations you hadn't yet considered, and that's a big advantage when you're controlling something potentially life-threatening.

    • @hubert187
      @hubert187 6 лет назад +1

      No surprises, rather safe then sorry.

    • @rehoboth_farm
      @rehoboth_farm 5 лет назад +3

      I wish that Automation Direct would release an open source linux version of their programming software. If they are going to give it away for free why not release the code?

    • @tommussington8330
      @tommussington8330 2 года назад +1

      That's why I liked AB software for on line edits you could test before assembling. The old TI / Siemens and Mitsubishi software had no test you did change hit enter and it was done no do-overs.

  • @paulpillau5858
    @paulpillau5858 6 лет назад +54

    Nothing overkill about that ARM if you want 100 MBit/s Ethernet.

    • @GigAnonymous
      @GigAnonymous 6 лет назад +8

      I work with STM32 like that quite often, and while at first glance it does look a bit like overkill, those chips are dirt, dirt cheap. Any chance we could get the full reference? I'm betting on a STM32F4 something. I think there was a similar one on the Juiceroo by the way.
      PS: ST Microelectronics is actually from France, not Japan. Honestly it's not so much about where the components on the BoM come from - it's about who can ship a metric shitton of it to the assembly house the cheapest.

    • @aerodigital
      @aerodigital 6 лет назад

      I love how small things are these days and how feature rich and simple they can me. I just got a new job where I rely on a good board with a CAN bus and Ethernet. It is just also fun to be a home gamer and how tons of small and large scale computers and they all can talk to each other.

    • @godfreypoon5148
      @godfreypoon5148 6 лет назад

      Probably '429

    • @GigAnonymous
      @GigAnonymous 6 лет назад

      From the features, the progmem size and the maximum frequency, I guess you're right. I feel a STM32407 would have fit the bill and be a bit cheaper, but it's possible they wanted the crypto hardware for some reason.

    • @lhxperimental
      @lhxperimental 6 лет назад

      I think it is STM32F407IGTx. But they are not dirt cheap. Around USD 7.5 a piece (or even more from places like Digikey). Cheapest Ethernet capable STM32 is a USD 2 point something device. But it is a lower pin count part, so this one is not that.

  • @tuoppi42
    @tuoppi42 6 лет назад +14

    Ladder logic... Back in the days when I was getting myself some edumacation, I was tasked to use programmable logics to make parts travel on a multi segmented conveyor belt with sensors and such, and it was also said that the location of each part has to be known at all times with as high precision as possible with given sensors. Naturally more inputs and outputs were required than what one PLC had to offer, and as I asked for interconnection cable, I was told that I may not use one. The program had to be returned drawn on paper with ladder logic.
    The teacher had some kind of grin on his face when he gave the task to the class, probably thinking that he doesn't have to give anyone a full score.
    After realizing that I can't use the official communication bus, I decided to sacrifice one output and input from each logic and use those for communications. I used the other logic as master and the other slave; slave stopping everything and signaling master when something changed, giving the input status to the master logic. Master logic responded with instructions on what to do with outputs. It wasn't Morse code, but still something similar, playing with delays that were available. As we had nice amount of time to use, I tweaked the protocol to be as fast as the relay outputs were able to reliably crank out.
    The expression on teachers face was something from close neighborhood of disbelief, as he was checking if my plans worked as required and the part traveled to the slave logic area; there is a small pause in the movement, rapid rattling of relays and part travels onwards, then more rattling, etc.
    As I returned the ladder logic program on paper, five (or was it six?) tightly packed papers with ladder logic on both sides, I asked when I can get the papers back. "It might take some time, just leave them on the table". I never saw the papers again, but I got the maximum score for the course.

  • @davidgirdwood8454
    @davidgirdwood8454 6 лет назад +5

    Ave Im 19 from the UK, and Im an apprentice maintenance technician for Nissan and Im currently doing PLC work, its unbelievable how many there is in the plant running most of the automation. Love the vijeos!

  • @ellobo8593
    @ellobo8593 6 лет назад +9

    I just learned something from watching an AVE upload..... My college professor might be out of a job.

  • @CSHayes
    @CSHayes 6 лет назад +16

    PCB board is from the Department of Redundancy Department!

    • @dickbutt7854
      @dickbutt7854 3 года назад

      Heh

    • @JUANKERR2000
      @JUANKERR2000 3 года назад

      Along with HIV virus, LCD display, ATM machine and soooo many other verbal atrocities.

  • @AmateurRedneckWorkshop
    @AmateurRedneckWorkshop 6 лет назад +34

    Programmed a plenty of Modicon some GE, Allen Bradley and some Triconix. Lots of fun, at least the Modicon and Triconix. I didn't care for the others. I have been tempted to buy one of the new cheapie versions of PLC to play with but then I always want some practical use and that kills the purchase. Nothing around here needs control. Sigh. 😢

    • @AmateurRedneckWorkshop
      @AmateurRedneckWorkshop 6 лет назад +1

      Yeah maybe. I think most amateur cnc runs on arduinos or something and uses something similar to "C" programming. I have done that also. I have two Arduinos that I used to play with a stepper motor a couple of years ago. I think I got enthused by AVE controlling a spindexer. Someone did anyway but at the time I did not have a spindexer and after burning up a couple of stepper controllers learning I just stopped after I learned how to make it work.

    • @ClintMaas
      @ClintMaas 6 лет назад +1

      You don't care for Allen Bradley? How can that be? lol

    • @BlcokedAccount
      @BlcokedAccount 6 лет назад +2

      Clint Maas AB will make you go broke just trying to keep the software current!

    • @jakewilkes7610
      @jakewilkes7610 6 лет назад

      The click plcs work very well, I have 5 or so running full time

    • @best49erfan
      @best49erfan 6 лет назад +3

      This is true. But IMHO, they are the best for industrial use. I would pick control logix anyday.

  • @tthurlow
    @tthurlow 6 лет назад +65

    Amazingly, the transistor as a concept was developed in the 20s - the field effect type. We didn't have the means to manufacture it so it remained theoretical until 1947 with the invention of a point contact transistor.

    • @johnpossum556
      @johnpossum556 6 лет назад +3

      Are you telling me aliens from Roswell didn't invent it? Oh the humanity!

    • @gordonlawrence4749
      @gordonlawrence4749 6 лет назад +1

      Actually that is a misconception perpetrated by Wiki etc. Lilienfield had some lab samples working in the 1930's and I have heard it argued that he had one working at the point of the 1926 patent.

    • @jaewok5G
      @jaewok5G 6 лет назад +2

      sewing needle through a rusty bottle cap?

    • @gordonlawrence4749
      @gordonlawrence4749 6 лет назад +1

      actually you can make a diode RF detector like that almost.

    • @dougankrum3328
      @dougankrum3328 6 лет назад +2

      Bell Laboratory 'invented' the transistor in 1947, I will always remember, it was the year I was born.....by the late 1950's the integrated circuit was in production....

  • @chrisrodenbeck6327
    @chrisrodenbeck6327 6 лет назад +23

    Just installed one of these two days ago on a Nestal 800 ton press. Monitoring mold open to mold close on the Europmap 67 plug, triggering a 1 second 24v signal. It is all about cycle times. Signal sent to the production monitoring computer. I am actually on the automation side just installing a CBW robot(Utilizes Beckoff PLC). Even after getting my mold intrusion time down to bid time, of course they want another 1/10th or two. All about the $$$$$$$$$$$$$$$$$$(That is USD, not Canadian)

    • @jerrylong381
      @jerrylong381 6 лет назад

      Chris Rodenbeck
      Hi Chris,
      I am a Brother in arms, lol.
      We run 5 Netstal Evos 3500's doing in mold labeling on thin wall open top packaging.
      The IML presses run Waldorf or Mueller robots. We also have 24 Husky's (mostly all with CBW robots).
      Nothing over 600T.
      We have an old Husky T388 that still has relay logic. It can be a real pain to trouble shoot. Hopefully it is going away soon.
      Where are you located?

    • @chrisrodenbeck6327
      @chrisrodenbeck6327 6 лет назад

      Well it is a traveling job but I live in Colorado. I work for CBW as a service engineer and we are located in Colorado. CBW was just purchased by Müeller . November of 2016 I actually got to spend 18 days in Näfels Switzerland at the Netstal factory. Wow what a beautiful area.

    • @jerrylong381
      @jerrylong381 6 лет назад +1

      Chris Rodenbeck
      I am the lead maintenance mechanic at Polytainers Inc in Lee's Summit Missouri.
      Do you cover this region? It was covered by a guy that quit after 20 years or so.
      I know CBW robots and stackers pretty well from a previous stent at Barry Plastics, but presently I have very little to do with the automation unless they get stuck on a problem.
      I take care of the molding machines and thermo-forming machines and training new mechanics.
      If you are ever traveling in this neck of woods, I could probably set you up with a home cooked meal.
      My wife is not a bad cook.

    • @SethBergile
      @SethBergile 6 лет назад

      I work for ALPLA .... We will own you all soon enough!!!

  • @SurvivalRussia
    @SurvivalRussia 6 лет назад +14

    Ladder Diagrams.... Takes me back to Tech Uni.

    • @Toad_Hugger
      @Toad_Hugger 6 лет назад +2

      Survival Russia
      I've seen you several times in the comments of many other channels I watch, Lars!
      RUclips must prioritize the visibility of your comments or something, based upon the amount of videos I've watched from you or my subscription to you.
      Or maybe it's giving you video suggestions based upon what your viewers are watching?
      Or maybe it's all in my head ;P
      Anywho, nice seeing you around! Even if I might have been 2 months late...

  • @JanCiger
    @JanCiger 6 лет назад +4

    AvE, the battery/supercap is for keeping the real time clock running so that it doesn't lose time every time the machine is off. Program wouldn't get lost, that one is for sure stored in a flash memory (that big chip at the bottom is unlikely to be an SDRAM but flash).
    Also the chip for the serial port is most likely a TTL to RS232 level converter (3.3V -> +-12V that RS232 ports need), the other chip is a transciever for RS485 serial line. Then there is most likely a PHY interface chip for the ethernet too.

  • @nochan99
    @nochan99 6 лет назад +6

    "I touched myself and got an ecstatic discharge" --AvE

  • @stevenm.2380
    @stevenm.2380 6 лет назад +4

    We haven't heard the wild call of the elusive Mr. Bumblefuck in quite some time.
    "Focus you fack!"

  • @sleepib
    @sleepib 6 лет назад +10

    I think I'd rather write everything in assembly.

    • @adisharr
      @adisharr 3 года назад

      It's all in what you're comfortable with.

  • @kjpmi
    @kjpmi 6 лет назад +11

    Oh come on now...you can use ladder logic to do the equivalent of pumping out a Shakespeare play, and to be fair, you did the equivalent of learning how to type the letter A.
    I'm impressed though that you went as far as you did in explaining PLCs and ladder logic. Most people have no clue that that's what's controlling just about everything in automation.

    • @adisharr
      @adisharr 3 года назад

      The first clue that someone doesn't have any industrial software experience is when they say "..but Arduino??"

  • @brianhaugen8989
    @brianhaugen8989 6 лет назад +4

    A video on when to use a Arduino vs a PLC for a specific project would be useful. Some homegamers might benefit from knowing about industrial PLC, while some people in industry don't need a PLC for for a simple small scale project/test rig

  • @raysplace6548
    @raysplace6548 6 лет назад +5

    This is the only damned channel on RUclips, where you can smash the like button before you finish the video and know it's good stuff..

    • @arduinoversusevil2025
      @arduinoversusevil2025  6 лет назад +2

      I still squeak out a stinker now and then.

    • @raysplace6548
      @raysplace6548 6 лет назад

      AvE New to your channel. Absolutely friggin love it..Thanks for putting up some awesome content..

  • @Titus-as-the-Roman
    @Titus-as-the-Roman 6 лет назад +4

    I'm old enough and worked on machines old enough that we started converting our various equipment over to these programmable logic controllers, they definitely tidied up the whole process of calibrating the run parameters. When using these though just remember to Not Piss Off some Government somewhere that has a crack hacker team, you just might find all your machines one day shedding parts like a fragmentation grenade.

  • @ZylonFPV
    @ZylonFPV 6 лет назад +2

    Sounds like you’re rocking a proper mechanical keyboard in this video! I’m going to guess cherry blue switches by the sounds of it. Skookem as frig. That’s what I use, feels great compared to typing on contact lenses which is what those cheap membrane keyboards are like.

  • @evanranshaw4659
    @evanranshaw4659 6 лет назад +15

    A PCB board? I think I've heard of those. Is it like an ATM machine, an LCD display, or a PIN number? Yep, that's right, the RAS syndrome police are here.

  • @samw5983
    @samw5983 6 лет назад +4

    A quick look at Intel Ark, as this interested me to, and you can find their Xeon Phi 7295 72 core on 14 nm architecture. You will most likely fin these CPUs in large supercomputers and server farms as they are not intended for the general consumer. ark.intel.com/products/128690/Intel-Xeon-Phi-Processor-7295-16GB-1_5-GHz-72-Core

  • @libertysbeacon
    @libertysbeacon 6 лет назад +11

    The last couple years I've been building controllers for various things using the Raspberry Pi. Ten-amp relays built to directly interface with the Pi are cheap (8 relay board

  • @jorda.2412
    @jorda.2412 6 лет назад +3

    so basically the brain in a 200$ coffee machine that makes 1 cup of shitty coffee from a $5 pod?
    edit...I'm phoning my coffee maker now so I can ensure I can get warm brown water after my 2 hr/ 10 km commute from my environmental protection job that reduces consumer waste
    edit of edit...actually I install a lot of machines in factories that need this device that operates the order of firing up machines depending on full/ empty, fast or slow speeds depending on product flow, and on or off depending on how many pixies flow according to load.

  • @moominjuice2
    @moominjuice2 6 лет назад +5

    I learnt ladder on Mitsubishi after taking a £600 day course (thanks to the boss) It was no more in depth than what you've just demonstrated in 20mins!. Except I actually understand you better and you're far more entertaining. The PLC training course was so dull... it was like sitting in a funeral parlour while Marvin the robot read a telephone book. Excellent stuff... you played with M-Duino PLCs?

    • @lauriesearle9083
      @lauriesearle9083 3 года назад

      I have used m-duino PLCs - cheap way of doing things, similar to the one in this video and and good for non-critical stuff but it doesn't have a failsafe CPU like the Siemens et al so you can't use them in any safety critical applications without external monitoring or mitigations. What do you think?

  • @EdM66410
    @EdM66410 6 лет назад +3

    Sometimes I'd wonder, but never really gave much thought to the O l on a power switch.
    Cue AvE with a nonchalant flip of the switch OFF(zero) ON(one) and suddenly it all makes sense.
    How the hell did I make it this far in life?

  • @1quickchevy2
    @1quickchevy2 6 лет назад +44

    I got a call to work on a tailings pond dredge that had four fuel tanks in the pontoons, and used one of the click plc's to keep the dredge level in the water by moving the fuel around the tanks. Needless to say, they don't work to well in -40 in northern Alberta without a heated cabinet. She wasn't choochin anymore.

    • @SpenserRoger
      @SpenserRoger 6 лет назад +2

      1quickchevy2 do they use PLC's on those boom canons too? lol

    • @1quickchevy2
      @1quickchevy2 6 лет назад +1

      SpenserRoger I don't believe, they are just propane powered. Maybe on the bird scares the make laser/ taradactyl/ alien sounds.

    • @richardmartin8856
      @richardmartin8856 6 лет назад +1

      The electrolytic caps frozed up and fuggered the power supply

  • @zachell1991
    @zachell1991 6 лет назад +2

    My dad was an electrician and I'm an electrician, 30 years ago my dad put one of those mechanical drum controllers in for a Hop baler just replaced it in 2016 it I was told it ran for 30 years without a service call for the "music box".

  • @SeanBZA
    @SeanBZA 6 лет назад +4

    Thing is the old ladder logic will still be running 50 years later on, while the fancy PLC would have been, out of necessity, rewritten at least a dozen times in new controllers, as the old ones turned into obsoletium, and there was no programmer even capable of reading the old program, leaving the new one to be written from scratch from the inputs and outputs the old one had, and a description or tracing of the old code, or old printed copies of the code. Yes the relays and the cam switches are expensive ( $15 each for the ultra reliable cam switches I changed last year, which are still a current part, despite the design being from the 1960's, and the old switches being made in the beginning of 1970, around 30 million cycles past the design life of 1 meeeellion cycles) but they do last longer than the electronic do.Same old motors as well, and a good number of the original Brown Boveri relays as well.

  • @raidoenn8141
    @raidoenn8141 6 лет назад +2

    That does not look like a very intuitive interface. Mitsubishi Alpha for example has a lot more Steaming Turd Language, if you care to check it out.

  • @hhe5218
    @hhe5218 6 лет назад +19

    Brings back memories of programming PLCs in school. Should have chosen automation😒

    • @TrainBrake
      @TrainBrake 6 лет назад +9

      Got my BS process control and automation back in '96! While the software engineers were learning 'C' my classmates and I were learning how to talk with PLC's. Those classes turned out to be a valuable asset; PLC programming requires a very ordered and structured thought process. PLC's are a great way to handle many projects that people run to the Arduino for, then spend way too much time interfacing and programming.

    • @SteevyTable
      @SteevyTable 6 лет назад +4

      I use Arduino because PLCs are expensive.

    • @JMICHAEL90
      @JMICHAEL90 6 лет назад +3

      It ain't going anwhere anytime soon. Still plenty of time to learn!

    • @debug9424
      @debug9424 6 лет назад +1

      +Kew
      BS is the school level. "BS in process control"

  • @a7i20ci7y
    @a7i20ci7y 6 лет назад +1

    Used to work in a water plant and we used quite a bit of ladder logic on the old PLCs. Newer ones mostly function block diagrams. It was a pretty cool gig. Miss the work. Not so much the boss.

  • @ACTlVISION
    @ACTlVISION 6 лет назад +3

    Good lord you weren't kidding about programming this... now I definitely consider myself a visual learning type and whatnot, but for fuck's sake a few lines of legible C++ (a la arduino) would seem infinitely more intuitive to me than this labyrinth of menus and diagrams I can barely comprehend. Way too roundabout of an approach. I'm literally riddled with cancer-AIDS.

    • @paulmoffat465
      @paulmoffat465 6 лет назад

      The trick is that you're using the shitty GUI to build a logic diagram. ANDs ORs NOTs timers and other simple functional blocks via emojis, in a loose approximation of how you would literally build something equivalent out of relays. If you're used to and able to think in addresses and library calls, it's hell. But if your used to thinking about controls systems that do logic with wires and relays, it's pretty intuitive. Once you mostly learn to navigate the GUI, that is.

    • @ACTlVISION
      @ACTlVISION 6 лет назад

      I mean I'm as lazy a bastard as they come so if I'm going to be programming logic gates I'd rather get an FPGA and learn a legit HDL instead of slogging through this

    • @adisharr
      @adisharr 3 года назад

      @@ACTlVISION Now picture yourself walking someone in maintenance over the phone who has little to no programming experience and telling them what to look for and change.

  • @chithead415
    @chithead415 6 лет назад +2

    Unrelated, i ordered my first pair of Knipex cause of this channel. Thanks!

  • @rtf709
    @rtf709 6 лет назад +3

    The way you explain it and show the process of programming makes it so much easier to understand, even a novice cable wrangler like myself was starting to get it.
    More plc videos please!

  • @jkbrown5496
    @jkbrown5496 6 лет назад +1

    Took a trip down the PLC history rabbit hole before the holidays. Very interesting and we now at the 50th anniversary of its birth. As would be fitting, what became the accepted design was written out by Dick Morley on January 1, 1968 due to a hangover and him being tired of solving the same problem over and over for clients. Later, they ran into the GM request for such a device. Also fitting, Morley supported himself in college working as a machinist.
    Note these don't have on/off switches, nor blue screens of death. They just run. GM gave one of the originals back after 20 years of continuously running some process. It's on display at Schneider Electric who now own Modicon.
    Morley used to write a column for Manufacturing Automation (he passed last January). I enjoyed this story of how the PLC beat out Digital
    "The real test went something like this. Our competition was the PDP-14. It was designed to GM specifications for a controller. I guess GM thought they could design computers as well as automobiles. Stan Schoonover of Landis had early experience with both our Modicon unit and the Digital Equipment PDP-14 and he selected the 084 Modicon (now Schneider) unit as his preferred component. Well! The Digital salesman rankled. Stan held his ground. So the Digital man brought down Ken Olsen to see Stan. At the time, Mr. Olsen was president and cofounder of Digital Equipment Corp. (the Bill Gates of the late '60s). Stan showed Mr. Olsen the 084 setup running a small control problem. The unit had welding cables wrapped around it with the welder being used and it ran fine. Stan then took his Coke and poured it over the 084 - it still ran fine. The experiment also ran next to a huge motor starter. Stan said, "When I can do this to your PDP-14, I will buy some." Mr. Olsen soon cancelled the PDP-14 program.The PLC has two things going for it: ladder logic and good hardware."

  • @neilsparks.4447
    @neilsparks.4447 6 лет назад +3

    Love the channel, the information you provide is great! Your terminology is hilarious, workshop chat is funny, ignore the haters!
    You are one clever guy!

  • @lunatic3571
    @lunatic3571 6 лет назад +2

    holy shit this took me back a few years to my ITT Tech days when we had to learn about this. best way i ever found to program lol. thanks for sharing such an eclectic style of programming that not many people know about!!

  • @snerual2010
    @snerual2010 6 лет назад +3

    Too complicated, I just hire a crackhead to flip some switches every now and then.

  • @codyironworks307
    @codyironworks307 6 лет назад

    I just got myself a inverted dc 110 volt stick/tig welder that welds better than my very expensive mig, how the hell does that work? Maybe a video of deconstructing ? I did a video of mine but didn't post a link because gratuitous free advertising sucks

  • @jh77sly
    @jh77sly 6 лет назад +4

    +1 ladder logic is eye cancer!

  • @Skwisgar2322
    @Skwisgar2322 6 лет назад +1

    As a programmer who works with ladder logic, alot of it depends on the software. RSLogix 5000 is easy to understand. ProWorx 32, it much less so.

  • @danneeson4341
    @danneeson4341 6 лет назад +3

    I cringe so hard every time you say pcb board.

  • @GlenRickerd
    @GlenRickerd 6 лет назад +2

    LADDER LOGIC!!!
    The first industrial [manufacturing engineering] job I ever had, in 1976, was working on a styrofoam coffee cup press, privately engineered for speed and efficiency. It was an order of magnitude faster than the then state-of-the-art presses.
    The relay logic was of the custom-built electromechanical type in a BIG NEMA box. Nasty rat's-nest wiring behind that clean panel.
    The schematic was ladder logic, with about 40 rungs and 60 components.
    The sequence of operation was critical to the speed of the press.
    I reconstructed from that ladder logic diagram a timing chart, so I could understand what the hell I was working on.
    After I'd been there for a week, my supervisor noticed that I was carrying around a 3x5 card with that diagram. Leaving it on my nightstand at home at night. He informed me that it was a proprietary secret that I could be fired for possessing. Worth lots of cash if it were marketed as industrial espionage.
    What the hell, I was young and ignorant, but not stupid.
    Weird bunch, that Dart family.
    I had no idea ladder logic even survived.
    Thought it was lost back in the Pleistocene.

  • @ray-kast
    @ray-kast 6 лет назад +5

    As a programmer, that's actually a pretty neat programming interface. Not that I'd ever touch it, but cool nonetheless.

    • @corydorastube
      @corydorastube 6 лет назад

      Sure beats 6502 machine code.

    • @keithwhitehead4897
      @keithwhitehead4897 6 лет назад +1

      It was the way circuits were drawn when you used REAL relays, contractors, electronic timers , push buttons and so on Each line was numbered so if you had a relay with 4 contacts you could write on the margin by the coil which line each of the relay contacts was located.I have had some diagrams that were on a sheet of paper 6m (20ft) long. Once you get used to reading them they are very logical and very quick to read.

  • @julesc.9449
    @julesc.9449 6 лет назад +2

    Just spotted the subroutine menu. Muhahaha!
    Expandable on top of that...mmhh, may have to consider for a model railroad signalling project...

  • @darthvader8433
    @darthvader8433 6 лет назад +4

    Really makes you appreciate the Arduino programming interface...

    • @adisharr
      @adisharr 3 года назад

      For simple applications PLC's are magnitudes easier to use.

  • @davidquinn5430
    @davidquinn5430 6 лет назад +2

    The articulation of the lingo here is what helps keeps the average joe focus on a 45 strait minutes video that frankly We would be in a world of brain strain trying to watch otherwiseI got my 16 year old interested into uncle bumblefuck tool box of knowledge and colourful personality and I must say it feels a bit like when we were kids and hang out at Dads or uncle shop and learn so much cool stuff. Cheers

  • @terminashunator
    @terminashunator 6 лет назад +10

    Thank you for the video!

  • @dickking190
    @dickking190 6 лет назад +2

    This might be what I need to automate my little mycology greenhouse. I was going to just use a handful of $1 timers but this looks fun and like I'll actually learn something that I can build on.
    Thanks for helping out the programming-illiterate home gamers!

  • @jytheiowaguy1897
    @jytheiowaguy1897 6 лет назад +3

    I learned to program like this in 1999 lol

  • @sshado2
    @sshado2 6 лет назад +2

    This is just such an incredible video man. I hope you never take these down. Amazing details and explanations.

  • @KrisJJohnson
    @KrisJJohnson 6 лет назад +8

    Santa dew claws is back!

  • @elpadre1156
    @elpadre1156 2 года назад +2

    Ave, I really appreciate this “vijeo”. I am a system engineer. We use application control to identify the communication between these PLCs and SCADA systems for the purposes of segmenting traffic. Until this video, I had never seen a detailed explanation of their inner workings or a demo on how to actually program one of them. Thanks for posting!

  • @alexhaws2377
    @alexhaws2377 6 лет назад +11

    aaaaarrrrrrggggghhhhhhhh my eyes!!!!!!!!

  • @Rcbeacon
    @Rcbeacon 6 лет назад +1

    Brings back memories. Back in the late 80s I designed and implemented a substation tap changer system using two Omron PLCs. The two 33KV to 11KV transformers were about 2 kilometers apart. The PLCs coordinated tap changing communicating with each other using 300 baud modems connected over a dedicated comms cable with high voltage isolation barrier transformers at each end.
    Good PLCs were really expensive back then. The special ladder logic software needed a parallel port dongle and ran on a IBM XT PC and worked quite well. There were no problems with USB or drivers as every PC had 2 serial ports and if you got the wiring correct it all just worked.

  • @noone-nd4ml
    @noone-nd4ml 6 лет назад +3

    We need a back story as to why he's called dew claw

    • @bur1t0
      @bur1t0 6 лет назад +1

      My money is it's because he's a raging alcoholic, they should have cut him off years ago

  • @TheLAXwarrior039
    @TheLAXwarrior039 6 лет назад +3

    Haven't learned this at my engineering college... Prof. aVe to the rescue

  • @Jsu0234m
    @Jsu0234m 6 лет назад +6

    Don't hate on ladder logic too much, i work on ladder, structured text, and function block everyday and I think ladder is the easiest to read and trouble shoot. Click plcs are cheap and work pretty well for what they are. When the downtime costs $1000/min and the GM is breathing down my neck I would much rather be troubleshooting ladder logic than anything else. If you know what your looking for it's fairly easy to find the problem.

    • @kyleg9981
      @kyleg9981 6 лет назад

      Agreed, ladder is very handy for quick troubleshooting, function block is manageable also. Probably all depends on all experience though

  • @ColourOfTheGods
    @ColourOfTheGods 4 года назад +1

    Hey Mr AvE, dunno if you'll read this but what the hell. Very interesting video, really enjoyed it. I'm a software developer - if you have 8000 "rungs" on this thing, doesn't that scale reeeeaaaaallly badly?
    Any way to do objects/functions in order to abstract away those rungs?
    Also, any way to make it non-pictoral so you can just use an IDE?

    • @GuyFromJupiter
      @GuyFromJupiter 2 года назад

      That 8000 rung limit seems pretty small, but then again this is a small, very basic PLC that probably won't ever need to do anything requiring more than that. I'm not sure how they arrived at that number, whether it's literally a hard limit or if it's an estimate based on available resources, but there is probably some way around it. Modern PLCs generally allow the creation of custom functions and data types to be called throughout the program, though I wouldn't be surprised if that isn't supported here. However, if that is something you really need done it can often be done with indirect referencing.
      You should be able to program it by text, but I don't know that it's based on a standard language. I think they are generally based on the same functions used in ladder diagrams and other visual programming styles, but if that's what you prefer it can certainly be done. That said, you are kind of stuck with the manufacturers programming software, because they generally do a lot of configuration and other functions behind the scenes that you don't really do directly with the program, though I'm sure that was pretty obvious based on his 1 or 2 lines of "code" that was a functioning program.

  • @trellend
    @trellend 6 лет назад +26

    I've used one of these on a hydraulic hay press, and it's worked great for 3+ years and still kicking. I thought you were going to slam the device, but you didn't! BTW, you can do a math operation in a one liner based on a scan counter to toggle an LED/output.

    • @arduinoversusevil2025
      @arduinoversusevil2025  6 лет назад +10

      Post code here? Oh wait...

    • @trellend
      @trellend 6 лет назад

      And to make it more fun, you can put the touch screen HMI into the serial. Now you have a fancy setup controlling 40 year old hardware.

    • @trellend
      @trellend 6 лет назад +1

      Ah, it wasn't a one liner, been a while since I worked on it. Basically you do a math SD9 MOD 400 and store somewhere in DS (I used DS2) then a compare of value DS2>200 output to Y101.

    • @trellend
      @trellend 6 лет назад

      |SC6| -> (Out) Y101 That's the 500ms on/off bit

    • @trellend
      @trellend 6 лет назад

      It's not mine, I just maintain the machine. It's the same hay moisture content as bailed hay, low. It's not pellets, it's just compressed so the shipping cost is lower. Purchases are usually for rabbits and other small animals.

  • @linuxguy1199
    @linuxguy1199 6 лет назад +1

    This is the most goddamn confusing programming ive ever seen in my life (and im a programmer)

  • @DanielVidz
    @DanielVidz 6 лет назад +3

    Where is the disable Stuxnet option?

  • @osterberg87
    @osterberg87 6 лет назад +3

    Back in my day, we communicated in long turds and short turds.

  • @toasty4000000
    @toasty4000000 6 лет назад +3

    Oh my god, I heard all your warnings about eye cancer and I was like "how bad can it be". I recently graduated pixie wranglin school where I learned C++, Java, and a few other languages.
    Can confirm my corneas are fucking trashed

  • @AnttiHarri
    @AnttiHarri 6 лет назад +1

    Thanks man! I remembered my own Arduino project about pressure sensors for my air conditioning for my house that I started years ago but didn't finish. Today I made a breakthrough getting it to work. :)

  • @NecroBanana
    @NecroBanana 6 лет назад +4

    My IQ is not high enough to understand this. Rick and Morty fans, please talk down to me!

  • @shiftyschultz3254
    @shiftyschultz3254 6 лет назад +2

    Did you get that one at the faulty Iranian nuclear refinement facility auction?

  • @tonykramer9569
    @tonykramer9569 6 лет назад +10

    The ARM Cortex can only handle input/output of between ground and Vcc (1.7-3.3). Without voltage stepdown logic, 10 volts to the ADCs will result in a thoroughly blown chip. Atmel (Now part of Microchip as you said) offers some higher (5.5-12V) ARM chips, but they still rely on using a Vcc or AREF (analog reference) higher than the voltage being sensed. Great Vijeo as always.

    • @GigAnonymous
      @GigAnonymous 6 лет назад +10

      "voltage stepdown logic" is such a such fancy way of saying "two resistors in series"...

    • @GigAnonymous
      @GigAnonymous 6 лет назад +2

      English isn't my first language, but I'm pretty sure "series" is the correct word. Wire them back-to-back to GND and high voltage, and get the low voltage between the two resistors.

    • @tonykramer9569
      @tonykramer9569 6 лет назад

      Gig Anonymous Its cool man, no worries. While you're definitely right in concept, I'm used to overcomplicated terms due to being an enginerd.

    • @GordieGii
      @GordieGii 6 лет назад

      Tony, voltage divider is just more specific. A square is also a rectangle (and a parallelogram and a quadrangle) but a rectangle isn't necessarily a square.

    • @GordieGii
      @GordieGii 6 лет назад

      Gig, a voltage divider IS two resistors in series, but two resistors in series aren't necessarily a voltage divider.

  • @aesmith8719
    @aesmith8719 6 лет назад +2

    PLC and HMI programming is my career. It's worth a technical schools 2 year program for sure.

  • @shurdi3
    @shurdi3 6 лет назад +1

    Fantastic. I actually have an exam this monday on industrial automation, a good chunk of which involves PLC.
    Will make sure to include your wise words

  • @0calvin
    @0calvin 6 лет назад +1

    I had to debug some faulty ladder code once in a fiber optic spooling machine. Ah, good times. I still have a bit of cancer in my right eye from it.

  • @theevilbeard
    @theevilbeard 6 лет назад +1

    These Click PLCs are very nice. I've moved up to the BRX which are using the Do-More platform now. A little more expensive, but they are amazing. PID control, and much better (and still free) software.

  • @Wrench245
    @Wrench245 6 лет назад +1

    Something I've learned is not to irritate an electrician. Particularly if he knows you. (A pair of linesman pliers to the head hurts, and my friend can throw like Nolan Ryan.) In the business of logistics, PLC's are probably going to become something of a staple, which will make dinosaurs like myself yell at someone to just make it work.

  • @sl1200mk02
    @sl1200mk02 6 лет назад +2

    aside from its rugged good looks and industrial pedigree what's the pro/con vs an arduino?

  • @jiggermole
    @jiggermole 6 лет назад +3

    Dear God that programming. I work with Allen Bradley's all the time but we do have a smattering of Omron and Horner. The Horner language is free as well and their hmi plc combos are actually not bad. But give me rs logix any day. Haven't messed with Siemens any so I can't judge.

    • @kjpmi
      @kjpmi 6 лет назад +2

      Yes, I use RSLogix 5000 (Studio 5000). You don't have to mess with setting bits all that often. It's nice being able to tag with program scope and controller scope tags and alias things.
      Licensing will cost you a pretty penny, though.

    • @jiggermole
      @jiggermole 6 лет назад +1

      kjpmi yeah the ab stuff is ridiculously expensive

  • @_Ramen-Vac_
    @_Ramen-Vac_ 6 лет назад +1

    in the paper die-cutting playground of folder/gluer process machines I had eyes to mount to the trapeze which would time jets of glue right before the first fold. conveyor belt machines are a lot of fun.. I know, this thing could be taught to run all of that shite like x 10,000,000,000... but just the tinkering set-up is such an adventure.. also worked with letter inserters in a junkmail room.. "Winkjet" is one hell of a cool machine. prints different addresses one at a time, switches between envelopes super-quickly. nice look inside of the guts of these beasts.

  • @ZylonFPV
    @ZylonFPV 6 лет назад +1

    As a programmer, the ladder logic did indeed almost cause me eye cancer. Thankfully you forewarned us - I engaged my safety squints and was able to get through it and still enjoyed the video. 🙂

  • @Nono-hk3is
    @Nono-hk3is 6 лет назад +2

    Someone needs to put "Ginger Carefuling" on the AvEisms wiki page. She's officially entered the lexicon.

  • @joeyf504327
    @joeyf504327 6 лет назад +1

    Fun History Fact: PLCs started with Midicon Controls which was branched off of Andover Controls Corp. which was the first digital building system controller that my grandfather started in the 1970s with Sun Keeper Control Corp. which made heating system controllers exclusively for Sun Master Corp. which was his solar heating company.

  • @Elwould23
    @Elwould23 6 лет назад +1

    I worked on those old machines that you had to set dogs and cams while machining. The ol AB's and AC's. That ol WW2 machinery ran pretty true, for what it was.

  • @garryhill6950
    @garryhill6950 6 лет назад +1

    Great video Ave. Pretty soon were gonna need a best of du-claw's quotes from the back of the garage.

  • @christianguk9996
    @christianguk9996 6 лет назад +1

    Im sure this has been asked before. What exactly does AvE have degrees in? Mechanical engineering? Electrical engineering? Machinists? He's absolutely brilliant and hilarious. I want to be on that level.

  • @RickWatsonAustinTx
    @RickWatsonAustinTx 6 лет назад +1

    Wow, very educational! I had never bothered to learn how useful the PLC might be. Usually I just design a purpose-built board, have to get it built or build it myself, do the atmel or PIC programming... I was just about to do an addon for my CNC mill, now I think I'll use a PLC and even replace all the existing relay logic inside the mill. Thanks for your great videos.

  • @ruggerdigger
    @ruggerdigger 6 лет назад +1

    No I don't think those are those at Molex maybe they do make more than one kind probably

  • @xNotSoPro
    @xNotSoPro 6 лет назад +2

    Is it just me or is the audio louder in the right ear?

  • @RMosher11
    @RMosher11 6 лет назад +1

    15:07 My mechanical keyboard detector is going off. Would those perchance be Cherry MX Blue switches??

  • @R9000
    @R9000 6 лет назад +1

    Started my first job this month and we're setting up a Mitsubishi PLC with a bunch of different inputs and outputs; VFDs, an HMI, BLDC motor controllers, etc. Programming is a bit of a pain but at least they have a block diagram/ladder logic hybrid option we can use. Plus it's quite satisfying to hear the relays click whenever you turn something on or off. :)

  • @raymondmucklow3793
    @raymondmucklow3793 6 лет назад +2

    Don't forget Dewclaw you left him in the shop.