API sync to station
Options
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.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings