Let’s look at a new project for my channel. In this case, it involves material entering a roundabout from two different entry points; the material enters the roundabout and proceeds to the configured exit whenever conditions allow. The plan is for us to implement this using the PLC first, and then ask the AI to do it as well so we can compare the results. I should mention right away that AI isn’t highly specialized in PLC programming, but that doesn’t stop us from asking it and comparing the outcome once we’ve gained our own experience—though, as always, we’ll take it one step at a time.
This process will—or at least is supposed to—allow the student to gain valuable insights into their programming style, their shortcomings, and the errors they make; essentially, to put it simply, it allows them to get a second opinion on the matter.
Here is the scenario; I hope the community can discuss and work on it together. I’ll participate if there is enough interest.
Here is the scene in action; now follow the AI’s instructions, and you will see that if you aren’t clear about what it is asking, the scene won’t work:
The best way to learn programming is to download the scene and try to recreate it—including discussing it here; that way, you can exchange viewpoints and learn from one another.
We carry out every possible maneuver to allow two parts to enter simultaneously whenever conditions permit; after all, we wouldn’t want to leave the machine’s cycle incomplete. Furthermore, the process you see here—executing the program in sequential phases without a hitch—is only possible if the program is well-structured from the very beginning. It goes without saying that if you were to start the program—specifically the first phase—using GRAFCET (assuming you even managed to pull that off), you would find it impossible to implement the second phase; the same applies if you were using hardwired logic. I should also mention that you can forget about using AI for this project; it simply isn’t feasible, as the project isn’t uploaded to the web, so the AI cannot locate or display it.
Part 4; if you are interested in viewing the entire project cycle, it is recommended…
After fine-tuning the machine—assuming everything went well—the result is this video. As I mentioned, I hope to see it online soon, perhaps created by a student or presented by a teacher as a course exercise; in other words, if it is used by the end of the course, then the instruction was a success…