RobotStudio event

40151 error in multimove station



Hi, all!

I have 2 IRB6640 on one controller in Robotstudio 5.11.
To send data between taskts I use PERS data like this in 2 tasks:
PERS num nNumberOfRuns:=7;

I get error: 40151, Initial value of PERS not updated.
Is this a robot studio phenomena or will this create problems for me in the real life system.

/Eiven.


eiven2008-10-09 08:40:21
Eiven
Win 7-64
RS 5.15RC1
Q9950 16gb

Comments

  • Hi
    The reason is that you have initial values in booth tasks
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering
  • Yes, that is what the error message says.
    Question is How do I solve this?
    What should the line look like?

    /eiven

    Eiven
    Win 7-64
    RS 5.15RC1
    Q9950 16gb
  • Just initialize the variable in one task

    T_ROB1
    PERS num nNumberOfRuns:=7;
    T_ROB2
    PERS num nNumberOfRuns;
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering