Download ZIP file
www.info.kmtronic.com/KMtronic-BAT-Control.zip
Unzip in any folder
in example "D:\KMtronic"
Quick help
USBRelay.exe -c:<COM port> -r:<RELAY>#<STATE> -b:<BROADCAST> -q
-c: Com port
-r: Relay(s)#State(s)
-b: Broadcast/output on successful sent
-q: Silence mode
Commands examples
USBRelay.exe -c:5 -r:1#1 (this will turn on channel 1 board connected to COM:5)
USBRelay.exe -c:5 -r:1#0 (this will turn off channel 1 board connected to COM:5)
USBRelay.exe -c:8 -r:4#1 (this will turn on channel 4 board connected to COM:8)
USBRelay.exe -c:8 -r:4#0 (this will turn off channel 4 board connected to COM:8)
Examples are configured to work with default settings
- COM:5
BAT file examples
ON command
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-01.html
OFF command
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-02.html
10 sec Timer
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-03.html
Menu control
www.info.kmtronic.com/control-kmtronic-relays-via-bat-files-example-04.html