Recording joint information
Please help! I am trying to collect joint axis position information for every PaintL or PaintC in my routine, preferrably write to a separate log. Most of the routines are long, proabably have around atleast 100 PaintL instruction. How can I achieve this without affecting cycle time? By the way, the robot tracks wobj on a moving conveyor, if it matters. Thank you in advance!
0
Comments
-
0 -
Xerim, Thank you for your prompt response. Will I be calling this variable at every PaintL or PaintC instruction? If so, will this impact the total cycle time? Or, is there a better way to retrieve the same info. for each of the 100 or so PaintLs? Thanks!0
-
Do you have the multitasking option installed on your system?0
-
In one department, a set of robots do have multitasking but in another I do not.0
-
With Multitasking, you can read the joints in real time by setting up a background task like this:
MODULE MainModule
VAR jointtarget joints;
PROC main()
WHILE 1=1 DO
joints:=CJointT(\TaskRef:=T_ROB1Id);
WaitTime 0.01;
ENDWHILE
ENDPROC
ENDMODULE
Otherwise you will only be able to read the joints at the point CJointT() is declared in your module0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings