<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to turn on a large number of outputs with 1 variable</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6f3e1bedca/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6f3e1bedca/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/6f3e1bedca/</id><updated>2020-02-27T22:38:30.294000Z</updated><subtitle>Recent posts to How to turn on a large number of outputs with 1 variable</subtitle><entry><title>How to turn on a large number of outputs with 1 variable</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/6f3e1bedca/?limit=25#218a" rel="alternate"/><published>2020-02-27T22:38:30.294000Z</published><updated>2020-02-27T22:38:30.294000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com9aba5008e92ef8e849f754a475c6cf73d0c160d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;way #1 hardware.&lt;br/&gt;
put the ouputs behind a power supply module, so if you activate 1 output it will put power to the power module.&lt;br/&gt;
this is done a lot for emergency buttons, as it shuts down the power to a lot of outputs.&lt;/p&gt;
&lt;p&gt;way #2software&lt;br/&gt;
in ST&lt;br/&gt;
output1:= (output&lt;span&gt;[1]&lt;/span&gt; AND centraloutput )&lt;/p&gt;
&lt;p&gt;in ladder obvious same type.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to turn on a large number of outputs with 1 variable</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/6f3e1bedca/?limit=25#8218" rel="alternate"/><published>2020-02-27T22:38:28.702000Z</published><updated>2020-02-27T22:38:28.702000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com21c4f12dbad0b07925049dd3e69f47038bda3fb0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;One possibility (assuming your IO hardware is based on BOOL assignments) using ST language:&lt;/p&gt;
&lt;p&gt;You may want to create a FB and use methods instead of a program with actions.&lt;/p&gt;
&lt;p&gt;This is just one example.  Check your hardware mapping - I have one hardware I work with (4 in / 4 out) that uses one BYTE to control the INs and one BTYE to control the OUTs - which would be super easy to turn all on at once (BYTE = 255).  But that is not the norm.&lt;/p&gt;
&lt;p&gt;I think trying to do this with LD would be a bit tedious.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to turn on a large number of outputs with 1 variable</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/6f3e1bedca/?limit=25#0271" rel="alternate"/><published>2020-02-27T22:38:24.286000Z</published><updated>2020-02-27T22:38:24.286000Z</updated><author><name>kmckinney</name><uri>https://forge.codesys.com/u/kmckinney/</uri></author><id>https://forge.codesys.com93824f7616d12a36b193312e8cf8a547571a65db</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm trying to turn on any combination of 128 PLC outputs using 1 variable. I've never done this before so I wanted to see if any one has any suggestions. I would appreciate your input.  &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>