Hello Fajean, Thanks for your explanation, but I don't quite get it yet. SORRY!!!! In November i get training :) Would you mind making an example for me in Codesys? My example is as follows: I have 4 inputs (sensors) If sensor 1 high, output 1000 Sensor 2 high, then make output 0100 Sensor 3 high, then make output 0010 Sensor 5 high, then make output 0001 thanks in advance gr Henk
Hello Fajean, Thanks for your explanation, but I don't quite get it yet. SORRY!!!! In November i get training :) Would you mind making an example for me in Codesys? My example is as follows: I have 4 inputs (sensors) If sensor 1 high, output 1000 Sensor 2 high, then make output 0100 Sensor 3 high, then make output 0010 Sensor 5 high, then make output 0001 thanks in advance gr Henk
Hello Yes only 0 & 1. And when it is possible 4digits 0001 or 0101. When it is 8digits it is also ok Outlook voor Androidhttps://aka.ms/AAb9ysg downloaden From: talk@forge.forge.codesys.com talk@forge.forge.codesys.com on behalf of fajean no-reply@codesys.com Sent: Monday, August 29, 2022 5:02:16 PM To: [forge:talk] Engineering@talk.forge.forge.codesys.com Subject: [forge:talk] Convert INT to Binairy When you say "to a 4 bit binary number", what is it that you mean by "binary number"? A four-character...
HAllo, I am new with codesys. I want to convert a INT to a 4 bit binairy number I have 4 inputs I connect all the input to a AND Block and the result must be an binairy number I want a VAR output like for example 0010 or 0001 Thanks