<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Can I trigger a Python script from PLC logic in Codesys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c8af995f82/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c8af995f82/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/c8af995f82/</id><updated>2020-02-27T17:31:59.145000Z</updated><subtitle>Recent posts to Can I trigger a Python script from PLC logic in Codesys?</subtitle><entry><title>Can I trigger a Python script from PLC logic in Codesys?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/c8af995f82/?limit=25#633e" rel="alternate"/><published>2020-02-27T17:31:59.145000Z</published><updated>2020-02-27T17:31:59.145000Z</updated><author><name>SimonD</name><uri>https://forge.codesys.com/u/simond/</uri></author><id>https://forge.codesys.com2ef94cbd0d5612140b82a075fd81aa0b21ca6452</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Folks&lt;/p&gt;
&lt;p&gt;I am writing a little BMX start gate program for the Pi where I have to read an input from a start button, play an audio file and switch a few lights and relays.I have all the code written in ladder logic to run the GPIO etc and I could trigger the audio by switching an output pin but that is a little clumsy. I am sure there must be a better way of doing it via a script?&lt;/p&gt;
&lt;p&gt;Thanks Simon&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>