APPENDIX C: COMMAND LINE INTERFACE
COMMAND LINE INTERFACE
L90 LINE CURRENT DIFFERENTIAL SYSTEM – INSTRUCTION MANUAL
C-3
C
Example of a batch file that checks for an error (this batch file uses standard batch file operations to check the return
code (ERRORLEVEL) and jump to an error handler):
SetupCLI URPC start
SetupCLI URPC login -d demoDevice -a SETTINGS -w WrongPassword -A traditional
IF NOT ERRORLEVEL 0 GOTO FAILED
SetupCLI URPC putsettings -d demoDevice -f "example file.urs"
SetupCLI URPC inservice -d demoDevice
SetupCLI URPC reboot -d demoDevice
SetupCLI URPC exit
exit
:FAILED
echo Please try again
exit
For CyberSentry devices with local authentication
— Set <authentication type> to "local" . Set <account> to
"Supervisor", "Administrator", "Engineer", "Operator", or "Observer".
For CyberSentry devices with RADIUS authentication
— Set <authentication type> to "radius". Set <account> to the
user's account on the RADIUS server.
SetupCLI <Application> logout -d <device> [-s]
Log out of device <device>.
Example: SetupCLI URPC logout -d C30
SetupCLI <Application> getsettings -d <device> -f <File> [-s]
Read settings from device <device> and save them to the .urs file <File>. The <File> must not already exist. The default
path to the output file is C:\Users\Public\Public Documents\GE Power Management\URPC\Data
Example: SetupCLI URPC getsettings -d C30 -f "C30 Markham.urs"
Example of a batch file to retrieve a settings file:
SetupCLI URPC start
SetupCLI URPC getsettings -d demoDevice -f C:\example.urs
SetupCLI URPC exit
Example of a batch file to retrieve a settings file from a relay that requires RADIUS authentication:
SetupCLI URPC start
SetupCLI URPC login -d demoDevice -a %1 -w %2 -A radius
SetupCLI URPC getsettings -d demoDevice -f "example file.urs"
SetupCLI URPC logout -d demoDevice
SetupCLI URPC exit
Although a user name and password could have been entered in this batch file, it would have created a security risk.
Batch files allow you to pass in runtime parameters and refer to them in your script as %1, %2, and so on. For example,
if this file is called example.bat, one calls it as follows: "example.bat MyUserName MyPassword"
SetupCLI <Application> putsettings -d <device> -f <File> [-s]
Write the settings file <File> to the device <device>.
For CyberSentry devices, putsettings is only supported for users with the "Administrator" role.
Example: SetupCLI URPC putsettings -d C30 -f "C30 Markham.urs"
Содержание L90
Страница 14: ...1 4 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL FOR FURTHER ASSISTANCE CHAPTER 1 INTRODUCTION 1 ...
Страница 68: ...2 54 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL SPECIFICATIONS CHAPTER 2 PRODUCT DESCRIPTION 2 ...
Страница 136: ...3 68 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL CONNECT TO D400 GATEWAY CHAPTER 3 INSTALLATION 3 ...
Страница 224: ...4 88 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL FLEXLOGIC DESIGN USING ENGINEER CHAPTER 4 INTERFACES 4 ...
Страница 692: ...6 36 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL PRODUCT INFORMATION CHAPTER 6 ACTUAL VALUES 6 ...
Страница 708: ...7 16 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL TARGETS MENU CHAPTER 7 COMMANDS AND TARGETS 7 ...
Страница 742: ...9 6 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL TESTING CHAPTER 9 COMMISSIONING 9 ...
Страница 804: ...10 62 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL FAULT LOCATOR CHAPTER 10 THEORY OF OPERATION 10 ...
Страница 872: ...C 6 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL COMMAND LINE INTERFACE APPENDIX C COMMAND LINE INTERFACE C ...
Страница 878: ...D 6 L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL REVISION HISTORY APPENDIX D MISCELLANEOUS D ...
Страница 882: ...iv L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL ABBREVIATIONS ...
Страница 900: ...xviii L90 LINE CURRENT DIFFERENTIAL SYSTEM INSTRUCTION MANUAL INDEX ...