RobotStudio event

Signal exceeds max number of allowed bits


I have created a Group Input GI signal called 'Din', assigned to no unit (i.e. virtual)

Offline>Configuration>I/O>Signal

whenever the program pointer reaches a logical statment including Din such as an IF I get the errorA?

"Signal exceeds max number of allowed bits"
"Group signals consisting of 23 bits or less can be used in IF statements and assigned to the num datatype.
Group signals consisting of 24-32 bits or less can not be used in IF statements"


It only needs to be 8-bits but I don't see any way of setting its size e.g. unit mapping

hugh.cover2009-05-31 15:24:05

Comments

  • Klaus
    Klaus ✭✭
    Hi
    Let's see EIO.cfg. and the rapid code where the error comes.

    Sounds strange but it not always that error msg from the RW fits to the event. Have seen error msg: "posision out off reach" but the error was wrong gribload data.

     

    BR Klaus

     

     
    Best Regards

    Klaus Soenderhegn
    www.cadalysator.dk
  • Hi!

    (First I think it is good practise to use "gi" in the name of a group input like "giDin")
     EIO.cfg can look like this:

    -Name "giDin" -SignalType "GI" -Unit "PROFIBUS" -UnitMap "16-31"

    This uses 16 bit, from bit 16 to bit 31, both 16 and 31 included.

    /Eiven

    Eiven
    Win 7-64
    RS 5.15RC1
    Q9950 16gb