Software examples

Software examples (74)

Children categories

Thursday, 04 June 2015 08:39

Control KMtronic UDP LAN relays via Packet Sender

Written by

KMtronic UDP LAN Controled Internet relay board

 

Packet Sender

The Free Network Test Utility

 

 

Packet Sender is an open source utility to allow sending and receiving TCP and UDP packets. It is available free (no ads / no bundleware) for Windows, Mac, and Linux.

 

 

 KMtronic UDP LAN Controled Internet relay board

 

 

 

www.PacketSender.com

 

 

 

Monday, 01 June 2015 08:20

Control KMtronic relays via EXCEL

Written by

 

KMtronic USB One Relay Microsoft Excel Control

 

Download example file from:

www.info.kmtronic.com/software/USB_Relays/KMtronic-Excel-USB-Relay-Control.zip

     Only for 32bit OS!

For 64 bit OS download this example:

 

www.info.kmtronic.com/software/USB_Relays/KMtronic-Excel-USB-Relay-Control-64bit.zip

 

 

Copy 'NETComm.ocx' and 'MSCOMM32.OCX' to C:\Windows\System 

 

Open Command Prompt:  Start ->type cmd in search field -> press Enter

 

Type "regsvr32 C:\Windows\System\NETComm.ocx" and ENTER

Type "regsvr32 C:\Windows\System\MSCOMM32.OCX" and ENTER

 

 

Control KMtronic relays via EXCEL

 

 

Open "KMtronic-Excel-USB-Relay-Example.xls" and "Enable Macros"

 

Control KMtronic relays via EXCEL

 

Set COM port and type "1" A1 cell

 

Control KMtronic relays via EXCEL

 

 

Code:

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$A$1" Then
If IsNumeric(Target) Then
On Error Resume Next
On Error GoTo 0
UserForm1.Show
End If
End If
End Sub

Private Sub UserForm_Activate()
MSComm1.CommPort = Sheets("Sheet1").Range("F1").Value
MSComm1.PortOpen = True
MSComm1.Output = Chr$(255) + Chr$(1) + Chr$(Sheets("Sheet1").Range("A1").Value)
MSComm1.PortOpen = False
Unload UserForm1
End Sub

 

 

 

 

 

 

 

 

 

Wednesday, 27 May 2015 07:16

Control KMtronic relays via BAT files Example 04

Written by

 

 

 

 

KMtronic USB, RS485, RS232 BAT file control example

 

 

 

 

FILE: Menu.bat


ECHO OFF
:MENU
CLS
ECHO.
ECHO ...............................................
ECHO.
ECHO KMTronic USB Relay Control
ECHO.
ECHO PRESS (1), (2) or (3) to EXIT.
ECHO.
ECHO ...............................................
ECHO.
ECHO (1) - Turn Relay 1 ON
ECHO (2) - Turn Relay 1 OFF
ECHO (3) - EXIT
ECHO.
SET /P M=Type 1, 2, or 3, then press ENTER:
IF %M%==1 GOTO ON
IF %M%==2 GOTO OFF
IF %M%==3 GOTO END
:ON
D:\KMtronic\USBRelay.exe -c:5 -r:1#1
GOTO MENU
:OFF
D:\KMtronic\USBRelay.exe -c:5 -r:1#0
GOTO MENU
:END
D:\KMtronic\USBRelay.exe -c:5 -r:1#0


 

 

 

 

 

 

Wednesday, 27 May 2015 07:12

Control KMtronic relays via BAT files Example 03

Written by

 

 

 

 

KMtronic USB, RS485, RS232 BAT file control example

 

 

 

 

 

FILE: 10sec.bat


D:\KMtronic\USBRelay.exe -c:5 -r:1#1
timeout /t 5
D:\KMtronic\USBRelay.exe -c:5 -r:1#0


 

 

 

 

 

Wednesday, 27 May 2015 06:58

Control KMtronic relays via BAT files Example 02

Written by

 

 

 

 

KMtronic USB, RS485, RS232 BAT file control example

 

 

 

 

FILE: OFF.bat


D:\KMtronic\USBRelay.exe -c:5 -r:1#0




Wednesday, 27 May 2015 06:48

Control KMtronic relays via BAT files Example 01

Written by

 

 

 

KMtronic USB, RS485, RS232 BAT file control example

 

 

 

 

FILE: ON.bat


 

D:\KMtronic\USBRelay.exe -c:5 -r:1#1

 


 

 

 

Wednesday, 27 May 2015 06:28

Control KMtronic relays via BAT files

Written by

 

 

KMtronic USB, RS485, RS232 BAT file control example

 

 

 

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

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Domoticz now supports the KMTronic USB, RS485 and TCP(Web) relay boards

 

 

 

www.Domoticz.com

 

 

 

Domoticz is a Home Automation System that lets you monitor and configure various devices like: Lights, Switches, various sensors/meters like Temperature, Rain, Wind, UV, Electra, Gas, Water and much more. Notifications/Alerts can be sent to any mobile device.

 


 

Domoticz now supports the KMTronic USB, RS485 and TCP(Web) relay boards


 

 

 
www.domoticz.com/forum/viewtopic.php?f=17&t=6456

 

 

 

 

 

 

 


 

Thursday, 23 April 2015 12:26

Self Service Tablet Kiosk by Enigma Systems LLC

Written by

 KMTronic USB Relay board

 

 

Orbose Kiosks integrated KMTronic USB relays to the Orbose Kiosk solution so your business can enjoy self-service product fulfillment.

The KMTronic USB relay allows our kiosk to automatically unlock doors to a fridge, kiosk, etc. upon a successful order through the software solution.
 
 

 

 
http://www.orbose.com/?page_id=2319

 
 
 
 

 


 

Thursday, 23 April 2015 11:49

Control4 RS232 8 Relay Board Driver License

Written by

 KMTronic RS232 8 channels Relay board

 

HouseLogix, Inc.is a pioneering US technology company based in Pennsylvania.
The HouseLogix product division designs, develops, and manufactures products and software
that serve the home automation industry such as the VoicePod devices and apps.
The service division delivers high quality commercial and residential automation installations.
 
 


This driver allows you to control the 8 relay device from KMTronic in the Control4 System. With bindings for the 8 relays, simply connect to the Generic Relay driver you want to use and from the Control4 UI you will be able to open and close each zone.

 

Driver:
https://www.houselogix.com/shop/kmtronic-8-relay-board-control4-driver-license

 
 
 

 


 

Page 2 of 6