API sync to station
Saibel
✭
Hi!
I try to write a procedure to sync a Rapid proc to station:
Set pro = pros.Item("PROC1")
pro.Refresh
An empty path "PROC1" exists.
I get the following message:
"Synchronization of element PROC1 succeeded."
But in fact it looks like RS syncronizes station to virtual controller instead of the procedure to station. Anyway, I don't get some robtargets into the "PROC1" path.
Best regards,
Sergej Saibel
Sergej Saibel
0
Comments
-
Hi
Here is a simple example how to sync a module from VC to RS.
Module name in VC ="myModule"
Procedurename in VC="Path1"Sub SyncToStation()
Dim SyncToModule As ABBS4Module
Set SyncToModule = ActiveStation.ActiveMechanism.Controller.Modules("myModule")ActiveStation.Paths.Insert SyncToModule.Procedures("Path1")
End Sub
Per Svensson
Company Specialist
ABB Automation Technology Products0 -
Thank you very much, I will try this.
Best regards,
Sergej Saibel0
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
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings