PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter


PKTH100B temperature and humidity sensor

 

PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

Rated voltage DC9V~DC30V
measuring range Temperature: -40 DEG C, ~120 DEG C
Humidity: 0 ~ 100%rh
measurement accuracy Temperature: + 0.3, resolution 0.1
Humidity: + 3%rh resolution 0.1 RH
Output interface RS485
Communication protocol MODBUS RTU
communicationaddress 1-247,
baud rate 1200 bit/s, 2400 bit/s, 4800 bit/s, 9600 bit/s, 19200 bit/s
Average power consumption <0.1W
Installation method Rail installation, interior wall mounting, ceiling mounting
Product size 65*46*29mm

 

PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
PKTH100B temperature and humidity sensor 485 communication transmitter MODBUS RTU and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

 

Netcat: Send TCP binarry files for control KMtronic RS485 Relay

 

 

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

 

 

 

 

 

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program

 

Heatmiser EDGE ModBus Thermostat
Heatmiser EDGE ModBus Thermostat

 

Protocol:
EDGE SERIES MODBUS COMMUNICATION PROTOCOL V1.8

Communication protocol:
1. UART Baud Rate: 9600
2. UART Parity: None
3. Communications ID Rang:0-32 ,255

Heatmiser EDGE
The Heatmiser EDGE is 230v powered Thermostat that is compatible with the Heatmiser wireless air sensor and wireless door/window switch. The wireless air sensor function is perfect for those looking to measure the temperature in another location and for those with larger open plan properties, multiple air sensors can be used to create an average temperature.

The Heatmiser EDGE can be set to work as a non programmable, 5/2 day, 7 day or 24 hour programmable thermostat.

230V Powered
Wireless Air Sensor Function
Modbus Network Function

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter
Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter
Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter
Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter
Testing Heatmiser EDGE ModBus Thermostat with ModbusMAT freeware program and KMtronic USB<>RS485 adapter

 

ModbusMAT freeware ModBus program

 

Test KMtronic LAN TCP/IP to RS485 Serial Converter

 

KMtronic LAN TCP/IP to RS485 Serial Converter
KMtronic LAN TCP/IP to RS485 Serial Converter

 

Default:
IP address: 192.168.1.199
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Default RS485 Bringe Port – 12345
Username: admin
Password: admin

Ethernet Communication:
TCP/IP
Bringe Port – 12345

RS485 Serial Port Communication:
RS-485 Sugnals –    A(Data+), B(Data-), GND
Baudrate –  1200, 2400, 4800, 9600, 19200,
38400, 57600 and 115200 bits per second.
Parity Check: None, Even, Odd
Data bits: 8
Stop bits: 1, 2

Reset to Default Settings:
Hold Reset button for 10 seconds

 

Testing KMtronic LAN TCP/IP to RS485 Serial Converter
Test KMtronic LAN TCP/IP to RS485 Serial Converter
Testing KMtronic LAN TCP/IP to RS485 Serial Converter
Test KMtronic LAN TCP/IP to RS485 Serial Converter

 

Testing KMtronic LAN TCP/IP to RS485 Serial Converter
Test KMtronic LAN TCP/IP to RS485 Serial Converter

 

NEW Product: LAN TCP/IP to RS485 Serial Converter

 

KMtronic LAN TCP/IP to RS485 Serial Converter

 

Sending “Hello” to RS485 via USB<>RS485 adapter

KMtronic LAN TCP/IP to RS485 Serial Converter
KMtronic LAN TCP/IP to RS485 Serial Converter: Sending “Hello” to RS485 via USB<>RS485 adapter

 

Receiving data using PuTTY Telnet connected to
IP:192.168.1.199
PORT:12345

KMtronic LAN TCP/IP to RS485 Serial Converter
KMtronic LAN TCP/IP to RS485 Serial Converter: Receiving data using PuTTY Telnet

 

KMtronic LAN TCP/IP to RS485 Serial Converter: Receiving data using TCP Client Server software
KMtronic LAN TCP/IP to RS485 Serial Converter: Receiving data using TCP Client Server software

 

PHP test file

<?php

error_reporting(E_ALL);

echo "<h2>TCP/IP Connection</h2>\n";

/* Get the port for the WWW service. */
$service_port = 12345;

/* Get the IP address for the target host. */
$address = '192.168.1.199';

/* Create a TCP/IP socket. */
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
if ($socket === false) {
echo "socket_create() failed: reason: " . socket_strerror(socket_last_error()) . "\n";
} else {
echo "OK.\n";
}

echo "Attempting to connect to '$address' on port '$service_port'...";
$result = socket_connect($socket, $address, $service_port);
if ($result === false) {
echo "socket_connect() failed.\nReason: ($result) " . socket_strerror(socket_last_error($socket)) . "\n";
} else {
echo "OK.\n";
}

$in = "Hello from PHP";
$out = '';

echo "Sending HTTP HEAD request...";
socket_write($socket, $in, strlen($in));
echo "OK.\n";

//echo "Reading response:\n\n";
//while ($out = socket_read($socket, 2048)) {
// echo $out;
//}

echo "Closing socket...";
socket_close($socket);
echo "OK.\n\n";

?>