ModBus RTU communication protocol for THT/THT2 sensors

Similar documents
Communication Protocol MODBUS RTU used in TDS display

S u p p l e m e n t TQS3 MODBUS. Description of product modification with MODBUS RTU. 31. March 2008 w w w. p a p o u c h.

WIE485 and WIE232. Wiegand to RS485 or RS232 bidirectional interface converters for systems with contactless readers

Modbus Protocol For TGP03 / THP03

[ 公司地址 ] Modbus Protocol. For THS/THM 30X&80X_Temp.&Humididy & THS8X/THM8X_Dew Point Series V7.0

GNOME485. Ethernet to RS485 converter Eas y to use. Security features. Virtual serial port. 2/16/2006 w w w. p a p o u c h.

Communication protocol Spinel used in converters AD4xxx

Modbus Protocol For FTS/FTM 3x&8x

VISY-Command. Technical Documentation. with Modbus Protocol. Edition: Version: 1 Art. no.:

Modbus Protocol For PMX / PXM3X

Conto D1 MODBUS COMMUNICATION PROTOCOL

ICC. Modbus RTU Sniffer Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

Tango. alpha nea. Thermometers and controllers with digital communication - Series AM

THT-500-A/R (C5) 1. System Configuration COMMUNICATION INSTRUCTION MANUAL. No. THT5CE

Description of communication protocols of Txxxx series

Interface design document MODBUS Protocol. Ab s t r a c t Description of the MODBUS implementation for the Modbus I/O board

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 3 Art. no.:

TORRIX RS485. Technical Documentation. with MODBUS Protocol. Edition: Version: 2 Art. no.:

Modbus RTU/TCP Installation and Programming Guide PC3400 Particle Counter

Rev 1.3, Air-Farm User Manual. CO2 / Temperature / Humidity Transmitter

SC168MBM 16x8 Characters MODBUS MASTER LCD

Temperature-Humidity Sensor Configuration Tool Rev. A 1/25/

HARDENED ROOM SENSOR USER MANUAL SAD120 CPO55 E 1

Using the MODBUS Protocol with Athena Series C (1ZC, 16C, 18C, and 25C) Controllers

LoRaWAN Wzzard Utility Quick Guide. v /11/1

Precision Digital Modbus Register Tables Serial Communication

Protocol VIT5. Communications RS485. Version 1.0. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.Up ENTER. Pg.

Appendix to the Operating Instructions RMx621 with ModBus Interface V Connection to ModBus-IDA System

SPM90 MODBUS PROTOCOL AND REGISTER LIST V1.0

Master-Touch and ValuMass. Modbus Communications. INSTRUCTION MANUAL (Rev. 3.1)

User Module. Modbus TCP2RTU. Application note

` тел.: +375(01771) Manual addendum. CJSC Mechatronics Mechatronics rev. 0.

BQ & BQ370-01N MODBUS ANALOG INPUT DEVICE USER MANUAL

TR600 with RS485 Appendix 1

INTELLIS. Modbus Direct Network Monitor

AD4ETH. Measuring converter. 4 inputs for standardized signal measuring 0 10 V, 0 20 ma, 4 20 ma,... Communication via Ethernet

SB485. USB-RS485/422 converter. Isolation. Virtual serial port

MODBUS-IN. Modbus Card. User & Installation Manual Xtreme Power Conversion Corporation. All rights reserved.

MODBUS TESTER SOFTWARE U S E R M A N U A L

EM23-DIN COMMUNICATION PROTOCOL. Version 0 Revision 0

Deutschmann Module Unigate. CL-Profibus DP. Modbus - Profibus DP Programmer s Manual

User Module. Modbus RTU2TCP APPLICATION NOTE

$GDSWLYH0LFUR6\VWHPV

Communication protocols description of. Hx4xx and Hx3xx regulators with RS485 and RS232 communication interface

TECH TIP. Tritex Modbus Protocol Specification

Modbus Manual Version Modbus Manual for Clean Room Panel CRP5

DL-10. User Manual. RS-485 Remote Temperature and Humidity. English Ver. 1.0, Jul. 2017

EM21 COMMUNICATION PROTOCOL. Version 1 Revision 0

Modbus Module. Data sheet. Communication module for MULTICAL 403 and MULTICAL 603

isma-b-mg-ip User Manual Global Control 5 Sp. z o.o. Poland, Warsaw

MPU-32 AND FPU-32 TIA-485 NETWORK

Modbus Module. Data sheet. Communication module for MULTICAL 403 and MULTICAL 603

Version Action Author Date

Real Time Clock with Temperature Sensor and RS485/Modbus Comunications

Electronics Single wire communication

For more information Contact with details of the application.

Deutschmann Module Unigate. CL-Profibus DP. Modbus - Profibus DP Programmer s Manual

D8000 SERIES QUICK START GUIDE

GW-USB-05. User's Guide. FW v1.07. IQRF USB Gateway MICRORISC s.r.o. User_Guide_GW-USB-05_ Page 1

Operate the Hydrolab SDI-12 / Modbus / RS232 TTY Communications Module (HL Series Sonde)

This command can be used for reading the current value of one or several input channels, according to the table below.

Member of the ams Group

Communications guide. Line Distance Protection System * F1* GE Digital Energy. Title page

ICC. Modbus RTU Slave Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

SOFTWARE FUNCTIONAL REQUIREMENTS SPECIFICATION. Athena DeviceNet Interface Module Revision /26/2001

TRANSDUCER T4311, T4411

For more detailed instruction, see the KTA-282 user manual. This document is a condensed version; intended as a reference.

Sample F4T 32-bit Modbus RTU Packet

IFC 100 Supplementary instructions

T7 Modbus Communication User Guide

ICC. Metasys N2 Master Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

TH2E. Intelligent Ethernet sensor for temperature, humidity and dew point. 18. January 2017 w w w. p a p o u c h. c o m

MultiCube. Modbus Data Tables. August Northern Design (Electronics) Ltd Bradford UK

T2314, T2414. Instruction Manual

Operating Instructions RMx621

Protocollo Modbus sui controlli pco Modbus protocol for pco controllers

DMTME Multimeters. Communication protocol. Technical specification V1.2 ABB

DTU sensor data formats.

Specification E2 Interface

Gastrack Gas Analyser

F-3100 FLOW METER NETWORK INTERFACE Installation and Operation Guide

TRANSMITTER T3311, T3411

M2M/DMTME Instruments Communication protocol. Technical specification V.2.1 2CSG445011D0201

DAE Instrument Corp. AMR. Auto Meter Reading Module. Modbus Reference. Revision 1.3e Updated 2014/6/18

Modbus RTU Serial Communication User Manual

MOD-IO9 Modbus Input / Output Modules, Wall Mounted

ECHO Process Instrumentation, Inc. Modbus RS485 Module. Operating Instructions. Version 1.0 June 2010

Technical Documentation

FIOA-0800-L. Quick Start Manual for. Quick Start Manual. Quick Start Manual

EM210 COMMUNICATION PROTOCOL. Version 3 Revision 3

ICC. Siemens FLN Master Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

This document assumes the user has a reasonable understanding Modbus, RS485 communications, and Rockwell Software s RSLogix product line.

ioselect Z-NET Z-SG Bridge Input Isolating I/O Module

ABB Modbus RTU Driver for JMobile

DATEXEL LLC. Introducing DEV 9K Version2 with converting four Modbus Flow meters to 4-20 ma. Start-up.

G0313 Modbus to FF Gateway User Manual

installation Operation ADDRESS product diagram H8030/8031 INSTALLATION GUIDE

idevos MODBUS RTU PROTOCOL

ICC. Modbus/TCP Client Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

RTD-NET Installation Instructions

Transcription:

ModBus RTU communication protocol for THT/THT2 sensors Complete protocol description 2018-08-08 w w w. p a p o u c h. c o m fw 04

MODBUS RTU for THT M O DBUS RTU for THT Datasheet Created: 6.4.2009 Translated: 8.8 2018 10:40 Total pages: 12 2018 Address: Strasnicka 3164 102 00 Prague 10 Czech Republic Tel: +420 267 314 267 Fax: +420 267 314 269 Internet: E-mail: info@papouch.com Strana 2

MODBUS RTU for THT TABLE OF CONTENTS Desctiption... 4 Basic communication parameters... 4 Firmware change log... 4 Switching the protocols... 5 Spinel ModBus RTU... 5 Allow configuration... 5 Switching... 5 MODBUS RTU Spinel... 5 Memory layout... 6 List of function codes... 6 Identification of the Device... 6 Holding Register... 6 Input Register... 7 Strana 3

MODBUS RTU for THT DESCTIPTION This document describes ModBus RTU communication protocol embedded into an intelligent sensor for temperature and humidity, THT or THT2. Datasheet and manual can be both downloaded from papouch.com in PDF format. B a s i c c o m m u n i c a t i o n p a r a m e t e r s Communication line... RS485 Communication speed... from 1.2 kbd to 115.2 kbd (default: 9.6 kbd) Data bits... 8 Parity... no parity Stop bits... 1 Delay before response is sent... 2 ms 1 Default address... 0x31 Default protocol... Spinel F i r m w a r e c h a n g e l o g Version 04 ModBus RTU protocol added. THT is capable of communication via one protocol at once. Active protocol can be set by special instruction described below. (Default protocol is Spinel described in other document.) 1 Delay is added in order to allow the device to switch the direction of RS485 communication. Strana 4

MODBUS RTU for THT SWITCHING THE PROTOCOLS Default communication protocol is Spinel. For switching the protocol to ModBus RTU, following Spinel instruction must be sent to the device. S p i n e l M o d B u s RTU A l l o w c o n f i g u r a t i o n This instruction allows service instructions. It has to forego the switching instruction. Instruction cannot be used with universal or broadcast address. Request: Instruction code: E4H Response: Acknowledge code: ACK 00H Examples: Request: 2AH,61H,00H,05H,01H,02H,E4H,88H,0DH Allow configuration. Response: 2AH,61H,00H,05H,01H,02H,00H,6CH,0DH Instruction acknowledged. S w i t c h i n g Switching the protocol is executed by special Spinel 97 instruction. Address of a specific module has to be used (the instruction cannot be used with universal or broadcast address.) Allow configuration instruction must forego this instruction. Request: Instruction code: EDH Response: Acknowledge code: ACK 00H Examples: Request: 2AH,61H,00H,06H,66H,02H,EDH,02H,17H,0DH Switching instruction: Spinel to ModBus RTU. Response: 2AH,61H,00H,05H,66H,02H,00H,07H,0DH Instruction acknowledged. From this point on THT communicates via ModBus RTU. M O D B U S R T U S p i n e l It is switched by writing to the Holding register. Strana 5

MODBUS RTU for THT MEMORY LAYOUT For the initial configuration of the address, etc., we recommend using the ModbusConfigurator. L i s t o f f u n c t i o n c o d e s The device allows access to its memory depending on the type of registry using the following instructions: 0x03... Read Holding register 0x04... Read Input Registers 0x06... Write Single Register 0x10... Write Multiple registers 0x11... Identification I d e n t i f i c a t i o n o f t h e D e v i c e Reading of the device identification string (Report slave ID). Function codes: 0x11 Report slave ID Parameters: Number of bytes 1 Byte According to the string ID 1 Byte ID is the same as the device address RI 1 Byte Run Indicator here always 0xFF (on) Data H o l d i n g R e g i s t e r N Bytes Address Access Function Name String the same as in Spinel protocol. For example: THT; v0301.01.01; f66 97 0 2 write 0x06 1 read, write 0x03, 0x06, 0x10 Enable Configuration Writing the 0x00FF value to this memory location must precede all instructions that write in the addresses of 0 to 5 in the holding register. It is used to protect against accidental configuration changes. The Enable Configuration instruction must not be written using the 0x10 function code together with other parameters! Address (ID) 3 A unique address of the device in the Modbus protocol. A number ranging from 1 to 247 is expected. The address is unique to the Modbus protocol. The default address is 0x0031. 2 You can see register numbered from 0 or from 1 as the first register has an address of 0. 3 Writing to this memory location must be preceded by writing the 0x00FF value into the address of 0 in the Enable Configuration position. This prevents accidental configuration changes. It is not allowed to write Enable Configuration using Multiply write simultaneously with other parameters. Strana 6

MODBUS RTU for THT Address Access Function Name 2 read, write 0x03, 0x06, 0x10 3 read, write 0x03, 0x06, 0x10 4 read, write 0x03, 0x06, 0x10 5 read, write 0x03, 0x06, 0x10 Communication speed 3 Supported communication speeds are: 1 200 Bd... 0x0003 2 400 Bd... 0x0004 4 800 Bd... 0x0005 9 600 Bd... 0x0006 (default) 19 200 Bd... 0x0007 38 400 Bd... 0x0008 57 600 Bd... 0x0009 115 200 Bd... 0x000A Data word format 3 Data word is always eight-bit. Code Parity Stop bits 0x0000 (default) none (N) 1 0x0001 even (E) 1 0x0002 odd (O) 1 0x0003 none (N) 2 0x0004 even (E) 2 0x0005 odd (O) 2 Packet end distinction 3 Configures what delay between bytes is considered an end of the packet. Delay is entered as bytes count. You can enter 4 to 100 bytes. Default value is 10. Communication protocol 3 This instruction allows THT to be switched to Spinel protocol. After sending the response, THT switches to Spinel protocol and communicates with it from this point on. Code for Spinel: 0x0001 (default) Code for Modbus RTU: 0x0002 I n p u t R e g i s t e r Address Access Function Name Values and states sorted by channel order 0 4 read 0x04 1 read 0x04 2, 3 read 0x04 Temperature status 0x0000 value is valid Other value is invalid Current temperature integer Current temperature as signed integer (16bit value) multiplied by a factor of ten (i.e. temperature 24.6 C is sent as 246). Current temperature float Current temperature as 32 bit float number according to IEEE 754. 4 You can see register numbered from 0 or from 1 as the first register has an address of 0. Strana 7

MODBUS RTU for THT Address Access Function Name 4 read 0x04 5 read 0x04 6, 7 read 0x04 8 read 0x04 9 read 0x04 10, 11 read 0x04 Humidity status 0x0000 value is valid Other value is invalid Current humidity integer Current humidity as signed integer (16bit value) multiplied by a factor of ten. Current humidity float Current temperature as 32 bit float number according to IEEE 754. Dew point status 0x0000 value is valid Other value is invalid Current dew point integer Current dew point as signed integer (16bit value) multiplied by a factor of ten. Current dew point float Current dew point as 32 bit float number according to IEEE 754. Values and states sorted by value type 29 read 0x04 Temperature status 30 read 0x04 Humidity status 31 read 0x04 Dew point status 32 read 0x04 Current temperature integer 33 read 0x04 Current humidity integer 34 read 0x04 Current dew point integer 35, 36 read 0x04 Current temperature float 37, 38 read 0x04 Current humidity float 39, 40 read 0x04 Current dew point float 41 read 0x04 42 read 0x04 Current temperature RAW value Value are 16bit number directly from A/D converter. Current humidity RAW value Value are 16bit number directly from A/D converter. Strana 8

MODBUS RTU for THT Strana 9

MODBUS RTU for THT Strana 10

MODBUS RTU for THT Strana 11

MODBUS RTU for THT Přenosy dat v průmyslu, převodníky linek a protokolů, RS232/485/422/USB/Ethernet/GPRS/ WiFi, měřicí moduly, inteligentní teplotní čidla, I/O moduly, elektronické aplikace dle požadavků. Address: Strasnicka 3164 102 00 Prague 10 Czech Republic Tel: +420 267 314 267 Fax: +420 267 314 269 Internet: E-mail: info@papouch.com w w w. p a p o u c h. c o m