Hello,
does anybody know how to disable touchup command on KRC4 when logout is active - user operator?
I need to disable this command to prevent accidental touchups, when administrator is login, touchup should work.
Thank you,
Marko.
Hello,
does anybody know how to disable touchup command on KRC4 when logout is active - user operator?
I need to disable this command to prevent accidental touchups, when administrator is login, touchup should work.
Thank you,
Marko.
I'm not sure if there is, but have you checked the krcconfigurator to see if there are any options?
Sent using Tapatalk 4
You can only touchup in T1 not in T2
I think you can change attributes of the module to be hidden. If I recall, that way User or Operator account will not even get a chance to see it. Just create another program that calls it...
Hello guys!
Has anyone managed to find a solution to their friend's problem?
I'm having problems with improper changes in programs too, in KRC2 I managed to block with the help of a forum topic, but with KRC4 I'm lost.
I want to leave the changes only at Expert level.
It depends what KSS you have... as this was a frequent complaint KUKA did respond and newer KSS versions have built in rights management. That would be KSS8.5 or higher...
If you have older version such as KSS8.2 or 8.3 there is no such ready to use management option. This means one would need to modify some of the configuration file himself. Basically add required user level to things needed, all of this is in:
C:\KRC\SmartHMI\SmartHMI.exe.Standard.config
and it is equivalent of same changes on KRC2 where "UM20" could be added in INI files.
it should go without saying that prudent thing is to create backup. then perform changes. then do a cold boot with reload files.
to make things a bit smoother, someone at KUKA was kind enough to create script. this makes thing easier but still it is "use at own risk". it uses FNR.EXE and edits are done in one pass. i tried it on couple of KSS8.3 and it worked like a charm.
so save this code as smartHMI.button.configurator.bat on a USB stick. put FNR.EXE in the same folder as the BAT file you just created, connect the USB to controller. login as expert. minimize HMI, navigate to your usb stick and run smartHMI.button.configurator.bat
@ECHO OFF
SETLOCAL EnableDelayedExpansion
COLOR 02
TITLE Disable or enable buttons in smartHMI for User and Operator - Verga 2015
:Start
ECHO ;=============================================================================;
ECHO ; ;
ECHO ; Disable or enable buttons in smartHMI for User and Operator ;
ECHO ; ;
ECHO ; Change button Last command button ;
ECHO ; 1. Disable 7. Disable ;
ECHO ; 2. Enable (Default) 8. Enable (Default) ;
ECHO ; ;
ECHO ; Commands button Touch Up button ;
ECHO ; 3. Disable 9. Disable ;
ECHO ; 4. Enable (Default) 10. Enable (Default) ;
ECHO ; ;
ECHO ; Motion button Delete button ;
ECHO ; 5. Disable 11. Disable ;
ECHO ; 6. Enable (Default) 12. Enable (Default) ;
ECHO ; ;
ECHO ; Exit ;
ECHO ; 0. Exit ;
ECHO ; Verga 2015 ;
ECHO ;=============================================================================;
ECHO.
:InvalidSelection
SET iNumber="No selection"
SET /p iNumber="Make your selection and press Enter: "
IF %iNumber%==0 GOTO 0
IF %iNumber%==1 GOTO 1
IF %iNumber%==2 GOTO 2
IF %iNumber%==3 GOTO 3
IF %iNumber%==4 GOTO 4
IF %iNumber%==5 GOTO 5
IF %iNumber%==6 GOTO 6
IF %iNumber%==7 GOTO 7
IF %iNumber%==8 GOTO 8
IF %iNumber%==9 GOTO 9
IF %iNumber%==10 GOTO 10
IF %iNumber%==11 GOTO 11
IF %iNumber%==12 GOTO 12
ECHO Invalid selection: %iNumber%
GOTO InvalidSelection
:1
CLS
ECHO Processing code (1/1) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button SystemName=""BtnEditModify"" Position=""0"" DBKey=""EditModify"" ProcID=""104"" ModuleIdent=""XEDIT""*.*/>" --replace "<Button SystemName=""BtnEditModify"" Position=""0"" DBKey=""EditModify"" ProcID=""104"" ModuleIdent=""XEDIT"" Right=""UM20""/>"
PAUSE
CLS
GOTO Start
:2
CLS
ECHO Processing code (1/1) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button SystemName=""BtnEditModify"" Position=""0"" DBKey=""EditModify"" ProcID=""104"" ModuleIdent=""XEDIT"" Right=""UM20""*.*/>" --replace "<Button SystemName=""BtnEditModify"" Position=""0"" DBKey=""EditModify"" ProcID=""104"" ModuleIdent=""XEDIT""/>"
PAUSE
CLS
GOTO Start
:3
CLS
ECHO Processing code (1/1) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<CommandButton SystemName=""CommandMenuButton"" Position=""1"" DisplayName=""MenuBar#Commands""*.*>\r\n*.*<CommandCall Target=""MenuManager.OpenMenu""*.*>" --replace "<CommandButton SystemName=""CommandMenuButton"" Position=""1"" DisplayName=""MenuBar#Commands"">\r\n <CommandCall Target=""MenuManager.OpenMenu"" Right=""UM20"">"
PAUSE
CLS
GOTO Start
:4
CLS
ECHO Processing code (1/1) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<CommandButton SystemName=""CommandMenuButton"" Position=""1"" DisplayName=""MenuBar#Commands""*.*>\r\n*.*<CommandCall Target=""MenuManager.OpenMenu"" Right=""UM20""*.*>" --replace "<CommandButton SystemName=""CommandMenuButton"" Position=""1"" DisplayName=""MenuBar#Commands"">\r\n <CommandCall Target=""MenuManager.OpenMenu"">"
PAUSE
CLS
GOTO Start
:5
CLS
ECHO Processing code (1/1) Expected -Replace: 5
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""2"" DBKey=""TPBaseMotion"" ProcID=""2011"" ModuleIdent=""INLINEFORM"" ProcParam=""KUKATPBASIS;MOVE;COMMAND""*.*/>" --replace "<Button Position=""2"" DBKey=""TPBaseMotion"" ProcID=""2011"" ModuleIdent=""INLINEFORM"" ProcParam=""KUKATPBASIS;MOVE;COMMAND"" Right=""UM20""/>"
PAUSE
CLS
GOTO Start
:6
CLS
ECHO Processing code (1/1) Expected -Replace: 5
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""2"" DBKey=""TPBaseMotion"" ProcID=""2011"" ModuleIdent=""INLINEFORM"" ProcParam=""KUKATPBASIS;MOVE;COMMAND"" Right=""UM20""*.*/>" --replace "<Button Position=""2"" DBKey=""TPBaseMotion"" ProcID=""2011"" ModuleIdent=""INLINEFORM"" ProcParam=""KUKATPBASIS;MOVE;COMMAND""/>"
PAUSE
CLS
GOTO Start
:7
CLS
ECHO Processing code (1/1) Expected -Replace: 4
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""4"" DBKey=""EditLastCmd"" ProcID=""2012"" ModuleIdent=""INLINEFORM""*.*/>" --replace "<Button Position=""4"" DBKey=""EditLastCmd"" ProcID=""2012"" ModuleIdent=""INLINEFORM"" Right=""UM20""/>"
PAUSE
CLS
GOTO Start
:8
CLS
ECHO Processing code (1/1) Expected -Replace: 4
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""4"" DBKey=""EditLastCmd"" ProcID=""2012"" ModuleIdent=""INLINEFORM"" Right=""UM20""*.*/>" --replace "<Button Position=""4"" DBKey=""EditLastCmd"" ProcID=""2012"" ModuleIdent=""INLINEFORM""/>"
PAUSE
CLS
GOTO Start
:9
CLS
ECHO Processing code (1/3) Expected -Replace: 15
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""5"" DBKey=""TPBaseTouch"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""0""*.*/>" --replace "<Button Position=""5"" DBKey=""TPBaseTouch"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""0"" Right=""UM20""/>"
PAUSE
CLS
ECHO Processing code (2/3) Expected -Replace: 6
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""4"" DBKey=""TPBaseTouchHP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""1""*.*/>" --replace "<Button Position=""4"" DBKey=""TPBaseTouchHP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""1"" Right=""UM20""/>"
PAUSE
CLS
ECHO Processing code (3/3) Expected -Replace: 6
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""5"" DBKey=""TPBaseTouchZP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""2""*.*/>" --replace "<Button Position=""5"" DBKey=""TPBaseTouchZP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""2"" Right=""UM20""/>"
PAUSE
CLS
GOTO Start
:10
CLS
ECHO Processing code (1/3) Expected -Replace: 15
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""5"" DBKey=""TPBaseTouch"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""0"" Right=""UM20""*.*/>" --replace "<Button Position=""5"" DBKey=""TPBaseTouch"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""0""/>"
PAUSE
CLS
ECHO Processing code (2/3) Expected -Replace: 6
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""4"" DBKey=""TPBaseTouchHP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""1"" Right=""UM20""*.*/>" --replace "<Button Position=""4"" DBKey=""TPBaseTouchHP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""1""/>"
PAUSE
CLS
ECHO Processing code (2/3) Expected -Replace: 6
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""5"" DBKey=""TPBaseTouchZP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""2"" Right=""UM20""*.*/>" --replace "<Button Position=""5"" DBKey=""TPBaseTouchZP"" ProcID=""2500"" ModuleIdent=""INLINEFORM"" ProcParam=""2""/>"
PAUSE
CLS
GOTO Start
:11
CLS
ECHO Processing code (1/3) Expected -Replace: 5
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""4"" DBKey=""Delete"" ProcID=""11""*.*/>" --replace "<Button Position=""4"" DBKey=""Delete"" ProcID=""11"" Right=""UM20""/>"
PAUSE
CLS
ECHO Processing code (2/3) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<MenuItem DisplayName=""Delete"" MergeOrder=""500"">\r\n*.*<CommandCall Target=""LegacyLoader.InvokeModuleProc""*.*>" --replace "<MenuItem DisplayName=""Delete"" MergeOrder=""500"">\r\n <CommandCall Target=""LegacyLoader.InvokeModuleProc"" Right=""UM20"">"
PAUSE
CLS
ECHO Processing code (3/3) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<MenuItem DisplayName=""Delete"" MergeOrder=""700"">\r\n*.*<CommandCall Target=""LegacyLoader.InvokeModuleProc""*.*>" --replace "<MenuItem DisplayName=""Delete"" MergeOrder=""700"">\r\n <CommandCall Target=""LegacyLoader.InvokeModuleProc"" Right=""UM20"">"
PAUSE
CLS
GOTO Start
:12
CLS
ECHO Processing code (1/3) Expected -Replace: 5
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<Button Position=""4"" DBKey=""Delete"" ProcID=""11"" Right=""UM20""*.*/>" --replace "<Button Position=""4"" DBKey=""Delete"" ProcID=""11""/>"
PAUSE
CLS
ECHO Processing code (2/3) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<MenuItem DisplayName=""Delete"" MergeOrder=""500"">\r\n*.*<CommandCall Target=""LegacyLoader.InvokeModuleProc"" Right=""UM20""*.*>" --replace "<MenuItem DisplayName=""Delete"" MergeOrder=""500"">\r\n <CommandCall Target=""LegacyLoader.InvokeModuleProc"">"
PAUSE
CLS
ECHO Processing code (3/3) Expected -Replace: 1
"fnr.exe" --cl --dir "C:\KRC\SmartHMI" --fileMask "SmartHMI.exe.Standard.config" --useRegEx --useEscapeChars --find "<MenuItem DisplayName=""Delete"" MergeOrder=""700"">\r\n*.*<CommandCall Target=""LegacyLoader.InvokeModuleProc"" Right=""UM20""*.*>" --replace "<MenuItem DisplayName=""Delete"" MergeOrder=""700"">\r\n <CommandCall Target=""LegacyLoader.InvokeModuleProc"">"
PAUSE
CLS
GOTO Start
:0
ENDLOCAL
EXIT
Display More
change the module to read only in properties then no one can add or change anything