Regarding World zone instruction.
in RobotStudio
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.
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
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
.
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?
.
.
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?
Tagged:
0
Comments
-
The signal must be configured as read only.
1 -
Signal already configured as Readonly...still its happened.0
-
Did you cycle power (or whatever the event routine type it's tied to) to get it to activate the world zones?
1 -
The type temp does not need to be connected to an event routine. The type stationary must be connected to the power on event. Maybe you used temp when what you need is stat. Note that it only turns the do on with the first motor on after power up.Lee Justice1
-
Fair enough, but the procedure needs to be called somehow to make the zones active.
1
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 783 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings