News for hackers. Stuff that matters.
Re:Siemens LOGO PLC turns 25 by karmicthreat on Thursday November 11, 2021 @09:03AM (#29187906)
Codesys for the Raspberry pi is pretty capable also. Just get some cheap remote io and you can do almost anything.

That said, I still hate just about everything when it comes to PLC environments.

Copia.io is at least trying to get git going for a market that eschews version control.

Re:Siemens LOGO PLC turns 25 by OneTimePetes on Thursday November 11, 2021 @09:10AM (#29187975)
Honestly i do not understand that large SV-Companies like Amazon or Tesla not just roll out there own equipment and steam-roll this whole deprecated industry. Any IDE + git is superior to almost anything they have currently shipped. (Beckhoff at least tried)

I can only imagine the scene of a PLC-Programmer explaining to Elon, that instancing the exact same machine will take the exact same development time again & again. Cause using Parameter & Configfiles is not done - instead its pasted into the code.

Add a Steam like Online-Software shop (Dev to Dev) to it while basically vendoring the equipment for cheap and you got the whole Eco-system cornered happily forever after.

This nightmarish pre-historic dinosaurs with copy & paste monks producing software - have to go. The 80s are over.

Re:Siemens LOGO PLC turns 25 by karmicthreat on Thursday November 11, 2021 @09:57AM (#29188475)
Nobody wants it and the few that want it don't want to pay for it. Control engineering really isn't a branch of CS, its culturally its own thing.

Also, liability is a never ending hole with the actual PLC. If your web3 capable PLC keeps even 100-500K/Hr of production from running, then people will probably legally come after you.

I've though several time about building a PLC ecosystem taking the best of modern systems. Building up new features to allow the actual equipment manufacturers (OEMs are under-served) to rapidly spin up and manage variants. And enough ecosystem security that at least your production systems won't be ransomwared. But unless there is a wealth person or huge company out there that just absolutely wants to fund it, it's not economically viable (If you are that company or person, contact me).

The dealer networks and middlemen gatekeep the market pretty severely. You would have to essentially hand hold engineers into using it. And you are going to have a hard time selling it to risk-adverse C and D level managers.

Re:Siemens LOGO PLC turns 25 by zwieback on Thursday November 11, 2021 @09:37AM (#29188238)
Our technicians, who never took a programming class, maybe never went to college, can wire up thermocouples, motors, pressure transducers, etc. Then throw together some ladder logic to make everything work. You're right about the atrocious PLC SW environment but you're proposing to elevate all those jobs to an engineering function.
Re:Siemens LOGO PLC turns 25 by OneTimePetes on Thursday November 11, 2021 @09:43AM (#29188312)
No, i do not. But i suggest having environments, that teach those technicians over time the basics and shove them towards searching for engineering knowledge for solutions and incooperate best practices.

I'm violently opposed to crunching those "self-thought" to death in no-code-marathons were they are expected to realize complex behaviour with declawed software-Lego-bricks.

Software is eating their world too. Have you ever seen the eyes of a guy who copy pasted a "pallet" structure together, because he never knew about arrays?

PostScriptum:

>Nobody wants it and the few that want it don't want

>to pay for it. Control engineering really isn't a

>branch of CS, its culturally its own thing.

I have heard these lines a thousand times by now.

Its different - we have processes that require hard "Real-time"-capable hard and software..

So.. Space X and all those other projects using hard real-time in the lower decks, are not software controlled devices?

Its different -we have physical processes we control at the end of day. So a amazon package logistic center is not a physical process? A self-driving car is not a physical process?

Its different, reliability is huge if the process ever fails. So Google and AWHs DevOps do not have that pressure?

Its exactly this. Just another, run-down department of CS. Run-down to save a few cents and now running into the limitations its No-Code solutions impose. Grinding good, untrained people to dust, because it wants to save money. And thus ready for disruption.

Re:Siemens LOGO PLC turns 25 by CaciaraAsAServi on Thursday November 11, 2021 @10:22AM (#29188792)
eh, eh, I know what you mean, but in my opinion most vendors are honestly putting effort into modernizing development practices; sure, they're the usual money-grubbers we all know and love ( not! :D ), and gatekeeping is strong, but on the other hand, the sector is so vast, you are dealing with a culture which is so dragged back by past traditions, and last but not least, one's "gatekeeping" is the other's "professionalism".

Edit: Not to say that most of the times we are talking about small operations, where the PLC programmer is also electrician, plumber, chemical eng., mechanic, etc. ...

We are not only talking about big corps where hyperspecialization is the norm, the bulk of the users are (literally!) jack-of-all-trades, software is only a part, and in many cases a marginal one at that. People who have to do with PLCs are IMO far, far more diverse than the other kind of software developers.

Re:Siemens LOGO PLC turns 25 by karmicthreat on Thursday November 11, 2021 @10:34AM (#29188985)
Allen Bradley has 60-70% market share in the US, is objectively terrible and has been for a long time.
Re:Siemens LOGO PLC turns 25 by CaciaraAsAServi on Thursday November 11, 2021 @10:39AM (#29189072)
I meant "the most advanced" vendors ;-)
Re:Siemens LOGO PLC turns 25 by OneTimePetes on Monday November 15, 2021 @03:35AM (#29225121)
Our company developed for twincat3. Yes there is progress. And yes it is very slow. None the less - the inheritance & interfaces work. And the community produces great stuff - low and behold. A wild UnitTest framework for PLCs appears.

https://tcunit.org/

Im not pessimistic. Im just realistic. This is not enough speed to keep up with something disruptive brewed within AMZ or TESLA.

All they have to do is piss of a billionaire with delays one to many times..

Re:Siemens LOGO PLC turns 25 by CaciaraAsAServi on Monday November 15, 2021 @06:08AM (#29226037)
> All they have to do is piss of a billionaire with delays one to many times..

...and nobody will follow their lead [as quickly as you comment seems to suggest].

I've just come out from a discussion with a customer (young guy, circa 30, not a "boomer"), head of a major wastewater treatment plant in my circa 4 million ppl. metro area...he doesn't trust software, he would rather put relays everywhere and go on like that.

The problem is not only the velocity of those who produce the systems, it is also the mentality at the end users' side.

This is why I say that the transition will be slower than it could be; there are so many parts involved.

If it only were a problem of "rate of innovation produced per unit of time" I would 100% agree with you (and not only 50% as I do :-) )

(BTW, any industrial automation person living in Northern Italy: be wary when working for the company whose name is like "ZIP code" in Italian, there is lots of work to do there, but the technical org is suuuuuch a mess)

Re:Siemens LOGO PLC turns 25 by zwieback on Thursday November 11, 2021 @10:43AM (#29189143)
I didn't write what you quoted but, okay, nice rant.

I think we need to distinguish SpaceX, Tesla, Amazon, where of course highly qualified embedded systems engineers are needed from the guy in Kansas automating some straightforward production tools. Horses for courses.

Re:Siemens LOGO PLC turns 25 by CaciaraAsAServi on Thursday November 11, 2021 @09:41AM (#29188277)
If one wanted to be a bit sneaky, one may ask to any tech-bro: and what about you, can you wire a thermocouple?
Re:Siemens LOGO PLC turns 25 by CaciaraAsAServi on Thursday November 11, 2021 @10:13AM (#29188680)
You are partly right, but it is not so bleak, come on.[1] It is true that the average programming practices in the sector are pretty outdated, but we do have forms of code reuse like function blocks and functions, some form of code generation via the APIs of various IDEs, etc.

The thing is, this sector is SO vast.

(Modern) software will take quite a bit to eat this world, at least simply for its size.

Industrial automation goes from smalltown electricians (this particular LOGO PLC lineup is targeted at these people), to builders of small machines still hugely relying on electro-mechanical components, to world-wide corporations, with varying levels of regulation, tolerance to risk, and so on. Not to say anything about truly advanced deployments in science projects, etc. We are basically talking about the WHOLE of what used to be called the "secondary sector of the economy", and part of the primary, AND part of the tertiary! [2]

The IEC standard, the most advanced products of nearly every vendor, and the most advanced users, are going towards (sure, at their own pace, but still) modernity, but it's just a part of a vast ocean. I personally don't think I would exaggerate if I said that the variety of attitudes towards software in industrial automation is far, far greater that the one in the "normal" software industry; coupled with the other constraints expressed in other comments, that means that is not so simple for modern practices to win, they eventually will, but it will take a quite a bit.

[1] many might laugh at the content, but have a look at the programming guidelines by Siemens https://support.industry.siemens.com/cs/document/81318674/pr... and while I am at it at https://www.plc-security.com

[2] https://en.wikipedia.org/wiki/Three-sector_model

Re:Siemens LOGO PLC turns 25 by ishikawa on Thursday November 11, 2021 @09:13AM (#29188001)
They do that on a higher level, after the PLC. But for PLC, you need something robust and is not easy for them to it just for themselves without scale.
Re:Siemens LOGO PLC turns 25 by karmicthreat on Thursday November 11, 2021 @09:07AM (#29187947)
Also good god, why are we not using certs for security on PLCs. This should have been a thing a decade ago. Only one vendor even bothers currently (Bedrock).
Re:Siemens LOGO PLC turns 25 by p_l on Thursday November 11, 2021 @02:47PM (#29192258)
OPC UA support on at least Siemens S7 line supports certificates but you have to lock out S7 native protocol out by firewall or something.
Re:Siemens LOGO PLC turns 25 by ishikawa on Thursday November 11, 2021 @09:12AM (#29187994)
Copia's mission is great and it change this market. The new Automation Engineer needs to understand much more about software now.
Re:Siemens LOGO PLC turns 25 by jiimmycopia on Thursday November 11, 2021 @04:54PM (#29193683)
:)