Simulation world zone don't work
edorobot
✭
in RobotStudio
Hi,
i'm trying to use the worldzone.
in particular I would like to simulate a function that activates a digital signal when the robot is in the home position.
i'm trying to use the worldzone.
in particular I would like to simulate a function that activates a digital signal when the robot is in the home position.
If I understand, through the function I used in the rapid code (under) I go to activate the signal when the joints of the robot are in the "home_pos" position, with a difference of 2 degrees.
But there are a problem (rapid program havn't errors when i compile it) when i simulate it the simulation stops in the line 114 (see the image attached).
I have a doubt. I activated the "worldzone" function in the controller options, did I do it correctly? The robot is an IRB 120 and the controller is RobotWare 06.08.1040
Thanks in advance
Edoardo
I have a doubt. I activated the "worldzone" function in the controller options, did I do it correctly? The robot is an IRB 120 and the controller is RobotWare 06.08.1040
Thanks in advance
Edoardo
PROC power_on() VAR shapedata joint_space; CONST jointtarget home_pos :=[[0,0,0,0,90,90],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]]; CONST jointtarget delta_pos := [ [ 2, 2, 2, 2, 2, 2], [ 5, 9E9, 9E9, 9E9, 9E9, 9E9] ]; WZHomeJointDef \Inside, joint_space, home_pos, delta_pos; WZDOSet \Stat, home\Inside, joint_space, do_homeSegnale,1; ENDPROC
Tagged:
0
Comments
-
In Module1 do you have this declaration? VAR wzstationary home;
Do you create a Power On event routine to execute the routine "power_on" ?1 -
Hello,Doc says:Signal
Data type: signaldo
The name of the digital output signal that will be changed.
If a stationary worldzone is used then the signal must have the correct internal access level. The access level is set in the signal definition in the I/O system parameters. These concepts are further described in Technical reference manual - System parameters, see the types Signal and Access Level. The access level must be protected for access from the user (RAPID, FlexPendant), so the predefined internal access level can be used, or a custom access level can be defined by the user.
☑️2024 - RobotStudio® User Group1 -
Make sure your signal/s is set to Access = Read Only.
I can share a pdf doc which could assist you somewhat if you want.1
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings