D3NET-Modbus Communication Adaptor - Functional Specifications
D3NET-Modbus Communication Adaptor - Functional Specifications
Functional Specifications
DⅢ-NET/Modbus Communication adaptor
【Model name:DTA116A51】
First
Aug. 9. 2013
edition
Table of contents
1. Introduction ……… 1
1-1. System structure ……… 1
1-2. Limitations of DⅢ-NET/Modbus Communication adaptor ……… 1
1-3. Functions ……… 2
2. Modbus communication ……… 3
2-1. Adaptor setting ……… 3
2-2. Communication format ……… 3
2-2-1. Transmission mode ……… 3
2-2-2. Data types ……… 3
2-2-3. Function codes ……… 4
2-2-4. Function format ……… 4
2-2-5. Character format ……… 8
2-2-6. Silent interval time ……… 8
2-2-7. Response time ……… 8
2-3. Communication procedure ……… 9
2-3-1. System initialization ……… 9
2-3-2. Monitor and operate VRV from HA System ……… 10
3. Modbus registers ……… 11
3-1. Input register ……… 11
3-1-1. Adaptor status ……… 11
3-1-2. Indoor unit connection status ……… 11
3-1-3. Indoor unit communication status ……… 11
3-1-4. Indoor unit capability information ……… 12
3-1-5. Indoor unit status information ……… 13
3-2. Holding register ……… 14
3-2-1. Adaptor initial setting ……… 14
3-2-2. Indoor unit control ……… 14
1.Introduction
• To use DⅢ-NET/Modbus Communication adaptor, Home Automation system can
control VRV with modbus protocol.
1-1.System structure
Status indicate LED
Power supply
connector
HA SYSTEM
Modbus communication
setting DIP SW
Modbus address
setting DIP SW
DⅢ-NET
communication port
Modbus
communication port
1-3.Functions
Monitor
On/Off On/Off status of indoor units
Operation mode Cooling, Heating, Fan, Dry, Auto (depend on indoor unit capability)
Control
On/Off On/Off control of indoor units
Operation mode Cooling, Heating, Fan, Dry, Auto (depend on indoor unit capability)
LED indication
H1P Turn on when the adaptor send out DⅢ-NET command
H2P Turn on when the adaptor receive DⅢ-NET command
H3P Turn on when the adaptor send out modbus command
H4P Turn on when the adaptor receive modbus command
H5P Not use
H6P Not use
H7P Not use
HAP Blink in 400ms interval after power supply
2.Modbus communication
• This DⅢ-NET/Modbus Communication adaptor is a modbus slave.
• Communication format and function code are according to “Modicon Modbus Protocol
Reference Guide”(PI-MBUS-300 Rev.J).
2-1.Adaptor setting
• Modbus communication parameter is set by DS1.
• Modbus address of this adaptor is set by DS2.
2-2.Communication format
2-2-1.Transmission mode
2-2-2.Data types
Following data types are supported.
2-2-3.Function codes
Following function codes are supported. If the DⅢ-NET/Modbus Communication
adaptor receive a function code which are not included in this table, the function code
will treat as a illegal function and the adaptor returns exception response.
Function Code Message broadcast
0x04(04) Read Input Register
0x06(06) Preset single Register X
0x10(16) Preset Multiple Registers X *”X”:Not Support
2-2-4.Function format
(1) Read Input Register (0x04)
[Function]
Read values of input registers. The address and the content of input registers are
described in “3. Modbus registers”.
[Query]
The query message specifies the start address of the register and the number of
registers. The register addressed starting at zero: register 30001 is addressed as 0.
This function can read up to 32 registers at one query.
Here is an example of a request to slave address 1 to read 3 registers value from
register 31001.
Query Response
Field Data Field Data
Slave Address 0x01 Slave Address 0x01
Function Code 0x04 Function Code 0x04
Start Address(Upper) 0x03 Data Size(Bytes) 0x06
Start Address(Lower) 0xE8 Data1(Upper) 0xXX
Number of Registers(Upper) 0x00 Data1(Lower) 0xXX
Number of Registers(Lower) 0x03 Data2(Upper) 0xXX
Error Check CRC16(Lower) 0x30 Data2(Lower) 0xXX
Error Check CRC16(Upper) 0x7B Data3(Upper) 0xXX
Data3(Lower) 0xXX
Error Check CRC16(Lower) 0xXX
Error Check CRC16(Upper) 0xXX
[Function]
Write a value to a holding register. In the case of broadcast, the value is written to the
same holding register on the all slave units. The address and the content of holding
registers are described in “3. Modbus registers”.
[Query]
The query message specifies the start address of the register and a value. The
register addressed starting at zero: register 40001 is addressed as 0.
Here is an example of a request to slave address 1 to write a value 2 to register
42002.
Query Response
Field Data Field Data
Slave Address 0x01 Slave Address 0x01
Function Code 0x06 Function Code 0x06
Address(Upper) 0x07 Address(Upper) 0x07
Address(Lower) 0xD1 Address(Lower) 0xD1
Value(Upper) 0x00 Value(Upper) 0x00
Value(Lower) 0x02 Value(Lower) 0x02
Error Check CRC16(Lower) 0x59 Error Check CRC16(Lower) 0x59
Error Check CRC16(Upper) 0x46 Error Check CRC16(Upper) 0x46
[Function]
Write values to holding registers. In the case of broadcast, the value is written to the
same holding register on the all slave units. The address and the content of holding
registers are described in “3. Modbus registers”.
[Query]
The query message specifies the start address of the register, size of data and values.
The register addressed starting at zero: register 40001 is addressed as 0.
This function can write up to 30 registers at one query.
Here is an example of a request to slave address 1 to write 2 values to register 42001
to 42002.
Query Response
Field Data Field Data
Slave Address 0x01 Slave Address 0x01
Function Code 0x10 Function Code 0x10
Start Address(Upper) 0x07 Start Address(Upper) 0x07
Start Address(Lower) 0xD0 Start Address(Lower) 0xD0
Number of Registers(Upper) 0x00 Number of Registers(Upper) 0x00
Number of Registers(Lower) 0x02 Number of Registers(Lower) 0x02
Data Size(bytes) 0x04 Error Check CRC16(Lower) 0x41
Value1(Upper) 0x00 Error Check CRC16(Upper) 0x45
Value1(Lower) 0x10
Value2(Upper) 0x00
Value2(Lower) 0x01
Error Check CRC16(Lower) 0x18
Error Check CRC16(Upper) 0xC6
Query Response
Field Data Field Data
Slave Address 0x01 Slave Address 0x01
Function Code 0x04 Function Code 0x84
Start Address(Upper) 0x03 Exception Code 0x03
Start Address(Lower) 0xE8 Error Check(Lower) 0x03
Number of Registers(Upper) 0x00 Error Check(Upper) 0x01
Number of Registers(Lower) 0x24
Error Check(Lower) 0x70
Error Check(Upper) 0x61
2-2-5.Character format
Each byte of a message is sent as character data as follows.
A character consists of start bit (0), 8bits data, parity bit and stop bit(1). One character
size is always 11btis and stop bit 1 or 2 is selected by parity bit.
[Non Parity]
0(LSB) 1 2 3 4 5 6 7 8 9 10(MSB)
[Parity]
0(LSB) 1 2 3 4 5 6 7 8 9 10(MSB)
Parity bit
Start bit Data Stop bit 2
(Odd or Even)
Every frame has to have silent interval time(T1-T2-T3-T4) before and after. The silent
interval time is depend on communication speed.
2-2-7.Response time
This DⅢ-NET/Modbus Communication adaptor response a message after response
time(t1) when this adaptor receives a query message. The response time(t1) of this
adaptor is “Silent Interval Time(T1-T2-T3-T4) + 20ms”.
Modbus master has to wait to send next query message for time interval(t2) when the
modbus master receives a response from the DⅢ-NET/Modbus Communication
adaptor . The time interval(t2) should be more than “Silent Interval Time(T1-T2-T3-T4) +
20ms”.
DⅢ-NET/Modbus Response
Communication
adaptor t1 t2
2-3.Communication procedure
2-3-1.System initialization
Power On
Power On
adaptor Status(30001)
Check adaptor status Not ready
when it will be ready. Check adaptor status(30001)
Return status: Not ready
Retrieve status
adaptor Status(30001)
Ready
Check adaptor status(30001)
Return status: Ready
Operate HA system
manually or
Set values(42001-42048) Send command to
automatically
VRV
Return response value
Change status
of the VRV
VRV status
Check communication status(30006)
HA System get
communication error Return communication status
information
Note
DⅢ-NET/Modbus Communication adaptor send a command to VRV when the value of
a Holding Register is changed. So HA System has to update Holding Register values
when HA System read current status from Input Registers. Otherwise an operation from
the HA system will be ignored.(Refer to 5.Important points on operation by HA system )
3.Modbus registers
• This section shows registers of this DⅢ-NET/Modbus Communication adaptor.
• Detail of the register is described in 4.Modbus register structure.
3-1.Input register
Address Contents
30001 Status of the adaptor
Address Contents
30002 Connection status of indoor units (1-00 to 1-15)
Address Contents
30006 Communication status of indoor units (1-00 to 1-15)
3-2.Holding register
Address Contents
40001 DⅢ-NET setting
4-1.Input register
7 6 5 4 3 2 1 0
(1) Lower
Upper
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
(8) (7) (6) (5) (4) (3) (2) (1) Lower
(16) (15) (14) (13) (12) (11) (10) (9) Upper
15 14 13 12 11 10 9 8
(1) Indoor unit connection status (0 or 1)
This register stores indoor unit connection status of the DⅢ-NET address 1-00.
0: Unconnected
1: Connected
(2) Indoor unit connection status (0 or 1)
This register stores indoor unit connection status of the DⅢ-NET address 1-01.
0: Unconnected
1: Connected
…..
(16) Indoor unit connection status (0 or 1)
This register stores indoor unit connection status of the DⅢ-NET address 1-15.
0: Unconnected
1: Connected
7 6 5 4 3 2 1 0
(8) (7) (6) (5) (4) (3) (2) (1) Lower
(16) (15) (14) (13) (12) (11) (10) (9) Upper
15 14 13 12 11 10 9 8
(1) Indoor unit communication status (0 or 1)
This register stores indoor unit communication status of the DⅢ-NET address 1-00.
0: Normal
1: Communication Error
(2) Indoor unit communication status (0 or 1)
This register stores indoor unit communication status of the DⅢ-NET address 1-01.
0: Normal
1: Communication Error
…..
(16) Indoor unit communication status (0 or 1)
This register stores indoor unit communication status of the DⅢ-NET address 1-15.
0: Normal
1: Communication Error
7 6 5 4 3 2 1 0
(5) (4) (3) (2) (1) Lower
(9) (MSB) (8) (LSB) (7) (MSB) (6) (LSB) Upper
15 14 13 12 11 10 9 8
(1) Fan mode capability (0 or 1)
This register stores indoor unit capability of “Fan Mode”.
0: Not exist
1: Exist
(2) Cooling mode capability (0 or 1)
This register stores indoor unit capability of “Cooling Mode”.
0: Not exist
1: Exist
(3) Heating mode capability (0 or 1)
This register stores indoor unit capability of “Heating Mode”.
0: Not exist
1: Exist
(4) Auto mode capability (0 or 1)
This register stores indoor unit capability of “Auto Mode”.
0: Not exist
1: Exist
(5) Dry mode capability (0 or 1)
This register stores indoor unit capability of “Dry Mode”.
0: Not exist
1: Exist
(6) Fan direction level capability (0 - 7)
This register stores indoor unit capability of “Fan Direction Level”.
This value has no meaning when (7): Fan direction capability is 0.
Value 0 1 2 3 4 5 6 7
Capability - Fix 2 step 3 step 4 step 5 step - -
7 6 5 4 3 2 1 0
Signed bit (MSB) (1) (LSB) Lower
Signed bit (MSB) (2) (LSB) Upper
15 14 13 12 11 10 9 8
(1) Indoor unit cooling setpoint upper limit (-128 – 127degC)
This register stores indoor unit cooling mode setpoint upper limit.
8bit signed integer
(2) Indoor unit cooling setpoint lower limit (-128 – 127degC)
This register stores indoor unit cooling mode setpoint lower limit.
8bit signed integer
7 6 5 4 3 2 1 0
Signed bit (MSB) (1) (LSB) Lower
Signed bit (MSB) (2) (LSB) Upper
15 14 13 12 11 10 9 8
(1) Indoor unit heating setpoint upper limit (-128 – 127degC)
This register stores indoor unit heating mode setpoint upper limit.
8bit signed integer
(2) Indoor unit heating setpoint lower limit (-128 – 127degC)
This register stores indoor unit heating mode setpoint lower limit.
8bit signed integer
7 6 5 4 3 2 1 0
(2) (1) Lower
(MSB) (4) (LSB) (MSB) (3) (LSB) Upper
15 14 13 12 11 10 9 8
(1) On/Off status (0 or 1)
This register stores indoor unit on/off status.
0: Off
1: On
(2) Forced off status (0 or 1)
This register stores indoor unit forced off status.
0: none
1: Forced off
(3) Fan direction (0 - 7)
This register stores indoor unit fan direction position.
Value 0 1 2 3 4 5 6 7
Position P0 P1 P2 P3 P4 - - Swing
*P0: horizontal direction, P4: vertical direction
Value 0 1 2 3 4 5 6 7
Fix - - - - - H - -
2Step - L - - - H - -
3Step - L - M - H - -
7 6 5 4 3 2 1 0
(MSB) (2) (LSB) (MSB) (1) (LSB) Lower
(4) (MSB) (3) (LSB) Upper
15 14 13 12 11 10 9 8
(1) Operation mode (0 - 7)
This register stores indoor unit operation mode.
Value 0 1 2 3 4 5 6 7
Value 0 1 2
Value 0 1 2
7 6 5 4 3 2 1 0
(LSB) Lower
(1)
Signed bit (MSB) Upper
15 14 13 12 11 10 9 8
(1) Setpoint (-127.9 – 127.9 degC)
This register stores indoor unit setpoint (0.1 degC step).
This value multiplied by 10 to store as an integer value.
16bit signed integer
7 6 5 4 3 2 1 0
(2) (LSB) (MSB) (1) (LSB) Lower
7 6 5 4 3 2 1 0
(LSB) Lower
(1)
Signed bit (MSB) Upper
15 14 13 12 11 10 9 8
(1) Room temperature (-511.9 – 511.9 degC)
This register stores temperature data of indoor unit sensor (0.1 degC step).
This value multiplied by 10 to store as an integer value.
16bit signed integer
7 6 5 4 3 2 1 0
Lower
(2) (1) Upper
15 14 13 12 11 10 9 8
(1) Indoor unit temperature sensor error (0 or 1)
This register stores indoor unit temperature sensor has error or not.
0: Normal
1: Error
(2) Indoor unit temperature sensor data is received (0 or 1)
This register stores indoor unit temperature sensor data is already received or not.
0: Not received yet
1: Received
4-2.Holding register
7 6 5 4 3 2 1 0
(1) Lower
(3) (2) Upper
15 14 13 12 11 10 9 8
* Value of this register is stored to EEPROM, therefore the value will not be discarded when
the adaptor power is off.
* When this register value is changed, new value is applied when the adaptor power is off and
on.
7 6 5 4 3 2 1 0
(MSB) (2) (LSB) (1) Lower
(MSB) (4) (LSB) (MSB) (3) (LSB) Upper
15 14 13 12 11 10 9 8
(1) On/Off (0 or 1)
This register controls On/Off of the indoor unit.
0: Off
1: On
(2) Fan control flag (6)
This register has to be set to “6”.
(3) Fan direction (0 - 7)
This register controls fan direction position of the indoor unit.
Value 0 1 2 3 4 5 6 7
Value 0 1 2 3 4 5 6 7
2Step - L - - - H - -
3Step - L - M - H - -
* In the case of fan volume capability is 0, this value has to be set to “0”.
Composition
7 6 5 4 3 2 1 0
(MSB) (2) (LSB) (MSB) (1) (LSB) Lower
(MSB) (3) (LSB) Upper
15 14 13 12 11 10 9 8
Value 0 1 2 3 4 5 6 7
Note
Please set value 0 to this entry after reset the filter sign. Otherwise filter sign will
never appeared again.
Value 0 1 2
7 6 5 4 3 2 1 0
(LSB) Lower
(1)
Signed bit (MSB) Upper
15 14 13 12 11 10 9 8
Note
On setting the Setpoint
In case of connected outdoor units are “RQCEQ-PY1”, “Auto” can be set as operation mode.
If operation mode of each indoor unit is “Auto”, indoor units automatically change operation mode
“Auto(Cooling)or Auto(Heating)” with the relation between room temperature and setpoint.
On operation mode “Auto”, setpoint may be changed automatically. In this case, setpoint on
“Auto(Cooling)”and setpoint on “Auto(Heating)” may have the differential.
In case of setting setpoint after setting operation mode "Auto” from HA system, even if the operation
mode is changed by remote controller, setting setpoint is treated as setpoint of operation mode "Auto",
and setpoint may be different from setting value.
If the VRV system contains outdoor unit "RQCEQ-PY1", Holding Resister which contains
operation mode must be synchronized on the status of indoor units by getting the status.
After the synchronization, the settpoing must be set.
1.Get a status of
B
the indoor unit.
A B
HA Receive the status
SYSTEM “B”
B C B
3.Set a setpoint “C”
[Explanatory note]
DⅢ-NET/Modbus
HA System
Communication adaptor
Holding Register Holding Register
Setting status
Present value The last value
Getting status Input Register
1.HA system gets the status of indoor units and sets the getting status to Holding resisters.
It is premise that the status of indoor unit is “OFF”.
DⅢ-NET/Modbus Remote
HA System Communication adaptor VRV Controller
OFF OFF OFF
OFF
OFF OFF OFF
3.HA system gets the status of indoor units and sets the getting status to Holding Registers.
DⅢ-NET/Modbus Remote
HA System Communication adaptor Controller
VRV
② ON
(Set status)
ON ON ON
ON
ON ON
ON
① ON
(Get status)
- ON ON ON
OFF
- OFF
OFF OFF
5.HA system gets the status of indoor unit and sets the getting status to Holding Register.
<Getting the status of indoor unit>
DⅢ-NET/Modbus Remote
HA System Communication adaptor VRV Controller
- ON ON
OFF
OFF
OFF OFF
OFF
DⅢ-NET/Modbus Remote
HA System Communication adaptor VRV Controller
ON ON
ON ON OFF
ON ON
- ON
ON
7.HA system gets the status of indoor units and sets the getting status to Holding resisters.
DⅢ-NET/Modbus Remote
HA System Communication adaptor Controller
VRV
② ON
(Set status)
ON ON ON
ON
ON ON
ON
① ON
(Get status)
NOTE: In the case that HA system do not carry out operation 5, and HA system
carry out operation 6.
<Status>
DⅢ-NET/Modbus Remote
HA System Communication adaptor VRV Controller
- ON ON
OFF
- OFF OFF
3 E 3 3
4 H 4 4
5 F 5 5
6 J 6 6
7 L 7 7
8 P 8 8
9 U 9 9
10 9 10 A
11 8 11 B
12 7 12 C
13 6 13 D
14 5 14 E
15 4 15 F
16 3
17 2
18 1
19 G
20 K
21 M
22 N
23 R
24 T
25 V
26 W
27 X
28 Y
29 Z
30 *
31