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
- 393 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 783 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings