RobotStudio event

value out of range?

Options

Hello all,

I have a "large" structure that has:

- 15 strings

- 13 nums

- 7 bools

- 1 wobjdata

When I try to modify the value of (for example) one of the nums inside from the flex pendant, I can modify it, but when I press OK nothing happens in the robot (the value is still the old one).

If I try it in the RobotStudio software it tells me that the value is out of range, but it is not possible as the original value is 31 and I try to change it to 2. (And I've not set any kind of limit anywhere).

Any idea on why is do this happening?

As always thank you in advance.

Comments

  • Knud E Lindberg
    Options

    Hi

    Do you have an example of your structure

     

     

    Regards
    Knud Erik Lindberg
    Jorgensen Engineering
  • Joan
    Options

    Here we go:

    PERS strctTest strTest{2} := [["101",1,3,3,20,3,3,1,321,180,148.087,5,40,3,FALSE,FALSE,FALSE,FALSE,FALSE,["?11","?12","?13","?14",[FALSE,TRUE,"",[[835.41,-57.918,626.073],[0.004456,-0.000362,-0.001447,-0.999989]],[[0,0,0],[1,0,0,0]]]],["CX11","CX12","CX13","","","CX16","CX17","",""]],
    ["201",1,3,3,20,1,1,1,321,180,148.087,5,40,3,FALSE,FALSE,FAL SE,FALSE,FALSE,["?21","?22","?23","?24", [FALSE,TRUE,"",[[835.41,-57.918,626.073],[0.004456,-0.000362,-0.001447,-0.999989]],[[0,0,0],[1,0,0,0]]]],["CX21","CX22","CX23","","","CX26","CX27","",""]]];

    Thank you in advance...

  • Knud E Lindberg
    Options

     

    Do you also have the record declarationimage

    Regards
    Knud Erik Lindberg
    Jorgensen Engineering
  • Joan
    Options

    Here you have it:

       RECORD strctTest
         string s1;
         num n0;
         num n1;
         num n2;
         num n3;
         num n4;
         num n5;
         num n6;
         num n7;
         num n8;
         num n9;
         num n10;
         num n11;
         num n12;
         bool b0;
         bool b1;
         bool b2;
         bool b3;
         bool b4;
         strctPP1 strPP1;
         strctPP2 strPP2;
      ENDRECORD

     RECORD strctPP1
        string s1;
        string s2;
        string s3;
        string s4;
        string s5;
        string s6;
        string s7;
        string s8;
        string s9;
      ENDRECORD

      RECORD strctPP2
        string s1;
        string s2;
        string s3;
        string s4;
        wobjdata wo1;
      ENDRECORD

    What do you think?

    Joan2008-7-31 15:16:13