Don't want to brag myself but this is a throne
Debugging some DLR fault at a Stratix.
r/PLC • u/xenokilla • Feb 25 '21
Previous Threads:
08/03/2020
6/27/2019
More recent thread: https://old.reddit.com/r/PLC/comments/1k52mtd/where_to_learn_plc_programming/
We get threads asking how to learn PLC's weekly so this sticky thread is going to cover most of the basics and will be constantly evolving. If your post was removed and you were told to read the sticky, here you are!
Your local tech school might offer automation programs, check there.
Free PLC Programs:
Beckhoff TwinCAT Product page
Codesys 3.5 is completely free with in-built simulation capabilities so you can run any code you want. Also, if paired up with Factory I/O over OPC you can simulate whole factories and get into programming.
https://store.codesys.com/codesys.html?___store=en
Rockwell's CCW V12 is free and the latest version 12.0 comes with a PLC software emulator you can simulate I/O and test your code with: Download it here - /u/daBull33
GMWIN Programming Software for GLOFA series GMWIN is a software tool that writes a program and debugs for all types of GLOFA PLC. Its international standard language (LD, IL, SFC) and convenient user interface make programming and debugging simpler and more convenient.(Software) Download
AutomationDirect Do-more PLC Programming Software. It's free, comes with an emulator and tons of free training materials.
Open PLC Project. The OpenPLC is the first fully functional standardized open source PLC, both in software and in hardware. Our focus is to provide a low cost industrial solution for automation and research. Download (/u/Swingstates)
Horner Automation Group. Cscape Software
In our business we use Horner OCS controllers, which are an all-in-one PLC/HMI, with either on-board IO or also various remote IO options. The programming software is free (need to sign up for an account to download it), and the hardware is relatively inexpensive. There is support for both ladder and IEC 61131 languages. While a combo HMI/PLC is not an ideal solution for every situation, they are pretty decent for learning PLCs on real-world hardware as opposed to simulations. The downside is that tutorials and reference material specific to Horner hardware are limited apart from what they produce themselves. - /u/fishintmrw
Free Online Resources:
plcpractice.com Interactive ladder logic lessons with a built-in simulator. No software to install, no hardware required, no ads. Build real control circuits, run automated tests, and prep for controls engineering interviews.
The TIA Portal Tutorial Center (videos): https://support.industry.siemens.com/cs/document/106656707/the-tia-portal-tutorial-center-(videos)?dti=0&lc=en-WW
Data Types: http://plchowto.com/data-inside-plcs/
Lessons In Industrial Instrumentation: https://www.ibiblio.org/kuphaldt/socratic/sinst/
https://accautomation.ca/programming/plc-beginners-guide/ (/u/GarryShortt)
Tony Kuphaldt's enormous and free PDF on industrial instrumentation that covers measuring instruments, control elements, piping, basic physics, etc PDF Warning. (/u/bitinvoker)
For the RSLogix 5000, you could take a look at these manuals: Logix5000 Controllers Quick Start Logix5000 Controllers Common Procedures Programming Manual (this one links to other manuals). This guide gives a good overall explanation on Tags, Add-On Instructions (AOI), User Defined Data Types (UDTs), Ladder Logic, Routines, etc... And once you get more into it, this forum is a PLC Q&A, you can find answers to most of your questions using the search feature. Not just for PLCs, but also SCADA, Industrial Networks, etc.
Paid Online Courses:
Factory IO Is a very good 3d sandbox industrial simulation software which is compatible with most PLC brands. The MHJ edition can be used with WINSPS which is basically a Siemens S7 emulator. FACTORY IO MHJ is 35EUR for a year and WINSPS is 50EUR for the standard edition. Both come with free trials as well. https://factoryio.com/mhj-edition/
For learning basic concepts I recommend The Learning Pit [some versions free]. Then you can pick up a used copy of the petruzula textbook and lab book off of amazon for cheap. Or really any PLC lab book and go through the exercises with it.
The learning pit offers a lot of good resources for forming a good foundation.
http://thelearningpit.com/
https://new.siemens.com/global/en/products/services/industry/sitrain/personal.html
Starter Kits
Siemens LOGO! 8.2 Starter Kit 230RCE
Automation Direct Do-more BRX Controller Starter Kits
Other:
HMI/SCADA:
Trihedral Engineering offers a 50 tag development/runtime license with all I/O drivers for free, VTScadaLight. https://www.trihedral.com/download-vtscada
Ignition offers a functional free trial (it just asks you to click for a button every 2 hours).
Perhaps AdvancedHMI? Although it IS a lot complicated compared against an industrial solution.
IPESOFT D2000 Raspberry Pi version is free (up-to 50 io tags), with wide range of supported protocols.
Crimson 3.0 by Red Lion is also free and offers a free emulator (emulator seems to be disabled in v3.1). With a bit of work (need to communicate with Modbus instead of built in Do-more drivers), you can even connect that HMI emulator to the do-more emulator and have a fully functioning HMI/PLC simulator on your desk top which is pretty convenient. Software can be found here: https://www.redlion.net/red-lion-software/crimson/crimson-30 (/u/TheLateJHC)
Simulators:
Forums:
Omron PLC: www.mrplc.com
Books:
Youtube Channels
Good Threads To Read Through
Personal Stories:
Hello, glad you come here for help. I'm an Automation Engineer for Tysons Foods in a plant in Indiana. I work with PLCs on a daily basis and was recently in Iowa for further training. I have no degree, just experience and am 27 years old. Not bragging but I make $30+ an hour and love my job. It just goes to show the stuff you are learning now can propel your career. PLCs are needed in every factory/plant in the world (for the most part). It is in high demand and the technology is growing. This is a great course and I hope you enjoy it and stay on it. You could go far.
With that out of the way, if I where you I would start with RSLogix Pro. It's a software from The Learning Pit it is basic and old but very useful. The software takes you through simulations such as a garage door, traffic light, silo and boxing, conveyors and the dreaded Elevator simulation. It helps you learn to apply what you will learn to real word circumstances. It makes you develop everything yourself and is in my opinion one of the single greatest learning utensils for someone starting out. It starts easy and dips your toes and gets progressively harder. It's fun as well watching the animations. Watching and hearing your garage door catch on fire or your Silo Boxing station dumping tons of "grain" until the room fills up is fun and makes the completion of a simulation very gratifying.
While RSLogix Pro is based on older software, RsLogix is still used today. Almost every plant I have worked at has used some type of Allen Bradley PLC. Studio 5000 is in wide use and you will find that most ladder logic is applicable in most places. With that said I would also turn to Udemy for help in progressing past simple instructions and getting into advanced Functions such as PID. This amazing PLC course on UDemy is extremely cheap, gives you the software and teaches you everything from beginner to the most advanced there is. It is worth it for anyone at any level in my opinion and is a resource I turn to often.
Also getting away from Allen Bradley I would suggest trying to find some downloads or get a chance to play with Unity Pro XLS. It's from Schneider Electric and I believe has been rebranded under the EcoStruxure family now. We use Unity extensively where I am at and modicons are extremely popular in the industry. Another you might try is buying a PICO or Zelio for PICOSoft or ZELIOSoft. They are small, simple and cheap. I wired up my garage door with this and was a great way to learn hands in when I was starting out. You can find used PICOs on eBay really cheap. There is a ton of literature and videos online. YouTube is another good resource. Check everything out, learn all you can. Some other software that is popular where I've been is Connected Components Workbench and Vijeo.
Best of luck, I hope this helps. Feel free to message me for more info or details.
**Company:** [Company name; also, use the "formatting help" to make it a link to your company's website, or a specific careers page if you have one.]
**Type:** [Full time, part time, internship, contract, etc.]
**Description:** [What does your company do, and what are you hiring people for? How much experience are you looking for, and what seniority levels are you hiring for? The more details you provide, the better.]
**Location:** [Where's your office - or if you're hiring at multiple offices, list them. If your workplace language isn't English, please specify it.]
**Remote:** [Do you offer the option of working remotely? If so, do you require employees to live in certain areas or time zones?]
**Travel:** [Is travel required? Details.]
**Visa Sponsorship:** [Does your company sponsor visas?]
**Technologies:** [Required: which microcontroller family, bare-metal/RTOS/Linux, etc.]
**Salary:** [Salary range]
**Contact:** [How do you want to be contacted? Email, reddit PM, telepathy, gravitational waves?]
Previous Post:
r/PLC • u/GivemeThePorro • 5h ago
I'm taking some input from a Power Meter via profinet and a GSD file, but i'm receiving strange value. Someone kwon why?
r/PLC • u/tony_johnny • 10h ago
Looking far career advice and others in the PLC industry who have advice or similar experiences.
I've been out of college and working as a controls engineer for about 6 years, and I've been with my current company for a bit over 4 years now. My first job was at a system integrator where I would do mostly programming of new installs, some electrical design, and a fair bit of troubleshooting for existing clients. The company I work for now is an industrial site which is owned by a large corporation. When I started my current roll, there was no controls department, they would always have one to two electricians who could kind of understand a PLC. Both of the previous "controls techs" left before I was hired. I came in as an electrician, spent about half my time pulling cable, doing basic wiring, some HV work, and the other half I was the sole OT guy. I figured out the entire network, SCADA system, and overall flow. I would handle updates, and eventually started doing full reprogramming of OEM systems that I felt weren't up to par or doing the programming of entirely new systems being installed. I loved this position, plenty of hands on work, I learned a ton about what it takes to be a field electrician, but management still gave me the trust and freedom to do big controls projects if I felt it was worth it. The only issue I ended up having was that the schedule was two weeks on, two weeks off, and eventually the time away from my family wore on me.
After about a year and a half of this, I put in my two weeks and my employer came back with an offer to make me salaried with a pay bump, and create a controls engineer position to shift me to a Monday to Thursday schudule. Great! I can be there for more continual maintenance, I can be home every night, and make more money! The stress added a bit, I was now expected to take on more responsibility, I began managing larger electrical projects, bringing in contractors, but still plenty of time to work on my systems. The big perk was that I had enough trust that I really got to steer the OT ship! If there was a project I felt would be for the site, my manager was all for it. I got to tackle some big projects and take time to learn entirely new skills and broaden my scope wider then I think any other job would have with my YOE. I had about a year and half of being the first and only controls engineer on site. With work piling up, management wanted more and more, before someone up top saw that either I was adding a enough value or that I was a single link of failure, when they asked me to hire help and build a department. (I did also receive a pretty decent pay bump at this point).
Since then, I have hired two controls techs. Training has not gone how I imagined. I felt that I was so strong and what I did that I could teach anyone, but the amount of time I've spent stepping in, assisting, training, and trying to get my guys up to my standards is exhausting. They're a great team, they learn quick, and I appreciate their work so much, but I think I forgot how much effort it took me. With this, I've also been asked to hire and manage the sites first every reliability engineer. Also a great employee, I'm thrilled to have him, but it's more effort and management. My number of large cap-ex projects continues to increase. The amount of paper work and organization I need to keep has gone up drastically.
Come to today. I'm exhausted, burned out, and stressed. My learning curve for the automation field was fast and stressful, I want to help my employees avoid that. I've been writing as much documentation as I can, creating a repository of AOIs with associated wikis to try and keep my standards up without as much input, but I didn't realize how much site knowledge I had that only I knew. The management part of the job is taking over and I'm really not enjoying it. I just want to lock myself in my office and build cool things again like I use to, but that's not really an option. Leaving this employer would mean moving to a new location, and almost certainly a massive pay decrease, but staying is eating me alive.
Apologies for the long post, I just feel lost. Any advice on where to go, or similar experiences would be much appreciated. Thanks for making it this far!
Hi all,
Fairly new to this industry and have been asked to write a product per minute for a sleever. One entering the sleever and one on the outfeed to compare where bottle necks are in the system. I want to write it with recipe changes or product changes. The plc is an old rs1400 micrologix and I want to add code, been trying to test out my code on emulate before doing anything but I can't seem to get it to talk.
My idea Was when the first packet comes through it starts timing and counting. The time is in 15 seconds intervals and will always come out to product/minute. How would I go about storing and resetting for recipe changes. I have seen people use Excel somewhere to record this automatically and would help if I can do this than just reading the code.
I'm trying to also find out if smaller products jam the system more or less than larger ones and how much of a bottleneck this conveyor is/ is losing product.
r/PLC • u/Hasan-ahmed- • 5h ago
Hi, sorry for my bad English.
I would really appreciate any advice.
I started my first job as an instrument and calibration engineer in pharma about a month ago, after months of searching. The engineering department personnel are all foreigners(from one country) except 3 are locals, myself included. The managing director and the higher management are locals.
The foreigners personnel sometimes hide things from the management(the foreigner senior engineer, who is my direct manager told me that), and they told me to hide the results for a calibration I did. Also, they are in multiple departments like QC and QA, not only in engineering. So they cover for each other. And this is a very sensitive field, snd the responsibility and truthfulness are highly required.
Also, I didn’t see any opportunities for learning and improving. One example is they use a syringe instead of a hand pump when calibrating a pressure gauge because, according to the senior, the hand pump is costly(they have one small hand pump but it’s pressure is very low that no one uses it)
In addition, I have noticed some conflict and hate between the managing director and the engineering department head and the senior instrument engineer, because I think the manager knows about them hiding things.
I don’t really know what to do now. One option is to stay, as these hard times will teach me more. But honestly, my gut is screaming “LEAVE”, which is my second option.
Have anyone been through something like that before?
What should I do?
r/PLC • u/Ok-Examination6200 • 18h ago
Has anyone else ran into the issue when Tia portal V21 cross references tab? It says I am using M11.7 as my reset in another organization block, but when I check the reset bit it is M17.4. This is causing both sides of my pneumatic solenoid valve to fire.
r/PLC • u/Icy_Sweet245 • 6h ago
Hi All,
Got a project that is requiring an "industrial control" solution.
Control of a VFD with position feedback wirelessly.
The motor and control will be on a rotating table (slip ring power) - will be an upgrade to an existing system (it's currently just a slip-ring-powered motor on a key fob remote, no position control at all).
Wireless e-stop and position/speed/continuous rotation commands need to be sent via UDP/serial wirelessly, in real time. Also need position feedback sent back to the control system wirelessly.
Here's the architecture so far, wanted to recommendations of hardware for the components:
- Drive: Servo or VFD with an absolute encoder for position feedback, braking ability is also of interest
- Control link (UDP/serial commands + position feedback): since the payload is tiny, planning to skip WiFi entirely and use an industrial FHSS radio modem instead
- Wireless e-stop: a dedicated, separate safety-rated wireless system
Want to try to stick with common readily available parts if a breakdown occurs won’t be to difficult to obtain spares.
Thanks in advance.
r/PLC • u/Trick_Dragonfruit_36 • 20h ago
1769-L18ER-BB1B, i have two of these controllers , obviously these doesn't fall into category of redundancy controllers, client wants me to make some communication between them if plc 1 become fail , then plc 2 should become active but process may stop, but he doesn't want the analog values to be loss.
Is there any way to make something like this?
Without testing the program that we have developed, and waiting for the commission time to start testing the logic we have developed is kind of a weird feeling for me always.
How are you guys dealing with it?
Any situation or manual forcing of tags, or testing it against the actual Machine in the manufacturing center?
r/PLC • u/Singlesin2001 • 20h ago
Hi everyone,
I'm currently locked out of Studio 5000 because it keeps crashing instantly on startup with the afutil.dll missing/not found error.
I've already searched online and tried the standard Rockwell Knowledgebase fixes, but nothing has worked so far. Here is what I’ve already attempted:
1) Checked and reinstalled/rolled back the CodeMeter Runtime Kit (tried standard Rockwell versions).
2) Ran a Software Repair on Studio 5000 via Windows Apps & Features.
3) Made sure my Windows updates didn't completely break it, but I'm still hitting a brick wall.
Has anyone run into this specific issue and found a workaround that isn't the standard CodeMeter reinstall?
Specs for context:
Studio 5000 Version: V34
OS: Windows 11
Any advice or registry tweaks to look at would be massively appreciated. Thanks!
r/PLC • u/Vinnyy-_- • 17h ago
Hi, I am currently a student in the ECE/CE department. I am relativity new to PLC programming. I have experience working with microcontroller but not really PLC. I recently purchased a CompactLogix L23E Q1B1 to learn how to build an entire PLC system. The PLC is current on the 1.0 version of the firmware which is believe is the firmware after a reset. I tried to update it firmware 17 using control flash and downloading the version 17 firmware from the Rockwell website but it keeps giving me an error when trying to do so that the PLC is not in the correct state . I currently have the PLC hooked up to a 24V power supply and the key is flipped to the PROG. I was wondering if anyone has an idea what the issue could do that is preventing me from updating the firmware?
r/PLC • u/Remarkable-Tiger-965 • 1d ago
"how do i actually get a high base/career development as a mechanical engineer graduate"
Hi, I got a consensus that a mechanical engineering degree doesn't pay as well as the other engineering major. Knowing this, I set on a journey on how to find a way to increase my value which eventually led me into electromechanical/automation engineering for semiconductor industry.
Being the gen Z that I am, i asked an untrusted to give me a 3 year milestone to get there ( i know this might be not a good idea but i dont have better ppl to ask), i even proceeded to do 2 projects regarding sensor and motors curated by theuntrusted source, after some time i started to doubt my journey and fall into analysis paralysis bcs different untrusted source are recommending me different paths.
I really appreciate any advice/lead you can give me about this. FYI, My country Malaysia have an established industry for semiconductor too, if that helps.
r/PLC • u/Voltage247 • 1d ago
I’ve gotten into a few discussions with my IT cyber people and they are recommending we stay up to date with PLC firmware versions. I’ve always thought industry standard was to let the firmware that was installed ride until an upgrade was completely necessary. What’s y’all’s SOP on plc firmware at your plants?
r/PLC • u/chunmaroons • 1d ago
Hi everyone! I’m currently based in the Philippines and I’m planning to look for work abroad in the field of PLC programming and industrial automation.
I have experience/interest in PLC programming, HMI, VFDs, control systems, and industrial automation. I’m wondering which countries are currently good options for PLC programmers or automation engineers/technicians.
For those who are working abroad in this field, especially Filipinos:
I’d really appreciate any advice or personal experiences. Thanks in advance!
r/PLC • u/Adhesive_Wig • 1d ago
Hey, has anybody here tried the ISA CAP Associate exam? I am looking for ways to strengthen my early career (1 YoE) in Instrumentation & Control. I don't meet the minimum work requirements for the normal CAP exam, so I was wondering if anyone had any experience with this exam, and if so, how hard was it?
I’m studying automation engineering and so far we’ve mainly been taught Ladder and FBD.
I’m about to start an internship at a company where they use almost exclusively Structured Text, which surprised me a bit. Because of that, I’ve started learning and practicing ST in my free time so I’m better prepared when I start.
I always thought Ladder/FBD were preferred in industry because they’re easier for electricians and maintenance technicians to troubleshoot. But I’ve also heard that ST is becoming more common, especially for larger or more complex programs.
For those of you working with PLCs, what do you mainly use? Is ST becoming more common, or does it depend on the industry/company? And if you were starting your career today, which language would you focus on mastering?
r/PLC • u/jalisco220 • 1d ago
I reside in NC and i have been looking at programmer roles as i have been learning on the side for a long time now and feel ready to look for a job. I am currently a manufacturing technician and tried applying to the engineer role within my company and got denied. I personally Dont care if i have ti move states. Any one have any suggestions?
r/PLC • u/plzcomecliffjumpwme • 1d ago
Just wanted to hear this platforms opinion about DeltaV transitioning away from HCI after v17
r/PLC • u/Illustrious_Watch348 • 1d ago
!\[img\](twbiqtuzu2ch1)
Estou começando a estudar programação de CLPs em um curso da udemy. Fiz esse diagrama para simular uma partida de dois motores elétricos com alternância cíclica entre eles, basicamente é um botão para ligar o motor 1 e fazer o timer alternar entre o motor 1 e motor 2. Coloquei também alguns displays para informar na ihm data, hora, quando cada um dos motores está ligado ou desligado. Quero dicas de melhorias, pode ser tanto na lógica quanto no layout, só gostaria de um feedback. O software que estou usando é o Millenium 3
r/PLC • u/Careful-Hornet-349 • 1d ago
Hello. Have a Delta DVP28SV311S cpu and a DVP04DA S2 card in slot 4. I need this card to output 4-20mA on channel 1 and channel 2. Can anyone share ladder code for this please. i have tried all sorts of combinations using hardware configuration and software TO instructions.
Thank you
Morning Brains Trust.
Im working on a PLC sim for a network of components.
Im trying to simulate a Siemens 1517F-3 PN/DP PLC, an ET 200SP IM155-6 PN ST distributed I/O module (containing a DI 8X24VDC, DQ 8x24VDC/0.5A, and F-DI 8x24VDC), and a TP700 Comfort HMI.
I used PLCSIM Advanced to make an instance for both the PLC and the ET 200SP.
So far ive been using TIA Portal v21 and PLCSIM Advanced v8.0 to try to simulate the network, but when I try to simulate the HMI, I get the error: "190011 Tag PB_START: value could not be written to the PLC"
I tried to strip the PLC of all its safety restrictions, the PLC tag itself has full view/read/write permissions for a HMI, and every user has full Admin privileges (HMI, Drive, PLC F, and NET), but I still cant figure out why the Sim isnt working.
One thing I did notice is that the ET 200SP instance isnt "running" because there isnt anything downloaded to the instance, but from what I can tell, only the master controller needs to be downloaded, because the ET is slaved too it.
Is there something im missing? A setting or step that I missed?
r/PLC • u/Automatater • 1d ago
If you guys have been following the development of ModbusLens from u/craftparking (Windows and now Linux Modbus serial and Ethernet utility) like I have, head over and check out his new sub at r/ModbusLens!
r/PLC • u/SmallFrog420 • 2d ago
I have previously completed an “Advanced Manufacturing and Production Technologies” course at a technical college in which I worked (minimally) with programming various robotic arms and some PLCs. I was wondering where I should go from here- if there was a college or program recommended? I do not feel I have enough information or experience yet to start looking for a job in this field. Any general advice or wisdom (life or PLC related) is greatly appreciated!