![RobotStudio event](https://new.abb.com/images/librariesprovider89/default-album/rs_webinar_invitation_2025_2.jpg)
Is it possible to call inside de C# program (PC SDK) a procedure with several parameters/arguments?
Is it possible to call inside de C# program (PC SDK) a procedure with several parameters/arguments?
Inside RobotStudio I have:
MODULE MAR
PROC MAR_T(bool b0, bool b1, bool b2, bool b3)
(...)
ENDPROC
ENDMODULE
Inside de C# program (PC SDK) I can execute the procedures inside the RobotStudio but these procedures does not have any parameters.
Once Auto is OK, mastership is OK, the following sentence execute any routine without parameters:
task.TaskName.SetProgramPointer(_moduleName, auxRoutine.Name);
How can I send the boolean parameters I have to send (about 8 boolean)?
0
Comments
-
Hello,
You can only call routines without parameters.
If you want to use certain parameters, you can write the required values in Persistent data declaration before calling a routine and query the values in the RAPID routine0
Categories
- All Categories
- 5.5K RobotStudio
- 398 UpFeed
- 18 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)
- 807 RAPID Programming
- 5 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings