I don't want anyone getting confused here, IEC languages (even instruction list) are compiled and PLCs have operating systems and those operating systems host a runtime that executes the compiled code. If hes still snooty after that then he deserves the title 'plant asshole'. If you screw up your script you kill someone or blowup a building and lose the company millions. If he screws up his script he gets a compiler error or memory leak. And following all NEC and ISA standards so the code will last 50 years and can be easily modified/interpretted by people who didnt write it. While trying to read/write to dissimilar devices made from manufacturers all over the globe using different architecture some of which were made half a century ago. While trying to do this in as few milliseconds as possible. Then tell him hes not just dealing with variables in a script, but real world mechanical moving objects, process aspects like temperature/pressure that influence and affect everything in your program that you must account for, while also trying to account for safety and operator error. That should shut him up right quick if he knows what assembly is. If plant asshole has a programming background, tell him ladder logic is closer to writing assembly code than high level language like python or java. \*Don't about micropython or the ctypes module, I'm speaking generally. Just because you can make an Arduino blink an LED doesn't mean you have the programming skill to build a solid solution that is extensible and maintainable for many years down the line by people you've never met or spoken with. There's a lot more to software development than getting something to work once under very specific conditions what's more valuable is being able to reasonably prove that it will behave correctly under adverse conditions and corner cases, which for any non-trivial system is impossible to do in a short amount of time for anybody not named Ken Thompson. Matlab, because it is is shit and wasn't really "designed" as much as it was kludged together over time and Python because, while it's a great general-purpose language, lacks bounded execution time and easy access to hardware*. In a plant, however, you're usually dealing with some pretty simple IO that doesn't benefit from the flexibility/power of a real programming language (C/C ).Įven if you concede that an embedded solution is the right approach, Python and Matlab are not really used for professional controls projects. If you have complex logic, extreme real-time constraints, large volume, or don't need easy field-serviceability, then there are strong arguments to be made for embedded solutions. Being able to easily add/remove/replace IO cards is huge, even if you have to use a shitty environment like IEC 61131-3 to do it. That being said, you're also buying into your chosen vendor's hardware line, which they've spent considerable effort integrating into their programming environment. Trying to write code in a PLC environment after being proficient in literally any wide-spread "normal" language is like being told you need to travel from LA to NYC via unicycle while wearing a straightjacket, even though you own and are licensed to operate a 747. The whole point of PLCs is that you trade having a language that's pleasant to program in and extensible/powerful for simplicity, reliability, and field serviceability. Please click "report" on spam Related sub-reddits: (*) At mods' discretion, certain self-promotion submissions from people who contribute to this sub in other ways may be allowed and tagged with the "Self-promo" flair Job offers and requests go to the weekly thread.No shit posts (memes - pictures with superimposed text - are OK).If asking a question, ask the actual question, fully yet concisely, right in the title.Be civil: do not insult no all-caps, no excessive "!" and "?", please.Job announcements (oustide the monthly job thread).Single Board computers: r/Raspberry_pi, r/Arduino, r/linux_devices, r/linuxboards.Hardware design that does not include a PLC for electronic circuits: /r/AskElectronics.PLC internship, employment and education questions.Homework help but make it clear it's homework.This sub is dedicated to discussion and questions about Programmable Logic Controllers (PLCs): "an industrial digital computer that has been ruggedized and adapted for the control of manufacturing processes, such as assembly lines, robotic devices, or any activity that requires high reliability, ease of programming, and process fault diagnosis." On topic subjects
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |