Hi, everyone
Here i worked on robot studio, and want to create world zones for specific positions. I read the manual and tried to use world zone. here is the syntax given below that i used in programe.
.
.
MODULE World_zone
VAR shapedata shape1;
CONST pos pos1:=[986.84,342.37,500];
PERS num R1:=10;
VAR wztemporary wztemp1:=[0];
VAR wztemporary wztemp2:=[0];
PROC wz_pose()
WZSphDef\Inside, shape1, pos1, R1;
WZDOSet\Temp, wztemp2\Inside, shape1, DO_pose10, 1;
ENDPROC
ENDMODULE
.
.
I create event routine too, now problem is that whenever i run the programme output (DO_pose10) doesnt get High immidiately after creating programme. Is there any syntax error due to which that problem occurs?