LAN DS18B20 WEB Temperature Monitor 1 meter Cable
www.WEB-Relays.com
www.Facebook.com/KMtronic

Netcat: Send TCP binarry files for control KMtronic RS485 Relay

Spread the love

 

 

Netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP.

 

BAT file for generate BIN files

@echo off
echo FF0101>on.txt
certutil -decodehex on.txt on.bin@echo off
echo FF0100>off.txt
certutil -decodehex off.txt off.bin

 

D:\Rabotna\Socat>nc -w 1 192.168.1.199 12345 < on.bin
D:\Rabotna\Socat>nc -w 1 192.168.1.199 12345 < off.bin

 

 

KMtronic LAN TCP/IP to RS485 Serial Converter

 

 

 

 

 

 

KMtronic LAN WEB 8 Channel Relay board