Hi Everyone,
Robot: KR3
Controller: KRC4 running KSS 8.3.30
Is it possible to convert an INT variable to a BITS without having to write my own functions
My goal of this conversion is to map each bit to $OUT.
For example, let's say I have 8 digital outputs:
If INT_Variable = 8 then
$OUT[1]= 0
$OUT[2]= 0
$OUT[3]= 0
$OUT[4]= 1
$OUT[5]= 0
$OUT[6]= 0
$OUT[7]= 0
$OUT[8]= 0
Thanks