You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old September 24th, 2023, 04:01 AM   #1
teddygrilledcheese
Member
United States

teddygrilledcheese is offline
 
Join Date: Sep 2023
Location: United States
Posts: 1
Cool I made a PLC AI assistant that references manuals

I think it's really tedious to dig through long manuals so I made an AI tool that can:

- Answer questions about parts without digging through PDFs.

- Generate code snippets based on supplier manuals.

Here's a short video demo you can watch

You can use it for free - just let me know, how can I make this more useful for you? or are there any other feature requests to solve something for your specific workflow?

Learn more here

Try it here
  Reply With Quote
Old September 24th, 2023, 08:56 PM   #2
mk42
Lifetime Supporting Member
United States

mk42 is online now
 
Join Date: Jun 2013
Location: MI
Posts: 3,150
Best of luck in your endeavors!



I'm not an expert, but every system of these I've ever seen has been killed by the fact that it doesn't actually understand the info, it just says something that sounds good. This is double dangerous, because to someone who doesn't know what they are doing, the instructions sound super plausible, but are plain wrong. I've never yet seen an implementation that can say "I don't know" or "I'm sorry Dave I'm afraid I can't do that".

example Q:
how to set up profinet in L83

A:
Quote:
To set up Profinet in L83, you will need to follow the steps below:
  1. Open the Hardware Configuration Utility in VersaPro by double-clicking on "Hardware Configuration" in the Folder Browser.
  2. Configure the PLC by adding it to the utility.
  3. Open the Ethernet tab in the CPU's configuration window.
  4. Set the following parameters:
    • Adapter Name: Specify a name for the PLC during EGD configuration in VersaPro.
    • IP Address: Set the IP address for the PLC.
    • Subnet Mask: Set the subnet mask for the PLC.
    • Gateway IP Address: Set the gateway IP address for the PLC.
    • Status Address: Specify the start of an 80-bit global status area. This can be kept at the default setting.
  5. Save the hardware configuration to disk.
  6. Return to VersaPro and select "Tools" > "Communication Setup" to open the Communication Configuration Utility.
  7. Ensure that the PLC is listed in the utility with the correct IP address. If not, add it using the "Refresh List" option.
  8. Select "Device" > "Set Temporary IP" to assign a temporary IP address to the PLC. This is necessary before setting permanent IP address.
  9. Enter a temporary IP address in the dialog box and click "Set". It is recommended to use the same IP address that will be permanently saved later.
  10. Select "Device" > "Parameter Settings" to define communication settings between the PC and the PLC.
  11. In the Parameter Settings dialog, enter the permanent IP address, subnet mask, and gateway (if applicable).
  12. Click "Download" to transfer the settings to the PLC. You can check the settings by clicking "Transfer Setup" or selecting "Online" > "Transfer Setup" from the main menu.
  13. Power cycle the PLC for the network parameter changes to take effect.
Please note that the instructions provided are based on the information given in the provided text. It is always recommended to refer to the manufacturer's documentation for the most accurate and up-to-date instructions.
You ask about an L83, it gives you instructions in VersaPro.
  Reply With Quote
Old September 25th, 2023, 03:13 AM   #3
L D[AR2,P#0.0]
Lifetime Supporting Member
United Kingdom

L D[AR2,P#0.0] is offline
 
Join Date: Nov 2006
Location: UK
Posts: 6,656
Hopeless, but slightly better than ChatGPT.
Attached Images
File Type: jpg stlai.jpg (133.8 KB, 142 views)
__________________
S7-300 to 1500 conversions done - email (minus the spam) to spams7conversions@hotmail.com
  Reply With Quote
Old September 25th, 2023, 03:30 AM   #4
JesperMP
Lifetime Supporting Member + Moderator
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: ᚴᚬᛒᛅᚾᚼᚬᚠᚾ
Posts: 16,131
My question:
Quote:
How do I setup an F(x) trend in TIA WinCC Comfort
The answer is very generic, and doesn't tell you about some of the important decisions you have to make.
edit: Reading the answer again, I see that it is misleading. You cannot make an f(x) trend with only 1 tag.
Quote:
To set up an F(x) trend in TIA WinCC Comfort, you can follow these steps:

Open TIA WinCC Comfort and create a new project or open an existing project.
In the project tree, navigate to the "Tags" folder and create a new tag for the F(x) trend.
Configure the tag properties, such as data type, address, and scaling if necessary.
In the project tree, navigate to the "Trends" folder and create a new trend.
Configure the trend properties, such as name, duration, and sampling rate.
In the trend configuration window, click on the "Add Tag" button to add the previously created F(x) tag to the trend.
Configure the display properties of the F(x) trend, such as axis scaling, colors, and legends.
Save the project and compile it.
Download the project to the HMI device.
Run the HMI device and navigate to the F(x) trend screen to view the trended data.
Please note that the specific steps may vary depending on the version of TIA WinCC Comfort you are using.
The disclaimer at the end is a bit lame:
Quote:
It is recommended to refer to the user manual or documentation provided by Siemens for detailed instructions on setting up trends in TIA WinCC Comfort.
Basically, it says that you should read the original manuals anyway.

I am sorry to say this, but I am very doubtful about this service.
The problem isn't reading the manuals. If you cannot be bothered to read the manuals, then you shouldn't be in this business.
The problem is more how to FIND the correct manual or sample project. This is also much less of a problem than it used to be. With google you can often quickly find the manual or support entry to match your device or question.
__________________
Jesper
NOTICE:
JesperMP has passive-aggressive tendencies, can be impolite and may even use sarcasm !
Also: ᛁᚠ ᚢᚬᚢ ᚴᚬᚾ ᚱᛅᚬᛏ ᚦᛁᛋ ᚦᛅᚾ ᚢᚬᚢ ᚼᚬᚠᛅ ᚴᚬᛁᚾᛅᛏ ᛘᚢ ᚱᛅᛋᛒᛅᚴᛏ

Last edited by JesperMP; September 25th, 2023 at 03:36 AM.
  Reply With Quote
Old September 25th, 2023, 04:09 AM   #5
JesperMP
Lifetime Supporting Member + Moderator
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: ᚴᚬᛒᛅᚾᚼᚬᚠᚾ
Posts: 16,131
Another thought.
Do you somehow filter out any questions related to safety and/or safety PLCs ?
One thing is general PLC related questions. But safety is another level of consequences if your AI provides misleading answers !
__________________
Jesper
NOTICE:
JesperMP has passive-aggressive tendencies, can be impolite and may even use sarcasm !
Also: ᛁᚠ ᚢᚬᚢ ᚴᚬᚾ ᚱᛅᚬᛏ ᚦᛁᛋ ᚦᛅᚾ ᚢᚬᚢ ᚼᚬᚠᛅ ᚴᚬᛁᚾᛅᛏ ᛘᚢ ᚱᛅᛋᛒᛅᚴᛏ
  Reply With Quote
Old September 25th, 2023, 07:17 AM   #6
AlfredoQuintero
Lifetime Supporting Member
Japan

AlfredoQuintero is offline
 
Join Date: Feb 2015
Location: Yokohama
Posts: 1,416
When the latest version of ChapGPT, a few days after in some of the podcasts I listen to regularly, the host said something to the effect (I asked the AI to write an essay about 'XXXX' as if it was written by 'YYYY ZZZZ' (what is the host of the podcast, or one of the co-hosts, usually the male one, have yet to hear this from a female pod caster).
Particularly hilarious was Peter Zeihan's video on this.

I have read that if the AI gets some very specific requirements on how to develop and algorithm it provides sometimes useful insights. But to expect that at this moment at least one can ask the AI how to configure a communication module, or as Jesper says, explain how to develop a safety application, I feel that someone who thinks he or she needs an AI for this purpose perhaps should think about finding another job.
  Reply With Quote
Old September 25th, 2023, 07:25 AM   #7
geniusintraining
Lifetime Supporting Member + Moderator
United States

geniusintraining is offline
 
geniusintraining's Avatar
 
Join Date: Jun 2005
Location: SC
Posts: 8,170
So are these only questions that will be found in the manuals? So its like a big manual that filters the answer?

I thought it may be good for homework, so I asked.... "how do I make a latching circuit in ladder logic?" and I got "Thinking..." I think I broke it
__________________
www.PLCCable.com PLC Communication Cables, PLC Trainers, MicroLogix, ControlLogix, Siemens, Allen Bradley and more...OEM and aftermarket supplies... Aftermarket 1784-U2DHP Allen Bradley USB to DH+, new USB to 485 modbus

Last edited by geniusintraining; September 25th, 2023 at 07:29 AM.
  Reply With Quote
Old September 25th, 2023, 09:41 AM   #8
modiconguy
Member
Canada

modiconguy is offline
 
Join Date: Oct 2020
Location: Toronto
Posts: 40
Quote:
Originally Posted by JesperMP View Post
Another thought.
Do you somehow filter out any questions related to safety and/or safety PLCs ?
One thing is general PLC related questions. But safety is another level of consequences if your AI provides misleading answers !
How to configure safety analog outputs on Rockwell RSLogix 500

To configure safety analog outputs on Rockwell RSLogix 500, you can follow these steps:
  1. Open RSLogix 500 and navigate to the project where you want to configure the safety analog outputs.
  2. In the project tree, locate the safety analog output module that you want to configure. This module will typically have a catalog number starting with "1756" or "1769".
  3. Right-click on the module and select "Properties" from the context menu.
  4. In the module properties window, go to the "Configuration" tab.
  5. Here, you can configure the settings for the safety analog outputs. This may include specifying the range, resolution, and other parameters specific to your application.
  6. Once you have configured the desired settings, click "OK" to save the changes.
  7. Assign the safety analog output module to the appropriate tags in your program. This will allow you to read and write values to the analog outputs.
  8. Double-click on the tags associated with the safety analog outputs and enter the desired values. This will determine the output signal that is sent to the connected devices.
  9. Save your project and download it to the controller to apply the configuration changes.
Please note that the specific steps may vary depending on the exact model of the safety analog output module you are using. It is recommended to refer to the documentation provided by Rockwell Automation for detailed instructions specific to your module.
  Reply With Quote
Old September 25th, 2023, 01:45 PM   #9
Ken Roach
Lifetime Supporting Member + Moderator
United States

Ken Roach is offline
 
Ken Roach's Avatar
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 17,310
Excellent examples of the output of the language model giving bad advice, with bad references that don't say what it "thinks" they say.

For anyone reading who isn't an expert: RSLogix 500 is for SLC's, not GuardLogix or Compact GuardLogix. There are no 1756 or 1769 analog safety modules. Yet it cheerfully tells you how to use both together.

The practical problem is that if this sort of AI-generated stuff actually gets used or produced by inexperienced people who don't understand not to trust it, then you can get real catastrophes if safety-based systems are involved.

Even here, we're spending time explaining to people who are all excited about the reasonable-sounding results from the chatbot that no, that's not what that manual says, and the manual is for something different entirely.

I'm sitting here in a machine shop in eastern Ohio for the past week because my junior engineer Googled a user manual for an analog module that is one character off from the one that was actually installed, and hooking up with the wrong wiring diagram damaged a load cell mounted deep inside a 50-ton weldment.

And that's just a bad assumption and simple error, made in good faith. AI allows people to make thousands of bad assumptions per second.

Are AI language models amazing ? They are. Are they likely to be trainable to more closely emulate human expertise ? They might be.

But this all feels a great deal like spending the holidays last year with my teenage nephew who was really, really, really eager to tell me about how rich he was going to get in crypt0 currency.
  Reply With Quote
Old September 25th, 2023, 06:27 PM   #10
ASF
Lifetime Supporting Member
Australia

ASF is offline
 
Join Date: Jun 2012
Location: Australia
Posts: 3,843
Quote:
Originally Posted by Ken Roach View Post
AI allows people to make thousands of bad assumptions per second.
That is one of the best descriptions of AI I've ever heard. I'm filing that one away for the next time a customer asks me if I can deliver a 12 month project in 3 months using AI

I've had mixed results with AI.

I was looking at a very specific problem relating to Logix Motion PLC's a few months ago, and put in a call to Tech Support. I spoke to a rep I'm familiar with, that I'm confident knows his stuff. He said he wasn't sure off the top of his head and was working from home that day, but would set up a test rig in the office tomorrow and test it and call me back with the results.

In the meantime, my boss suggested I ask ChatGPT. I was skeptical, but asked it the question just to see what it would say. It gave me quite a detailed answer, which I would summarise as "not a great solution, but a passable workaround if no other option exists".

The next day, Tech Support called me back, confirmed my suspicions of the limitation, and offered the exact same workaround that ChatGPT had provided.

I've had good results in two other instances - I have an absurdly over-engineered system keeping the plants on my balcony watered that gathers data from the local weather bureau, and emails me when something needs my attention. At some point the weather bureau changed how they made their data available, and Google turned off a security setting that my code relied on to send the emails. ChatGPT took my old code and updated it to work with the new restrictions in both cases, in only minutes instead of the days it took me to work it out on my own, several years back before ChatGPT existed.

Other times it's been...less than helpful. I've asked it to review some documentation for spelling errors or references to an irrelevant system that I copy/pasted the initial document as a basis for. It missed several. I've also tried to use it to help me find where to look for certain settings or functions as I learn a new SCADA platform (Wonderware) and it's been only slightly better than useless. It can't write ladder logic to save it's life, and some of the information it gives me sounds good but is flat out wrong.

For me, if it's helping me to do something that I already know how to do/would be able to work out given time and patience, it's a useful tool to help me along and automate some of the tedious grunt work. But if you're trying to use it to do something you don't know how to do yourself, you're not gonna have a good time.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
rslogix 5000 - newbie doubt kuppe35 LIVE PLC Questions And Answers 10 February 3rd, 2021 11:53 AM
Need manuals for PLC GouldA185 & Programmer P!!) abdou LIVE PLC Questions And Answers 3 July 27th, 2007 07:57 AM
Does anyone have AB plc to modem communication student manuals? plcdad LIVE PLC Questions And Answers 4 May 26th, 2007 03:20 PM
Mitsubishi problem gunther LIVE PLC Questions And Answers 11 June 17th, 2006 11:01 AM
Real World Problem Vietnam Bob LIVE PLC Questions And Answers 8 November 23rd, 2002 04:03 PM


All times are GMT -4. The time now is 01:26 PM.


.