Gollam, do not go away yet!
For a PLC, or anyting else for that matter, to be reffered to as a "Master", it must have a slave. The terminology is now changing, for political correctness, to "Leader/Follower"
In this facility, where I am currently employed, I program and use the PLCs as a "Buffer" between the machine and the highly trained, highly skilled operators. zzzzz I call them highly trained skilled operators because an unskilled person would just let the machine do it's job. A skilled operator can come up with all sorts of ideas how the machine will perform much more to their liking in manual mode when they do this, or that, or a combination of three buttons from the right hand, two buttons, one selector switch from the other, and the left knee goes here, but only on Tuesday, the rest of the time you do not use the knee.
Also, here, we do not refer to them as slaves or followers. They are the coconuts. I did not come up with the name, but they have earned it.
Do not take up programming if you do not have a great imagination for what a coconut can do, even if you believe it to be impossible. The PLC is there to keep the mechanic/coconuts from touching to much inside of that cabinet with the humming stuff and the little pretty lights.
The little flashy light thingys on the front of that box do-hickey, scare them. All of the wires do too.
This is only the beginning of the grand conspiracy of which you are asking. Also there is that black box that those who know, carry around, to help calm the machine back down. I can not tell you what we do with that black box, or the others will come and get me and do things to make me a coconut! bonkhead
So, in summary:
The Slave/Follower/coconut does only what the Master/Leader allows.
If the PLC is truely the Master over the human race (only the coconut style of humanoid) then what is the one who tells the Master what to allow??
Study on this question Gallom and contemplate your future.
My future has beer in it, in about 4-1/2 more hours!
12 hours a day/7 days a week making sure the coconuts do not split open.
One other thing that they will NOT teach you in class. You must learn how to capture and trap the "Not me" ghost. He/she/it has several different aliases also: "I was on break", "I don't know", "It's been doing that for weeks", "You guys changed something in the program"(That is one of my personnal favorites)........ and the list goes on.