RobotStudio event

read DI as binary!?

Hi guys,

i have a problem, i want to read my DI signals as  binary, it is 5 DI signals, and my DI1 signal should be given the bin nr 1 and my
DI2 should be given nr 2 and som on!!
Is this posible to do!?!?

Iv'e been looking into the manuals and havent found anything that i think could help me! 

BR

Comments

  • I quess what you would like to do is to create a Group Input signal instead?
     


       -Name "Sig1" -SignalType "DI" -Unit "PLC"  -UnitMap " 0"

       -Name "Sig2" -SignalType "DI" -Unit "PLC"  -UnitMap " 1"

       -Name "Sig3" -SignalType "DI" -Unit "PLC"  -UnitMap " 2"

       -Name "Sig4" -SignalType "DI" -Unit "PLC"  -UnitMap " 3"

       -Name "Sig5" -SignalType "DI" -Unit "PLC"  -UnitMap " 4"

     

       -Name "AllSignals" -SignalType "GI" -Unit "PLC"  -UnitMap " 0-4"