When you say "to a 4 bit binary number", what is it that you mean by "binary number"? A four-character string with each character being either 0 or 1? A numeric variable (of 8, 16 , 32 or 64 bits) with only the four less significant bits assigned (which can code numbers from 0 to 15)?
Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Engineering/
To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/