RobotStudio event

WZBoxDef - Define a box-shaped world zone

Options

I cannot create Safe Box Zone. Im doing like in example :

VAR shapedata SafeBox;
CONST pos P_Corner1:=[200,100,100];
CONST pos
P_Corner2:=[600,400,400];

LOCAL PROC Declaration()

    WZBoxDef Inside,SafeBox,P_Corner1,P_Corner2;       
    WZDOSetTemp,WorldZoneInside,SafeBox,dq_SafeWarning,1;

ENDPROC


The error that i got is " Reference to unknown procedure WzBoxDef. Why rapid see WzBoxDef as a procedure?
< id="gwProxy" ="">< ="jsCall;" id="jsProxy" ="">

Comments

  • Do you have World Zones installed on that robot?

  • Im not sure what you mean by installed world zones?< id="gwProxy" ="">< ="jsCall;" id="jsProxy" ="">
  • PerSvensson
    Options
    World zones is an option that doesn't come by default. For a virtual controller you need to add it in system builder and for a real controller you need to buy it.
    Per Svensson
    Robotics and Vision Specialist
    Consat Engineering

  • Ok thank you so much for your advise guys, i didn't know that this is another option :) < id="gwProxy" ="">< ="jsCall;" id="jsProxy" ="">