![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs_webinar_invitation_2025_2.jpg)
CodeBehind order of execution
![Henry123](https://secure.gravatar.com/avatar/5ad0482cdd5d79e2ba9f4e29a2922cb4/?default=https%3A%2F%2Fus.v-cdn.net%2F5020483%2Fuploads%2Fdefaultavatar%2FK2266OAKOLNC.jpg&rating=g&size=200)
Henry123
✭
Hello,
following setup:
SmartComponent "A" executes CodeBehind. "A" also has a embedded Mechanism.rslib.
The CodeBehind shall disconnect Mechanism.rslib from Library to be able to attach another component to it.
The disconnection is triggered by void Onload(SmartComponent component).
But it seems that the Mechanism.rslib is not loaded when the CodeBehind is executed. So, the Mechanism will not be disconnected. When I trigger the disconnection by an I/O Signal, it works.
How can I disconnect a sub-library after its owning SmartComponent is loaded?
following setup:
SmartComponent "A" executes CodeBehind. "A" also has a embedded Mechanism.rslib.
The CodeBehind shall disconnect Mechanism.rslib from Library to be able to attach another component to it.
The disconnection is triggered by void Onload(SmartComponent component).
But it seems that the Mechanism.rslib is not loaded when the CodeBehind is executed. So, the Mechanism will not be disconnected. When I trigger the disconnection by an I/O Signal, it works.
How can I disconnect a sub-library after its owning SmartComponent is loaded?
0
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
- 321 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 808 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings