Greystone Energy Systems NTDAMOD Скачать руководство пользователя страница 4

16

32

8

64

16

32

8

64

16

32

8

64

Greystone Energy Systems, Inc.  150 English Drive,   Moncton, NB  E1E 4G7  Canada  Tel: +1-506-853-3057  Tollfree (North America): +1-800-561-5611  Fax: +1-506-853-6014

Email: [email protected]    Web: www.greystoneenergy.com

ModBus Register Addressing 

ModBus 

Address 

Typical 

Offset 

Units 

Data 

Type 

Access 

Notes 

40001 

+0 

°C/°F  

Word 

Read 

16-bit integer,   TEMPERATURE_VALUE x 10

 

Multiplier = 10 

-400 to 1000 for -40.0 to 100.0 °C,  

-400 to 2120 for -40.0 to 212.0 °F  

40002 

+1 

%RH  

Word 

Read 

16-bit integer,   RELATIVE_HUMIDITY_VALUE

 

Multiplier = 10 

0 to 1000 for 0.0 to 100.0 %RH  

40003 

+2 

°C/°F  

Word 

Write 

16-bit integer,  TEMPERATURE_OFFSET = 

-10 to 10 

C_OFFSET = TEMPERATURE_OFFSET / 2 = 

-5.0 to 5.0 °C  

F_OFFSET = TEMPERATURE_OFFSET = 

-10 to 10 °F 

40004 

+3 

%RH  

Word 

Write 

16-bit integer,   RH_OFFSET =  -10 to 10 

RH_OFF = RH_OFFSET =  -10 to 10 %RH  

40005 

+4 

 

Word 

Write 

16-bit integer,   TEMPERATURE_UNITS

 

0 = °C, 1 = °F  

RTU Function Codes  

 

0x03 --- Read holding registers 

Query 

Slave address 

(0x01 to 0xFF)  

Function 

code (0x03) 

Starting 

address MSB 

Starting 

address LSB  

Quantity of 

registers MSB  

Quantity of 

registers LSB  

CRC  

LSB  

CRC  

MSB  

* Starting address = 0x0000 to 0xFFFF,   Quantity of registers = 0x0000 to 0x007D  

 

Response 

Slave address 

(0x01 to 0xFF)  

Function 

code (0x03) 

Byte count 

2N 

Register 

value MSB  

Register 

value LSB  

… 

CRC  

LSB  

CRC  

MSB  

* N= Quantity of registers

 

 

 

 

 

0x06 --- Write single register  

Query 

Slave address 

(0x01 to 0xFF)  

Function 

code 0x06 

Register 

address MSB 

Register 

address LSB  

Register 

value MSB  

Register 

value LSB  

CRC  

LSB  

CRC  

MSB  

 

Response 

Slave address 

(0x01 to 0xFF)  

Function 

code 0x06 

Register 

address MSB 

Register 

address LSB  

Register 

value MSB  

Register 

value LSB  

CRC  

LSB  

CRC  

MSB  

* Register address = 0x0000 to 0xFFFF,   Registers value = 0x0000 to 0xFFFF  

 

 

 

Exception response

 

 

Slave address 

(0x01 to 0xFF)  

Function 

code + 0x80 

Exception code 

0x01, 0x02 or 0x03 

CRC  

LSB  

CRC  

MSB  

* An  exception response is only returned if the CRC is correct 

   Exception code 01 --- illegal function, 02 --- illegal address, 03 --- illegal data value 

 

Содержание NTDAMOD

Страница 1: ...4 Special care must be taken not to damage any internal components during installation Make wire connections as per the Wiring illustrations on Page 2 Once wiring and set up are complete re install cover and tighten the 2 screws using a Phillips screwdriver Mounting The sensor installs directly into any air duct with a minimum width diameter of 25 5 cm 10 Select a suitable installation area in the...

Страница 2: ...SHLD terminal on each device If the device is installed at either end of the network an end of line EOL termination resistor 121 ohm should be installed in parallel to the A and B terminals This device includes a network termination jumper and will connect the resistor correctly on the pcb Simply move the pcb jumper to the EOL position and no external resistor is required as shown in Figure 7 The ...

Страница 3: ...to ModBus Protocol This section describes the implementation of the ModBus protocol It is intended to assist control system programmers who may need to add support to their systems to communicate with this device This device communicates on standard ModBus networks using RTU mode transmission It operates as a slave device address from 1 to 255 and expects a ModBus master device to transmit queries...

Страница 4: ...ion Codes 0x03 Read holding registers Query Slave address 0x01 to 0xFF Function code 0x03 Starting address MSB Starting address LSB Quantity of registers MSB Quantity of registers LSB CRC LSB CRC MSB Starting address 0x0000 to 0xFFFF Quantity of registers 0x0000 to 0x007D Response Slave address 0x01 to 0xFF Function code 0x03 Byte count 2N Register value MSB Register value LSB CRC LSB CRC MSB N Qu...

Страница 5: ...01 CRC LSB CRC MSB Response Slave address 0x01 to 0xFF 0x03 0x02 Register value MSB Register value LSB CRC LSB CRC MSB Register value 0x0000 to 0x03E8 corresponding to 0 to 100 RH multiplier 10 This register has a multiplier of 10 the application must divide by 10 to obtain the correct value 0x06 Write TEMPERATURE_OFFSET Query Slave address 0x01 to 0xFF 0x06 0x00 0x02 Register Value MSB Register v...

Страница 6: ...o conform to a local reference Register value 0xFFF6 to 0x000A for 10 to 10 corresponding to RH_OFFSET 10 to 10 RH ie 0x0003 3 3 RH offset 0x06 Write TEMPERATURE_UNITS Query Slave address 0x01 to 0xFF 0x06 0x00 0x04 0x00 Register value LSB CRC LSB CRC MSB Response Slave address 0x01 to 0xFF 0x06 0x00 0x04 0x00 Register value LSB CRC LSB CRC MSB Register value 0x0000 sets the device to C operation ...

Страница 7: ...me 15 seconds typical Stability 1 2 RH typical 50 RH in 5 years Temperature Sensor 20KΩ NTC thermistor Accuracy 0 2 C 0 4 F curve matched Range 40 50 C 40 122 F Resolution 0 1 C F Interface Hardware 2 wire RS 485 Software Native ModBus MS TP protocol RTU Baud Rate 38400 Network Address Range Locally set to 1 255 Parity None Stop Bits 1 CRC A001 CRC 16 reverse GreystoneEnergySystems Inc 150EnglishD...

Отзывы: