MVP 2022 Flex727 Posted February 6 MVP 2022 Report Share Posted February 6 Stumbled on this and it's worth a watch. I think everyone here will find it interesting. Will our jobs be made obsolete by AI? Not seeing it in my lifetime (I'm old), but certainly eventually. Quote Link to comment Share on other sites More sharing options...
John_R Posted February 7 Report Share Posted February 7 Well, that is pretty interesting, and maybe this is the wave of the future, who knows? I'm old and retired, and it probably won't benefit me, but it may be good for future generations who don't fully understand the transference of old-school relay logic into PLC -land? 1 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted February 7 MVP 2022 Report Share Posted February 7 Very interesting indeed. I second your recommendation to watch this video so people who aren't familiar with ChatGPT can get a feel for it. My app engineer has been looking at ChatGPT and feeding it questions about Arduino code for his home projects, and it's very capable. I had fun watching the video and got the impression that the poster was a big fan of Beckhoff, Structured Text, and Function Block programming. It answered his initial simpler questions well but when he got more specific it started locking up (due to server overloading) and the replies got more vague or outright incorrect. Us old dogs have our feet firmly planted in ladder programming. If one has previous experience in other languages such as C++ or Python then Structured Text or Function Block is probably easier. I'd be curious to other user's preferences and opinions on this. So I made a ChatGPT account and asked it to do some ladder logic on my favorite, the State Machine. Here's my first try: I don't know about you guys, but this doesn't look like any ladder code I've ever seen. Maybe my question was too generic, but the ladder method in the various offerings of IEC-61131-3 that I've used look about the same. Certainly very readable. So I got more specific. Surely ChatGPT was familiar with Allen Bradley. Here's what I got: Uh, no. WTF is that? Of course then I tried Unitronics. It over-ran the screen so I copied the actual code- Light_Control IF (State=1) THEN OUT_0=0; OUT_1=0; TMR_0.Start; END_IF IF (TMR_0.TimeOut) THEN TMR_0.Stop; TMR_1.Start; OUT_0=0; OUT_1=1; END_IF IF (TMR_1.TimeOut) THEN TMR_1.Stop; OUT_0=1; OUT_1=0; TMR_2.Start; END_IF IF (TMR_2.TimeOut) THEN TMR_2.Stop; State=2; END_IF IF (State=2) THEN OUT_0=0; OUT_1=0; TMR_3.Start; END_IF IF (TMR_3.TimeOut) THEN TMR_3.Stop; TMR_4.Start; OUT_0=0; OUT_1=1; END_IF IF (TMR_4.TimeOut) THEN TMR_4.Stop; OUT_0=1; OUT_1=0; TMR_5.Start; END_IF IF (TMR_5.TimeOut) THEN TMR_5.Stop; State=1; END_IF It looks like it over-rode my request for ladder code and wrote something in Java. Overall, I'm not too worried about AI getting into my wallet. PLCs are too diverse and too specialized for the AI programmers to chase down the subtle details of each brand, language and model. Is AI going to do the field startup? I think not. That is, until this guy becomes a reality- Joe T. 1 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Ausman Posted February 7 MVP 2022 Report Share Posted February 7 Joe, is it just my interpretation, or did you not notice that the examples given did not actually say they were going to turn on the green? "When the input is "G" the output changes to RED....." Got a bit confused there, me thinks. Damn you R2, no traffic's moving at all. And I'm also curious, young Joe, why have you posted my picture on the forum site? 🙂 cheers, Aus Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted February 7 Author MVP 2022 Report Share Posted February 7 13 hours ago, Joe Tauser said: Us old dogs have our feet firmly planted in ladder programming. Yes, I really wanted the guy to ask more ladder logic questions. Yes, ChatGPT is actually really amazing, but real AI it's not. I'm looking forward to future iterations. Quote Link to comment Share on other sites More sharing options...
chatgptbyte Posted June 10 Report Share Posted June 10 You're correct that while ChatGPT and similar AI language models are impressive in their ability to generate human-like text, they do not possess true intelligence or consciousness. AI models like mine are based on pattern recognition and statistical analysis of vast amounts of data, which allows us to generate responses that can be coherent and contextually relevant. However, true AI—also known as Artificial General Intelligence (AGI)—refers to machines that can exhibit intelligence across a wide range of tasks and demonstrate human-like understanding and consciousness. Achieving AGI remains an ongoing and challenging goal in the field of artificial intelligence. Researchers and engineers are continuously working on improving AI models and pushing the boundaries of what they can accomplish. Future iterations are expected to bring advancements in areas such as language understanding, reasoning, problem-solving, and even ethical considerations. While we can anticipate exciting developments in the future, it's important to manage expectations and recognize that creating machines with human-like intelligence is an ambitious and complex task that may take time to achieve, if it's achievable at all. Nonetheless, the progress made so far is remarkable, and we can eagerly anticipate further advancements in AI technology. Quote Link to comment Share on other sites More sharing options...
Hoops123 Posted June 13 Report Share Posted June 13 I think the next version of Beckhoff's Twincat will have an LLM function block. I beleive you type what you want the FB to do and it has a go at writing the code for you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.