Socket instructions detected as wrong-number-of-arguments error
ko414du4
✭
in RobotStudio
Hi all,
In RAPID module I want to make use of the socket instructions such as SocketCreate, SocketConnect, SocketClose, etc but all these instructions are detected as error : "wrong number of arguments to <instruction_name>". Any particular reason for this? Thank you.
0
Comments
-
Could you post the piece of code that produces the error?As the error says, I'd check the parameters you give to these functions (since they're functions) and check whether the arguments you pass are the right ones. These functions are nicely described in the documents of ABB, so check those out.0
-
Hi B_Baan,Thank you for your post. I have checked the arguments to the instruction and they're OK. However, I think it might be something to do with robot options. I later found out the the virtual controller I have on the robot studio does not have the PC Interface option (616-1). Once I built a new VC with this option on, I could start using the instructions without the error.0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings