Frequently send position data to PLC

Paba
Germany ✭
Hello,
is it possible to send actual coordinates every ~0.5s to a PLC?
I tried so set up a new motion task for this but i guess this wont work..
Is there any kind of function or parameter that can monitor the coordinates?
best greetings
Tagged:
0
Comments
-
Works better when using CRobT with an actual reference to Motion TaskIs a cleaner solution possible?
SetGO GO_y, Round((100*t_actTarget_R.trans.y)\Dec:=0);
<code>SetGO GO_z, Round((100*t_actTarget_R.trans.z)\Dec:=0);
t_actTarget_R:=CRobT(\TaskRef:=T_ROB_RID);<br>SetGO GO_x, Round((100*t_actTarget_R.trans.x)\Dec:=0);<br>
Post edited by Paba on0 -
I don't see anything wrong with that code.Lee Justice0
Categories
- 10.3K All Categories
- 5.2K RobotStudio
- 341 UpFeed
- 13 Tutorials
- 6 RobotApps
- 281 PowerPacs
- 404 RobotStudio S4
- 1.7K Developer Tools
- 236 ScreenMaker
- 2.6K Robot Controller
- 238 IRC5
- 34 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 678 RAPID Programming
- 14 Wizard Easy Programming
- 100 Collaborative Robots
- 3 Job listings