# Copilot for MachineLogic

**URL:** https://forum.vention.io/t/copilot-for-machinelogic/487
**Category:** Feature Requests
**Tags:** machinelogic
**Created:** [February 8, 2024, 10:54pm UTC](https://forum.vention.io/t/copilot-for-machinelogic/487 "2024-02-08T22:54:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Audrey](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.vention.io/audrey/32/221_2.png) [@Audrey](https://forum.vention.io/u/Audrey)
#### Post date: [February 8, 2024, 10:54pm UTC](https://forum.vention.io/t/copilot-for-machinelogic/487/1 "2024-02-08T22:54:00Z")

</div>

MachineLogic is good. But we can’t ignore that generative AI is taking over the Internet!

As a developer, I could really imagine a copilot helping me out in MachineBuilder…

- figuring out the connections and fasteners between my extrusions
- setting up the instructions I need in my MachineLogic sequence
- assisting me in writing my Python script

---

<div class="post-metadata">

### Author: ![mike](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.vention.io/mike/32/255_2.png) [@mike](https://forum.vention.io/u/mike)
#### Post date: [February 22, 2024, 3:01am UTC](https://forum.vention.io/t/copilot-for-machinelogic/487/2 "2024-02-22T03:01:50Z")

</div>

Assembly and Wiring Instruction Copilot! 🙌

---

<div class="post-metadata">

### Author: ![jesse-li](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.vention.io/jesse-li/32/306_2.png) [@jesse-li](https://forum.vention.io/u/jesse-li)
#### Post date: [March 5, 2024, 5:40pm UTC](https://forum.vention.io/t/copilot-for-machinelogic/487/3 "2024-03-05T17:40:53Z")

</div>

Love the good ideas about AI implementation. I just made a post about your 3rd point: help with writing Python script 🤖

> [@MachineLogic + Vention-GPT](https://forum.vention.io/t/machinelogic-vention-gpt/627):
>
> Hi Vention community! Here’s a tool I made to code my machine: “Vention-GPT.” To use it for your machine, click [this link](https://chat.openai.com/g/g-hggH8YiZu-vention-gpt) to talk to it yourself! Snippet from my conversation today (some names edited for confidentiality): Me: Here’s my MachineLogic code for my Vention robot. Write the code for me to change the movement in the “XYZ” routine to be dynamically changed on a UI. [attached .json file] Vention-GPT: Based on the provided MachineLogic code for your Vention machine, we’ll update th…

---

<div class="post-metadata">

### Author: ![david-moore](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.vention.io/david-moore/32/104_2.png) [@david-moore](https://forum.vention.io/u/david-moore)
#### Post date: [March 20, 2024, 7:06pm UTC](https://forum.vention.io/t/copilot-for-machinelogic/487/4 "2024-03-20T19:06:28Z")

</div>

Could it be possible to deploy a Vention GPT for all product queries to the pendant?

Possibly it could even be a way for errors generated to automatically suggest resolutions.

---

<div class="post-metadata">

### Author: ![jesse-li](https://yyz2.discourse-cdn.com/flex012/user_avatar/forum.vention.io/jesse-li/32/306_2.png) [@jesse-li](https://forum.vention.io/u/jesse-li)
#### Post date: [March 20, 2024, 8:44pm UTC](https://forum.vention.io/t/copilot-for-machinelogic/487/5 "2024-03-20T20:44:54Z")

</div>

Great question @david-moore! I don’t see why not - so I put the capability into the tool. Check out the screenshot below; I uploaded the Pendant documentation to its knowledge base so it can provide answers directly from the [source](https://vention.io/resources/datasheets/machinemotion-pendant-v3-datasheet-475).

 ![Screenshot 2024-03-20 at 3.42.55 PM](https://canada1.discourse-cdn.com/flex012/uploads/vention2/original/1X/7a0f938d4859a873426a4a13cba1b1d034d2bb02.png)

Example Prompt:

> **You:** Do you know anything about the Vention pendant? I want to learn about its safety functions, such as restarting after an e-stop, if it’s designed for outdoor use, and what safety certifications it has

> **Vention-GPT:** The Vention MachineMotion Pendant V3 is a plug-and-play touchscreen interface designed for use with Vention’s MachineMotion 2 controller. Here are the details regarding its safety functions, outdoor use, and safety certifications:
> 
> 1. **Safety Functions** :
> 
> - The Pendant V3 includes an emergency stop button which is integrated into the safety loop of a MachineMotion V2 controller.
> - After an emergency stop, the system does not restart automatically, complying with standards such as EN IEC 60204-1:2018 and EN ISO 10218-1:2011. This means that after pressing the emergency stop, the machine will require a manual reset to restart, enhancing safety.
> - The emergency stop button should not be operational until the safety functions have been tested and verified during commissioning.
> 
> 1. **Outdoor Use** :
> 
> - The Pendant V3 is designed for indoor environments and is not suitable for outdoor use. It should not be exposed to dust or high humidity as these conditions could lead to malfunctions.
> 
> 1. **Safety Certifications** :
> 
> - The Pendant V3 conforms to the Machinery Directive, the RoHS Directive, and the RED (Radio Equipment Directive). This is confirmed by the EU Declaration of Conformity available in the product documentation.
> - It has an ingress protection rating of IP40, meaning it is protected against solid objects larger than 1mm but not water-resistant, which is another reason it’s not suitable for outdoor use.
> 
> Remember, while the Pendant V3 provides an emergency stop function and is part of the safety system, the manufacturer of the installation or machine is responsible for ensuring the proper functioning of the entire safety system. This includes conducting a risk assessment and designing the safety system, which Vention does not take liability for​​.

I verified Vention-GPT’s answer with the documentation below:

 ![Screenshot 2024-03-20 at 3.46.12 PM](https://canada1.discourse-cdn.com/flex012/uploads/vention2/original/1X/ce7a417acfa951f56c6d8fe10727532590a9fbcc.png)

Hope this helps!
