Get Controller Mac Address: Error???
Gomez
✭
Hello everybody
I am writing a FP app (SDK 5.14).
I'd need to get the MAC address (for an internal control) of the controller to which I connect from the controller-object , but I have problems:
- using a virtual controller it returns an null value, as I can expect
- using a real controller (RW 5.14.1032) that field (and some others) I have a "General exeption": attaching to the process and debugging I can see (I paste what I see opening the field 'MacAddress' of my controller object)
- MacAddress 'myController.MacAddress' threw an exception of type 'ABB.Robotics.GeneralException' string {ABB.Robotics.GeneralException}
- base {"SYS_CTRL_E_FAIL: Unspecified error.
"} ABB.Robotics.BaseException {ABB.Robotics.GeneralException}
+ base {"SYS_CTRL_E_FAIL: Unspecified error.
"} System.ApplicationException {ABB.Robotics.GeneralException}
_extendedErrorInformation "SYS_CTRL_E_FAIL: Unspecified error.
ERROR: rdh_controller.c[1990]: org_code: -1 new_code: 0xc004fffe; RobControllerImpl.cpp[3976]; AdaptController.cpp[986]; ABB.Robotics.GeneralException at GetIPSettings in ABB.Robotics.Dcl.Controller" string
_validRetCode true bool
ExtendedErrorInformation "SYS_CTRL_E_FAIL: Unspecified error.
ERROR: rdh_controller.c[1990]: org_code: -1 new_code: 0xc004fffe; RobControllerImpl.cpp[3976]; AdaptController.cpp[986]; ABB.Robotics.GeneralException at GetIPSettings in ABB.Robotics.Dcl.Controller" string
HResult -1073414146 int
IsHResultValid true bool
Message "SYS_CTRL_E_FAIL: Unspecified error.
" string
Name "ABB.Robotics.GeneralException" string
Name "ABB.Robotics.GeneralException" string
Anyone who faced this problem? any idea for reaching the mac-address??
Thanks in advance
BR
I am writing a FP app (SDK 5.14).
I'd need to get the MAC address (for an internal control) of the controller to which I connect from the controller-object , but I have problems:
- using a virtual controller it returns an null value, as I can expect
- using a real controller (RW 5.14.1032) that field (and some others) I have a "General exeption": attaching to the process and debugging I can see (I paste what I see opening the field 'MacAddress' of my controller object)
- MacAddress 'myController.MacAddress' threw an exception of type 'ABB.Robotics.GeneralException' string {ABB.Robotics.GeneralException}
- base {"SYS_CTRL_E_FAIL: Unspecified error.
"} ABB.Robotics.BaseException {ABB.Robotics.GeneralException}
+ base {"SYS_CTRL_E_FAIL: Unspecified error.
"} System.ApplicationException {ABB.Robotics.GeneralException}
_extendedErrorInformation "SYS_CTRL_E_FAIL: Unspecified error.
ERROR: rdh_controller.c[1990]: org_code: -1 new_code: 0xc004fffe; RobControllerImpl.cpp[3976]; AdaptController.cpp[986]; ABB.Robotics.GeneralException at GetIPSettings in ABB.Robotics.Dcl.Controller" string
_validRetCode true bool
ExtendedErrorInformation "SYS_CTRL_E_FAIL: Unspecified error.
ERROR: rdh_controller.c[1990]: org_code: -1 new_code: 0xc004fffe; RobControllerImpl.cpp[3976]; AdaptController.cpp[986]; ABB.Robotics.GeneralException at GetIPSettings in ABB.Robotics.Dcl.Controller" string
HResult -1073414146 int
IsHResultValid true bool
Message "SYS_CTRL_E_FAIL: Unspecified error.
" string
Name "ABB.Robotics.GeneralException" string
Name "ABB.Robotics.GeneralException" string
Anyone who faced this problem? any idea for reaching the mac-address??
Thanks in advance
BR
0
Comments
-
Solved!
The controller obj returns the mac address of the lan-device (not the service lan device).
If I don't use IP or use a dynamic ip address and the robot doesn't receive any ip (it is not connected), all the values of the controller object that regard connection (IP,mac address...) generate exceptions.
I only need to set a fixed ip address from boot settings and everything runs!
Hope can help someone else, too.
BR
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings