A way in RAPID code to identify Robot/Controller model and whether its online or offline?
                    Is there a way in RAPID code to identify Robot/Controller model and whether its online or offline?
Just need a function that looks inside somewhere in the controller and return a value that represents the robot model (IRBxxxx) and/or is the code running on an actual controller or on a virtual controller.
Any ideas are welcomed!
                        Just need a function that looks inside somewhere in the controller and return a value that represents the robot model (IRBxxxx) and/or is the code running on an actual controller or on a virtual controller.
Any ideas are welcomed!
            Tagged:
            
        
0  
            Comments
- 
            Hello,
 to check if robot is virtual/real:
 IF RobOS() THEN
 Execution statements in RC
 ELSE
 Execution statements in VC
 ENDIFand for robot model VAR string rtype; 
 rtype := GetSysInfo(\RobotType);more info in when you look up the getsysinfo command in the manual. Br Peter 0
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 363 IRC5
- 80 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 853 RAPID Programming
- 31 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings

