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
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 312 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 793 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings