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

 

 

KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter: testing MODBUS LED Display

 

Python examples KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter: testing MODBUS LED Display

 

Python examples KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter: testing MODBUS LED Display
Python examples KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter: testing MODBUS LED Display

 

Pymodbus is a full Modbus protocol implementation using twisted for its asynchronous communications core.

 

import struct

from struct import *
from pymodbus.client.sync import ModbusTcpClient
# from pymodbus.client.sync import ModbusSerialClient as ModbusClient

import logging
logging.basicConfig()
log = logging.getLogger()
log.setLevel(logging.DEBUG)

// IP KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter
host = '192.168.1.199'
port = 502

client = ModbusTcpClient(host, port)
# client = ModbusClient(method='rtu', port='/dev/ttyUSB0', timeout=1)
client.connect()


# First digital input address
address = 0
# Written value
value = 1221

# It will send '1221' to the output 
client.write_register(address, value, unit=1)

print "-----------------------------"

 

Output

kr@ubuntu-server:/var/www/html/python-test$ python ModBus-LED-Display.py
DEBUG:pymodbus.transaction:Current transaction state - IDLE
DEBUG:pymodbus.transaction:Running transaction 1
DEBUG:pymodbus.transaction:SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x6 0x0 0x0 0x4 0xc5
DEBUG:pymodbus.client.sync:New Transaction state 'SENDING'
DEBUG:pymodbus.transaction:Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
DEBUG:pymodbus.transaction:Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
DEBUG:pymodbus.transaction:RECV: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x6 0x0 0x0 0x4 0xc5
DEBUG:pymodbus.framer.socket_framer:Processing: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x6 0x0 0x0 0x4 0xc5
DEBUG:pymodbus.factory:Factory Response[WriteSingleRegisterResponse: 6]
DEBUG:pymodbus.transaction:Adding transaction 1
DEBUG:pymodbus.transaction:Getting transaction 1
DEBUG:pymodbus.transaction:Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
-----------------------------
kr@ubuntu-server:/var/www/html/python-test$

 

Python examples KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter: testing MODBUS LED Display
Python examples KMtronic Modbus LAN TCP/IP to Modbus RS485 RTU Serial Converter: testing MODBUS LED Display

 

Testing RS485 Serial Port Meter Red LED Display PLC Communication MODBUS-RTU / ASC

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

RS485 Serial Port Meter Red LED Display PLC Communication MODBUS-RTU / ASC

 

 

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

 

KMtronic ModBus Test software
KMtronic ModBus Test software

 

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

 

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

 

This software utility is written for testing Modbus slave devices. Modbus protocol exist for serial port (RTU) and for Ethernet (TCP). Modbus allows for communication between many devices connected to the same network. Free replacement for applications like ModScan, Modbus Poll etc. Support for Modbus TCP and Modbus RTU protocols. Modbus Master Simulator supports multiple Modbus slave devices.

 

 

 

How to monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

Monitoring Eastron SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter
Monitoring monitor SDM230 Modbus Smart Meter using Domoticz and KMtronic LAN TCP/IP to Modbus RS485 RTU Serial Converter

 

SDM230 Modbus 220/230V Single Phase Energy Meter, double DIN module
SDM230 Modbus 220/230V Single Phase Energy Meter, double DIN module

 

https://sigma-shop.com/product/168/sdm230-modbus-220-230v-single-phase-energy-meter-double-din-module.html

 

KMtronic Modbus RS485 RTU Serial to Modbus LAN TCP/IP Module 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