
Frequently send position data to PLC

Paba
✭
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
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings