Urgent PC Interface option not found
joaopsf
✭
Hi all.
I have developed a program in C# to interect between the computer and the controller. It all works very well in the simulation mode, but when I try to logon to the real controller using from the manual pc sdk:
ListViewItem item = this.listView1.SelectedItems[0];
if (item.Tag != null)
{
ControllerInfo controllerInfo = (ControllerInfo)item.Tag;
if (controllerInfo.Availability.ToString() == "Available")
{
if (this.controller != null)
{
this.controller.Logoff();
this.controller.Dispose();
this.controller = null;
}
this.controller = ControllerFactory.CreateFrom(controllerInfo);
------> this.controller.Logon(UserInfo.DefaultUser);
}
else
{
MessageBox.Show("Selected controller not available.");
}
}
I get the error showed above. I have no idea what to do. Can anybody help, it is urgent.
Thank you all in advance.
System.Exception was unhandled
Message=PC Interface option not found
Source=ABB.Robotics.Controllers
StackTrace:
at ABB.Robotics.Controllers.Controller.Logon(UserInfo user)
at ABB_Virtual_Test.KTH_ABB_IRB120Library.LogonController() in D:MyPhDProgrammingABB Virtual TestABB Virtual TestKTH_ABB_IRB120Library.cs:line 152
at ABB_Virtual_Test.Form1.button2_Click(Object sender, EventArgs e) in D:MyPhDProgrammingABB Virtual TestABB Virtual TestForm1.cs:line 335
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at ABB_Virtual_Test.Program.Main() in D:MyPhDProgrammingABB Virtual TestABB Virtual TestProgram.cs:line 18
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
0
Comments
-
in you backup off the real controller you will find af file named system.xlm.Look for: <Option descr="616-1 PC Interface"/>If it's not there you have to contact your local ABB for new license keyBest Regards
Klaus Soenderhegn
www.cadalysator.dk0 -
Thank you for the help.I have checked and it is not there. So probably I have to talk with ABB.just one more question. I was using the service port, not the lan port, thus that make any difference, because I havenA?t been able to use the lan port and could not test.Thank you0
-
Just happy to helpServiceport is only to be used with RS online.Best Regards
Klaus Soenderhegn
www.cadalysator.dk0
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)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings