To control your relay with Relay Timer R2X, you need connect your relay board with your computer and Set Configuration in Relay Timer R2X to make sure the connection is available. You need to select the type of your relay board and the connection way.
Relay Timer R2X can be launched from command line with a specified configuration.
"Path to RelayTimer.exe" -c "Path to *.cfg"
"Path to RelayTimer.exe" -s "Path to *.sch"
The parameter "-c" is to launch Relay Timer R2X with the specified configuration file (*.cfg). Both the contents in Configuration dialog and Relay Setting dialog will be loaded. If the *.cfg file does not exist, it will be created in the specified path automatically. After editing the Configuration dialog and Setting dialog, the information will be saved to the created *.cfg file. When the command is run next time, all information will be loaded.
The parameter ”-s” is to launch Relay Timer R2X with the schedule setting file (*.sch). The content of Relay Setting dialog will be loaded. All information will be saved in the default configuration file. When Relay Timer R2X is launched by Icon on desktop or start menu, it loads the default configuration file. When you run this command, you need make sure the current default configuration file is same as when the *.sch file was saved.
Click Windows Start -> Run cmd.exe to open command line window.
Type the command with parameters.
Press ‘Enter’ key to launch Relay Timer R2X with the specified configuration file.
Create shortcut for RelayTimer.exe in the installation folder.
Open ‘Properties’ of the shortcut.
Add the arguments shown as below.
Double click the shortcut to launch Relay Timer R2X with the specified configuration file.