How different is PLC programming from regular computer programming?

indigoer

Seniorius Lurkius
2
Recently I became interested in PLC programming. I'm not planning on working in this field on building a career, just want to play with a bit. I've some background in software development and wondering how different and difficult the PLC programming is.
Few questions I'd like to ask:
[*]How difficult it's to learn it without going to college just by tinkering with PLC simulators and learning from internet?
[*]How different it's from regular PC programming.
[*]In case I want to try programming a real PLC instead of a simulator, what is the best place to get one? I know automationdrect.com is good choice for those who lives an America, but I'm in Europe.
Thanks.


EDIT: Thank y'all for the replies. I finally bought a VFD from them.I also signed up our local course on PLC programming. Gonna start learning on March 2nd
 

fitten

Ars Legatus Legionis
55,632
Subscriptor++
It's been literally decades since I did any PLC programming but back then it mostly depended on what parts you were using as to what tools you'd use. Simple PLD or something up to a FPGA were different back then. PLDs were less like programming (netlists) but the FPGAs were more like programming (VHDL). Still needed to be more aware of what buses were, clocks, the number of pins your device had, what they could do (input/output), etc. back then so hopefully/probably things are easier now. We'd write VHDL describing what we wanted to do, compile it, simulate it, etc. and then when happy, we could actually place and route (ASICs even). Probably not much help to you since I'm so long out of the loop but if you have some programming background and probably have some grasp of actual hardware, you'd probably be able to pick it up without too much trouble.
 
It's been literally decades since I did any PLC programming but back then it mostly depended on what parts you were using as to what tools you'd use. Simple PLD or something up to a FPGA were different back then. PLDs were less like programming (netlists) but the FPGAs were more like programming (VHDL). Still needed to be more aware of what buses were, clocks, the number of pins your device had, what they could do (input/output), etc. back then so hopefully/probably things are easier now. We'd write VHDL describing what we wanted to do, compile it, simulate it, etc. and then when happy, we could actually place and route (ASICs even). Probably not much help to you since I'm so long out of the loop but if you have some programming background and probably have some grasp of actual hardware, you'd probably be able to pick it up without too much trouble.
PLC != PLD. PLCs are heavily used in industrial environments to control equipment and are not chip-level hardware.

To answer the OP:
You can definitely learn it on your own. Some of the electricians I interact with are self-taught, while others attended either PLC-manufacturer classes or the local community college. A simulator or physical hardware is important, as it's the only way to test the logic you build. Ebay should be an acceptable source of used hardware, if you're going that route.

Note that there are several manufacturers of PLC equipment (Allen-Bradley, Siemens, Bosch, etc). They all have their own software stack specific to their hardware, and may or may not charge for said software stack in addition to charging for the hardware. Instead of the languages you may be used to in software dev, many PLCs are programmed via ladder logic.

If you have the budget for it, there are commonly "Intro to [a given PLC platform]" style courses available. These are usually instructor-led and have hardware on hand to learn on.

Many concepts of software development map over to PLC programming, but expect differences in terminology, and (in my experience) a lot of "I'll develop directly in production"-level bad practices. Tools and techniques that you take for granted in software dev may not have direct equivalents. The PLC field as a whole feels (again, in my experience) like it's a decade or two behind software dev in best practices.
 

fitten

Ars Legatus Legionis
55,632
Subscriptor++
It's been literally decades since I did any PLC programming but back then it mostly depended on what parts you were using as to what tools you'd use. Simple PLD or something up to a FPGA were different back then. PLDs were less like programming (netlists) but the FPGAs were more like programming (VHDL). Still needed to be more aware of what buses were, clocks, the number of pins your device had, what they could do (input/output), etc. back then so hopefully/probably things are easier now. We'd write VHDL describing what we wanted to do, compile it, simulate it, etc. and then when happy, we could actually place and route (ASICs even). Probably not much help to you since I'm so long out of the loop but if you have some programming background and probably have some grasp of actual hardware, you'd probably be able to pick it up without too much trouble.
PLC != PLD. PLCs are heavily used in industrial environments to control equipment and are not chip-level hardware.

Good point :) In my defense, I've been having a bout with bronchitis the last 3 days and I was prescribed some good cough medicine.