<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Force I/O</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/949561717b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/949561717b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/949561717b/</id><updated>2020-02-27T20:57:30.836000Z</updated><subtitle>Recent posts to Force I/O</subtitle><entry><title>Force I/O</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/949561717b/?limit=25#1c8d" rel="alternate"/><published>2020-02-27T20:57:30.836000Z</published><updated>2020-02-27T20:57:30.836000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com94f80a98b737c4e0cb4bd4c38f662b8222134def</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I do it other way.&lt;/p&gt;
&lt;p&gt;and no you can not force in puts and outputs direct only internal memory points.&lt;/p&gt;
&lt;p&gt;In simulation it is no problem but in real time online it is impossible as it should.&lt;/p&gt;
&lt;p&gt;For this purpose you can use an OR/AND port on the inputs.&lt;/p&gt;
&lt;p&gt;I work a lot with alarms and i have a switch in software to look at the input or on the forced points &lt;/p&gt;
&lt;p&gt;SEL (simulation, input,off,on)&lt;/p&gt;
&lt;p&gt;this works same for analog inputs.&lt;/p&gt;
&lt;p&gt;for outputs i do same&lt;/p&gt;
&lt;p&gt;SEL(forcing,normal,off,on)&lt;/p&gt;
&lt;p&gt;They are in seperate POU so i can see what happens and i can change them easily without searching all POU's.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Force I/O</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/949561717b/?limit=25#d7cd" rel="alternate"/><published>2020-02-27T20:57:29.425000Z</published><updated>2020-02-27T20:57:29.425000Z</updated><author><name>hasse</name><uri>https://forge.codesys.com/u/hasse/</uri></author><id>https://forge.codesys.com0df9b82f1fe630376ac9ec58cc159ff1a406a256</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everybody,&lt;/p&gt;
&lt;p&gt;I have a question about the forcing of variables.&lt;/p&gt;
&lt;p&gt;I Have a project that is written in CFC. The inputs to the system are CANopen I/O. If i go online and force an input it looks forced but it seems like the PLC is overwriting it the next cycle &lt;/p&gt;
&lt;p&gt;If i try to force an output on a CANopen node it also gets overwritten the next cycle. I can force it by putting the PLC in stop... and the force the output &lt;/p&gt;
&lt;p&gt;Is it not possible to force I/O???&lt;/p&gt;
&lt;p&gt;/Hasse&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>