<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Very short pulse out</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/</id><updated>2020-02-27T14:26:01.720000Z</updated><subtitle>Recent posts to Very short pulse out</subtitle><entry><title>Very short pulse out</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/?limit=25#768f" rel="alternate"/><published>2020-02-27T14:26:01.720000Z</published><updated>2020-02-27T14:26:01.720000Z</updated><author><name>lucaver89</name><uri>https://forge.codesys.com/u/lucaver89/</uri></author><id>https://forge.codesys.com83ea351f2d9ded14ef585149380d61679f575498</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;The GPIO is made by a MCP23017 with i2c bus. If I remember well that's frequency rate is 100KHz for the pic microchip. I realy don't know if the i2c of the raspberry py works with the same frequency.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br/&gt;
Luca&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very short pulse out</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/?limit=25#4aee" rel="alternate"/><published>2020-02-27T14:26:01.289000Z</published><updated>2020-02-27T14:26:01.289000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.coma58ec3a7b7c8ec98f37de77627c3061651f4c0b5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;To module PWM AC loads we usually make use of triac. Some can be controlled by bus, other by analog output and some by digital input.&lt;/p&gt;
&lt;p&gt;Does your spec about GPIOs refresh rate and output commutation rate are within 50µs ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very short pulse out</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/?limit=25#5b47" rel="alternate"/><published>2020-02-27T14:25:59.909000Z</published><updated>2020-02-27T14:25:59.909000Z</updated><author><name>lucaver89</name><uri>https://forge.codesys.com/u/lucaver89/</uri></author><id>https://forge.codesys.comd4839d6354b749e0b9c286d988fd7170bb0a211e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your answer. &lt;/p&gt;
&lt;p&gt;I'm thinking to use a microcontroller to module the pwm for AC loads. &lt;/p&gt;
&lt;p&gt;Thanks &lt;br/&gt;
Luca&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very short pulse out</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/?limit=25#441a" rel="alternate"/><published>2020-02-27T14:25:59.487000Z</published><updated>2020-02-27T14:25:59.487000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com9f24fd4eacd6e314a5567567a588c29c16e8a928</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;50µs is extremely short for a PLC system (expected cycle times are generally tens of ms). Be sure your hardware can handle it.&lt;/p&gt;
&lt;p&gt;My bet would be a separate task with top priority with only refreshing your I/O value (ex: out := NOT out;).&lt;br/&gt;
Don't forget to set the correct refresh to your I/O also.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Very short pulse out</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bfcf6c02b2/?limit=25#bf00" rel="alternate"/><published>2020-02-27T14:25:59.053000Z</published><updated>2020-02-27T14:25:59.053000Z</updated><author><name>lucaver89</name><uri>https://forge.codesys.com/u/lucaver89/</uri></author><id>https://forge.codesys.comc98b19bf39f113448ccea7488a468d250aeacae5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello to All,&lt;/p&gt;
&lt;p&gt;from gpio number 23 of my raspberry pi 3 I have to generate a impulsive clock by 50 uSend. I have a couples of ideas to do it, but unfortunatly I don't know which is the best way. The first idea is using a simple TP timer with preset time at 50uS. The second one is set a new task with cycle time at 50 uS. &lt;br/&gt;
Could anyone help me please?&lt;/p&gt;
&lt;p&gt;Thank you&lt;br/&gt;
luca&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>