USB One Channel Relayfor MACH3 CNC software
Manufacturer:
KMtronic LTD
Features:
- Fully assembled and tested.
- Powered from USB
- For 12V/24V DC 15A or 120V/220V AC at 10A max
Specifications:
Relay have Normally Open (NO) and
Normally Closed (NC) Contacts capable of switching max:
- 12VDC/15A
- 24VDC/15A
- 125VAC/15A
- 250VAC/10A
Dimensions:
100 mm / 58 mm / 24 mm
Supply:
Fully powered from USB
Drivers:
FTDI USB to Serial converter: FT232RL
Windows(all versions), Linux, Mac OS 8, Mac OS 9, Mac OS X,
Arduino, Raspberry PI ...
Communication:
8 Data, 1 Stop, No Parity
Baud rate : 9600
Commands:
OFF command : FF 01 00 (HEX) or 255 1 0 (DEC)
ON command : FF 01 01 (HEX) or 255 1 1 (DEC)
Status request : FF 01 03 (HEX) or 255 1 3 (DEC)
All in tree steps:1. Connect USB relay to PC and install the drivers.2. Download KMtronic.DLL and place it in your Mach3 install folder (usually C:\\Mach3)3. Add to your macro or button script ON or OFF command
Command\'s:
a = Relay(5,1,\"ON\") - where \"5\" is USB COM port, \"1\" is relay number, \"ON\" is command, which turns ON the relay number 1 connected to COM5
a = Relay(5,1,\"OFF\") - where \"5\" is USB COM port, \"1\" is relay number, \"OFF\" is command, which turns OFF the relay number 1 connected to COM5Note- every script where you use commands has to start with this declaration:
Declare Function Relay Lib \"KMSerial.dll\" (ByVal comPort As Integer,ByVal numberRelay As Integer,ByVal command As String) As Boolean
htm1
When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.