Hi all,
Yesterday I tried to set up a new IP for RSI via Pendant. IP = 172.32.1.184.
[HMI-> Home-Start up-MinimizeHMI; /// Windows-> Start-RSI Network-New (under RSI)- Edit- 172.32.1.184 /// HMI-> Shutdown-> Reboot with cold-start].
At first it seemed fine, but the menus in the pendant weren't showing up, so after around 15 min I rebooted it again. After the reboot, SmartHMI wasn't showing up at all. The pendant was going straight into Windows and showing KukaCross3. [The KRC icon on the taskbar was yellow/orange this time]
Guessing than the conflict could come from the new IP assigned, I deleted the entry in RSI Network, and reboot, but no changes. SmartHMI was hidding from me.
At that point, I connected a monitor to the controller, and look at the booting and everything seemed fine during the process, but again, the fact was that SmartHMI wasn't showing up. Stopping and launching again KRC wasn't making a difference.
I was suggested then to pack the KRCDiag .zip and look at the logs, but it wasn't working. KRCDiag wasn't finalizing the .zip because of :
#Error:
System.OutOfMemoryException: Exception of the type 'system.OutOfMemoryException' was thrown. at ICSharpCode.SharpZipLib.Zip.ZipDirectory.Zip(String inputBasePath, String zipFilePath)
at KUKA.KRCDiag.KRCDiag.Run()
The next step then was looking into the KLIConfig.xml, and after changing the StandartGatewayIp from blank to 0.0.0.0, and rebooting, KRCDIag was able to pack the zip. But still SmartHMI not lauching
Looking at the .evt logs for SmartHMI I could find the following errors:
*-----------------*
Execute() failed for "CommandCall "ViewManager.OpenView""!
Could not open view "PowerManagementShutdown". (ViewOpenFailedException)
Source="KukaRoboter.Common.ApplicationServices"
at KukaRoboter.Common.ApplicationServices.ViewManager.Implementation.ViewManagerImpl.OpenView(String viewSystemName, Object connectionArgument, Object displayParameters)
at KukaRoboter.Common.ApplicationServices.ViewManager.Implementation.ViewManagerImpl.OpenView(String viewSystemName, Object connectionArgument)
at KukaRoboter.Common.ApplicationServices.ViewManager.Implementation.OpenViewCommand.OnExecute(Object context, Object[] parameters)
at Ade.Components.Command.Execute(Object context, Object[] parameters)
at KukaRoboter.Common.ApplicationServices.Commands.Implementation.CommandInfo.InternalExecute(Object context, Object[] parameters)
at KukaRoboter.Common.ApplicationServices.Commands.Implementation.CommandInfo.ExecuteCall(CommandCall call, Object context)
at KukaRoboter.Common.ApplicationServices.Commands.CommandCall.Execute(Object context)
at KukaRoboter.Common.ApplicationServices.Commands.CommandCall.SafeExecute(Object context)
Caused by:
Unable to generate a temporary class (result=1).
error CS0006: Metadata file 'C:\KRC\SmartHmi\Ade.Components.dll' could not be found
(InvalidOperationException)
Display More
or
Execute() failed for "CommandCall "LegacyLoader.OpenPlugIn""!
Could not load file or assembly 'CommonAxWrapper' or one of its dependencies. The system cannot find the file specified. (FileNotFoundException)
FusionLog="WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]."
Source="mscorlib"
at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at KukaRoboter.SmartHMI.LegacySupport.Internal.LegacyPlugIn.Load()
at KukaRoboter.SmartHMI.LegacySupport.Internal.LegacyLoaderViewModel.OpenPlugIn(String plugInName, Object[] pluginArguments, String viewName, OpenPlugInOptions options)
at KukaRoboter.SmartHMI.LegacySupport.Internal.OpenPlugInCommand.OnExecute(Object context, Object[] parameters)
at Ade.Components.Command.Execute(Object context, Object[] parameters)
at KukaRoboter.Common.ApplicationServices.Commands.Implementation.CommandInfo.InternalExecute(Object context, Object[] parameters)
at KukaRoboter.Common.ApplicationServices.Commands.Implementation.CommandInfo.ExecuteCall(CommandCall call, Object context)
at KukaRoboter.Common.ApplicationServices.Commands.CommandCall.Execute(Object context)
at KukaRoboter.Common.ApplicationServices.Commands.CommandCall.SafeExecute(Object context)
Display More
Any suggestions other than reinstalling??
Sorry for such a long post,
Thanks!
--------------------
KRC4
KSS: 8.2.2
PD: Now I'm guessing that I shouldn't use IP's that are in the same subnet than KLI (172.31.1.179). I was aware of the other one though [192.168.X.X, 172.16.X.X and 172.17.X.X]