<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Left / right buttons function</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/</id><updated>2022-07-28T12:38:34.606000Z</updated><subtitle>Recent posts to Left / right buttons function</subtitle><entry><title>Left / right buttons function</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/?limit=25#7415" rel="alternate"/><published>2022-07-28T12:38:34.606000Z</published><updated>2022-07-28T12:38:34.606000Z</updated><author><name>edwin200000</name><uri>https://forge.codesys.com/u/edwin200000/</uri></author><id>https://forge.codesys.com3e27ab08cda12e3789d1fedc3d773255317f1bcd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I didn't work unfortunatelly. I tried also some different things but it didn't work. So I am gonna make a state machine programm. Hopefully then it will work. Thanks for the suggestion.&lt;/p&gt;
&lt;p&gt;Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Left / right buttons function</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/?limit=250#ef8a/e992" rel="alternate"/><published>2022-07-28T09:04:32.865000Z</published><updated>2022-07-28T09:04:32.865000Z</updated><author><name>h-hermsen</name><uri>https://forge.codesys.com/u/hermsen/</uri></author><id>https://forge.codesys.comf5fb7f0f738f16569899bff9c39d9f18c07fd34c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;I tried to understand your coding problem but I think I dont understand that what you are trying to achieve.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;However, maybe understanding the issue isn't perse needed since usually triggered type problems involve flip flop solutions.&lt;/p&gt;
&lt;p&gt;In worst case you can use some kind of state machine to achieve your goal (since in fact it is a state driven problem) but If you implemnt this, use SFC or Structured text and definitly do not use LD or FBD/CFC to implement it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Left / right buttons function</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/?limit=25#ef8a" rel="alternate"/><published>2022-07-28T07:39:09.812000Z</published><updated>2022-07-28T07:39:09.812000Z</updated><author><name>edwin200000</name><uri>https://forge.codesys.com/u/edwin200000/</uri></author><id>https://forge.codesys.com6d3535606261db3e02b3a3223c4af8cfff1e765f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Goodmorging or goedemorgen H-Hermsen,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. I have used RS box before but got the same problem that when I set the outputs off on the dispay and press the button(Knop_1_)then stand_left and stand_right is on. And I will try this morning to latch the outputs maybe it will work. Good suggestion. I will let you know if it works.&lt;/p&gt;
&lt;p&gt;Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Left / right buttons function</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/?limit=250#505b" rel="alternate"/><published>2022-07-27T16:34:47.003000Z</published><updated>2022-07-27T16:34:47.003000Z</updated><author><name>h-hermsen</name><uri>https://forge.codesys.com/u/hermsen/</uri></author><id>https://forge.codesys.combd9d698b1c19011b1687ff2b1e64719eb0765b1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;why dont you use some RS or SR flip flops and latch the outputs?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Left / right buttons function</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/cd3a5ea8aa/?limit=25#dc3e" rel="alternate"/><published>2022-07-27T14:35:19.169000Z</published><updated>2022-07-27T14:35:19.169000Z</updated><author><name>edwin200000</name><uri>https://forge.codesys.com/u/edwin200000/</uri></author><id>https://forge.codesys.coma60d949b43834ac17eabd6ba7da74b2202b02f1a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good afternoon,&lt;/p&gt;
&lt;p&gt;I have codesys 2.3 and HY-TTC94 PLC. I have a hard time with this problem.&lt;br/&gt;
I have tried so much things but it didn't work. I hope I can explain it well.&lt;br/&gt;
I want that if I push a button some outputs go on(stand left) and if I push another button (stand right) some outputs go off and some outputs go on and If i push another time at the button it goes back to the first stand and every output of stand right is off. but here is the thing: I have also a display where you can control outputs individual. If I turn off all outputs on the display. and pushes again on the button then everything goes to stand links. and somehow he will turn on all outputs of position left and right.&lt;br/&gt;
How could that be. I will show you some pictures. &lt;/p&gt;
&lt;p&gt;I don't know what I am doing wrong? maybe cause I use XOR box to control the actual outputs.&lt;br/&gt;
but I wouldn't know how else you can control an output from two inputs.&lt;/p&gt;
&lt;p&gt;I hope I explained it well. Thanks for help in advance.&lt;/p&gt;
&lt;p&gt;Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>