ActronAir MGW-MODCS User manual

IMPORTANT NOTE:
Please read this manual carefully before installing
or operating your air conditioning unit.
Model Numbers
MGW-MODCS
VRF MODBUS
Operation Manual

01
Contents
Safety Precautions ....................................................................................................................... 2
Product Description..................................................................................................................... 4
Function Codes for Commands............................................................................................ 5
1 Debugging.................................................................................................................................. 6
1.1 Checking the Communication Between the Gateway and Refrigerant System 6
1.1.1 Opening Web Debugging Page.......................................................................... 6
1.1.2 Discrete input, Input Register............................................................................. 7
1.1.3 Determining Whether the Communication Is Normal.................................. 8
1.2 Modbus Interface Debugging........................................................................................ 8
1.2.1 Configuring Modbus Gateway............................................................................ 9
1.2.2 Modbus/RTU..........................................................................................................10
1.2.3 Modbus/TCP ..........................................................................................................20
2 Mapping Tables .......................................................................................................................32
Precautions for Integrated Development........................................................................32
2.1 Discrete input..................................................................................................................34
2.1.1 IDU ...........................................................................................................................34
2.1.2 ODU .........................................................................................................................34
2.2 Input Register...................................................................................................................35
2.2.1 IDU ...........................................................................................................................35
2.2.2 ODU .........................................................................................................................40
2.2.3 By IDU/ODU Parameter Type (Continuous Addresses)...............................43
2.3 Holding Register..............................................................................................................47
2.3.1 All-off Control Register .......................................................................................47
2.3.2 IDU Control Register-1........................................................................................48
2.3.3 IDU Control Register-2........................................................................................56
3 Web Function...........................................................................................................................61
3.1 System Settings .......................................................................................................62
3.2 DataView ...................................................................................................................63
3.3 Firmware Upgrade ..................................................................................................64
Restoring Factory Settings.......................................................................................................65
Installation ...................................................................................................................................66

02
Icon Description
Safety Precautions
The Installation & Owner's Manual of this product describes how to properly handle the product,
prevent personal injury and property losses, as well as how to use the product correctly and
safely. Read the following carefully, make sure you understand the content (symbols and
marks), and observe the precautions below.
Read the safety warnings carefully prior to installation.
Be sure to observe the important safety precautions provided below.
Meanings of labels:
After the installation is completed, confirm that no errors occur during the trial run, and
hand over the manual to the customer for safekeeping.
Indicates that improper handling may lead to personal injury or material loss.
Indicates that the operations will be affected due to ignoring a precaution.
Warning
Caution
Prohibited. Information about what is specifically prohibited is provided using
graphs or texts in the icon or nearby.
Ask your local dealer or professionals to install the product.
Installation personnel must have relevant professional
knowledge. Incorrect installation by non-professionals may lead
to a fire, electric shock, or injury.
Mandatory. A specific mandatory requirement is provided using graphs or texts in
the icon or nearby.
Commissioned
Installation
Do not use combustible paints to spray directly on the data
converter as this may cause a fire.
Do not handle the product with wet hands, and do not let water
seep into the device. Otherwise, an electric shock may occur.
Prohibited
Prohibited
Icon
Warning
of Use
Warning
Name
CAUTION

03
WARNING
CAUTION
This unit must be installed by professional technicians. Users are not allowed to install the
unit themselves; otherwise, personal injury or damage to the controller may occur.
Other electrical wiring work must be carried out by a professional technician according to
the circuit diagram. All wiring work must comply with electrical safety specifications.
It is forbidden to modify the use and function of the product without authorization.
Do not install the product in a location where flammable gas can easily leak. Any leakage
within the vicinity of the device may cause a fire.
The wiring must be compatible with controller current.
Be sure to check the wiring before powering on the product. Never install the machine
while the power is on.
In the event of any malfunction, please contact a professional technician. DO NOT
disassemble or repair the unit without authorization.
This equipment is not suitable for places where children gather.

04
MGW-MODCS Gateway (this Gateway) provides standard Modbus services for VRF units.
It is suitable for all ECOFLEX series units, that is, ECOFLEX ODUs and ECOFLEX IDUs.
Product Description
Port
12V 0V
X Y E
A1 B1 E
A2 B2 E
LAN
Function
12V DC power supply
Modbus/RTU
Reserved port
Isolated RS-485 ports, connecting to ECOFLEX VRF units in up to eight refrigerant systems
(The maximum IDU quantity is 64.)
*The X port of the Gateway is connected to the X port of the ODU, and the Y port of the
Gateway is connected to the Y port of the ODU.
When multiple refrigerant systems are connected, they need to use different addresses.
Provides the Modubus/TCP protocols, and enables web page configuration (The computer
and this Gateway need to be in the same network segment.)
* The Modbus/TCP interface of the Modbus Gateway supports only port 502.
X Y E A1 B1 E A2 B2 E LAN
12V
12V

05
PWR Power supply
Reserved
X Y E
X1Y1E
communication
status
A1 B1 E
X2Y2E
communication
status
A2 B2 E
Indicator DescriptionItem
Operating ambient temperature
Operating ambient humidity
-10°C to +50°C
RH25%~RH90%
Function Code
0x02
0x03
0x04
0x06
0x10
Discrete input
Read Holding Register
Read Input Register
Write Single Register
Write Multiple Registers
Read
Read
Read
Write
Write
Function Name Description
Function Codes for Commands
Off
Steady on
Blinking
Off/Steady on
Blinking
Off/Steady
on
Status
The Gateway is powered off.
The Gateway is powered on.
No data transmitting
Data transmitting
No data transmitting
Data transmitting

06
1 Debugging
1.1 Checking the Communication Between the Gateway and
Refrigerant System
1.1.1 Opening Web Debugging Page
According to the description above, connect the X Y E ports on the ODU to those on the access
Gateway. (*1)
A1 B1 E ports provide Modbus RTU protocol interfaces, and the LAN port provides Modus TCP
protocol interfaces. The integrator can select the access mode based on the actual project
requirements, and select the corresponding access mode for debugging.
On the web page embedded on the Gateway, check whether the Gateway and refrigerant
system are communicating normally.
Before integrated development by a third party, ensure that all steps in section 1 Debugging are
completed on the Modbus Gateway on site.
In the address bar of Chrome browser (*2), enter "http://Gateway IP address" to open the web
page of the Gateway. For example, the default IP address of the Gateway is 192.168.1.200. enter"
http://192.168.1.200" to open the web page as shown below.
(*1) When the refrigerant system is powered on, system detection will take some time.
During this period, the Gateway may obtain incorrect information of the refrigerant system.
You are advised to perform Modbus Gateway debugging after the refrigerant system is
stable (about 15 minutes after power-on, depending on the actual refrigerant system).
1. The PC and the Gateway need to be in the same network segment. For specific settings,
consult relevant IT personnel.
2. The PC OS must be Windows 7 (32-bit or 64-bit) or later versions.
(*2)
1: Chrome browser needs to be in 70.0 or any later version.
2. Other browsers may be incompatible, preventing the Web function from working proper-
ly.

07
1.1.2 Discrete Input and Input Register
Click "DataView" to check the online information of the refrigerant system that the Gateway has
obtained so far.

1.2 Modbus Interface Debugging
1.1.3 Determining Whether the Communication Is Normal
A pure number indicates an IDU, and the numeral indicates the IDU address. For example, IDU 0
"O#number" indicates an ODU, and the numeral indicates the ODU address. For example, ODU 0
You can click an address to view the specific parameters of the device, and click "Discrete
inputs" or "Input registers" to check different information.
1. The number of devices online is consistent with the actual project.
2. Device parameters are correct.
If the above two points are met, the Gateway and refrigerant system communicate normally. In
this case, you can proceed to "Modbus Interface Debugging ".
If the number of devices is inconsistent with the actual project, or the device parameters are
displayed incorrectly, check X Y E connection, and confirm whether the refrigerant system works
properly.
Interface debugging requires knowledge of the Modbus protocol. The following section deems
that the user has relevant knowledge by default.
This document uses the Modbus Poll software as an example only, and the product does not
provide the Modbus Poll software.
Offline
RGB (210,212,214) RGB (225,243,216) RGBA (87,176,254,1) 0%,
RGBA (64,144,245,1) 100%
Online Selected
08

IP
address
Network
Settings
Modbus
Settings
IP address of the LAN Gateway
Subnet mask in the IP configuration
Modbus station ID, ranging from 1 to 254. The default value is 1.
Default gateway in the IP configuration
Mask
Gateway
Station ID
Port
setting
1.2.1 Configuring Modbus Gateway
On the "Settings" page, configure Modbus parameters.
Modbus interface configuration
The first field indicates the baud rate. The default value is 9600. (Available values
include 4800, 9600, 19200, and 38400.)
The second field indicates the parity check. The default value is none. (Available
values include none, even, and odd.)
The third field indicates the stop bit. The default value is 1 StopBit. (Available
values include 1 StopBit and 2 StopBit.)
* The data bit supports only 8.
* The Modbus/TCP interface of the Modbus Gateway supports only port 502.
09

1.2.2 Configuration check using Modbus Poll
Configuring Modbus/RTU Parameters
Click "Connection" > "Connect" and configure Modbus Poll connection parameters:
Choose "Serial Port" for "Connection" and "RTU" for "Mode".
The serial port configuration needs to be consistent with the configuration in the Gateway
"Modbus Settings".
10

Example: Read Discrete input
Example: Read "On/Off status", "Fault status", and "Online status" of IDU 1.
Refer to "2 Mapping Tables" > "2.1 Discrete Input" > "2.2.1 IDU".
Click "Setup" > "Read/Write Enabled". If the √ icon is not displayed, the auto sending function
is cancelled.
Click "Setup" > "Read/Write Definition…" to set read/write configuration:
2
2
2
n*8+1+10000
n*8+2+10000
n*8+3+10000
ON/OFF
Fault
Online
0: off 1: on
0: no fault 1: fault
0: offline 1: online
n# IDU
(The valid value
of n ranges from
0 to 63.)
11

Obtained Register address and Protocol address are as listed below.
Modbus Poll adopts Protocol address. Set as follows: Modbus slave station address 1 (Slave ID:
1), command code 02 (Function: 02), start address 8 (Address: 8), read length 3 (Quantity: 3)
Click "Read/Write Once". The read values will be displayed in the area with a red box.
Register addressName
ON/OFF
Fault
Online
10009
10010
10011
8
9
10
Protocol address = Register address - 10001
12

13
Bit7
Bit4~Bit0
Auto (Fixed) fan speed 1: yes,0: no
For a 7-speed fan, values 1-7 indicate fan
speeds 1 to 7, respectively.For a 3-speed
fan, values 1 and 2 indicate low fan speed,
3 and 4 indicate medium fan speed, 5, 6,
and 7 indicate high fan speed.
n#IDU
(The valid
value of n
ranges from 0
to 63.)
ON/OFF
The interpretation is listed below.
Example: Read Input Register
Example: Read "Operating mode", "Operating fan speed", and "Set temperature" of IDU 1.
Refer to "2 Mapping Tables" > "2.2 Input Register" > "2.2.1 IDU".
Obtained Register address and Protocol address are as listed below.
Modbus Poll adopts Protocol address. Set as follows: Modbus slave station address 1 (Slave ID:
1), command code 04 (Function: 04), start address 32 (Address: 32), read length 3 (Quantity: 3)
Packets are listed below.
Packet sent by Modbus Poll
Packet replied by Modbus Gateway 01 02 01 05 61 8B
01 02 00 08 00 03 B9 C9
Register addressName
Operating mode
Operating fan speed
Set temperature
30033
30034
30035
32
33
34
Protocol address = Register address - 30001
Fault
Online
Parameter name Register address
10009
10011
10010
Protocol address
10
8
9
1
0
1
Value Definition
Online
No fault
On
30001+n*32
30002+n*32
30002+n*32
04
04
04
Operating
mode
Set
temperature
Fan speed
level
Bit7
Bit4~Bit0
Auto mode 1: yes,0: no
Actual mode
0: Off 1: Fan 2: Cooling 3: Heating
4: Forced cooling 6: Drying
Actual temperature (°C)*10

Click "Read/Write Once". The read values will be displayed in the area with a red box.
The interpretation is listed below.
Register addressName
Operating mode
Operating fan speed
Set temperature
30033
30034
30035
32 2
4
200
Cool
Medium fan speed
/ Fan speed 4
20°C
33
34
Protocol address DefinitionData
14

15
Packet replied by Modbus Gateway 01 04 06 00 02 00 04 00 C8 59 04
01 04 00 20 00 03 B1 C1
Packet sent by Modbus Poll
Example 1: Write Multiple Holding Register
Example: Write "Set mode", "Set fan speed", and "Set temperature" of IDU 1.
Refer to "2 Mapping Tables" > "2.3 Holding Register" > "2.3.2 IDU Control Register 1".
*If auto mode is set, "cooling temperature in auto mode (40005+n*25)" and "heating tempera-
ture in auto mode (40006+n*25)" are required. "Set temperature (40004+n*25)" can be set the
same as" cooling temperature in auto mode (40005+n*25)".
Obtained Register address and Protocol address are as listed below.
n# IDU
(The valid
value of n
ranges from
0 to 63.)
Set mode
Set fan speed
0xFF: Unchanged
Example:
0x80: Auto fan speed is set.
0x01: For a 7-fan-speed IDU, fan speed 1 is set. For a
3-fan-speed IDU, low fan speed is set.
Example:
0x91: The temperature is set to 17.5°C.
0x11: The temperature is set to 17°C.
0.5°C, 1: yes, 0: no
0xFF: Unchanged
Auto fan speed 1: yes, 0: no
For a 7-fan-speed IDU, values 1-7 indicate
fan speeds 1 to 7, respectively.
For a 3-fan-speed IDU, values 1 and 2
indicate low fan speed, 3 and 4 indicate
medium fan speed, 5, 6, and 7 indicate
high fan speed.
The setting range of 1-100 means 1°C to
100°C.
6: Drying
3: Heating
2: Cooling
1: Fan
Fixed to 0
Auto mode, valid when the value is 1
Fixed to 1
0xFF: Unchanged
0x9F: Off
0xDF: On
Start up and specify the operating mode:
Set
temperature
40002+n*25
40003+n*25
40004+n*25
06/16
06/16
Bit7
Bit6
Bit5
Bit0~Bit4
06/16
Bit7
Bit0-Bit6
Bit7
Bit0-Bit6

16
Modbus Poll adopts Protocol address. Set as follows: Modbus slave station address 1 (Slave ID:
1), command code 16 (Function: 16), start address 26 (Address: 26), read length 3 (Quantity: 3)
Register addressName
Set mode
Set fan speed
Set temperature
40027
40028
40029
26
27
28
Protocol address = Register address - 40001
Click "OK", double-click the corresponding address (in the red box), and enter the desired
control parameter in the displayed window (blue box), and click "OK" to close the window.

17
Set parameters:
The above steps only configure the parameters to be written, and the command is not sent. Click
"Setup" > "Read/Write Definition…":
Click "Read/Write Once". Then, the command is sent:
Register addressName
Set mode
Set fan speed
Set temperature
40027
40028
40029
26 66(0x42)
03(0x03)
19(0x13)
Cooling upon startup
Speed 3
19°C
27
28
Protocol address DefinitionData

18
Packets are listed below.
Obtained Register address and Protocol address are as listed below.
Modbus Poll adopts Protocol address. Set as follows: Modbus slave station address 1 (Slave ID:
1), command code 06 (Function: 06), start address 26 (Address: 26), read length 1 (Quantity: 1)
Register addressName
Set mode 40027 26
Protocol address = Register address - 40001
Set mode
Packet replied by Modbus Gateway 01 10 00 1A 00 03 A1 CF
01 10 00 1A 00 03 06 00 42 00 03 00 13 0E F7
Packet sent by Modbus Poll
Example 2: Write Single Holding Register
Example: Write "Set mode" of IDU 1. The IDU must support separate writing of a single
parameter. Otherwise, an error will occur. See "Precautions" in "2 Mapping Tables".
Refer to "2 Mapping Tables" > "2.3 Holding Register" > "2.3.2 IDU Control Register 1".
n#IDU
(The valid
value of n
ranges from
0 to 63.)
0xFF: Unchanged
0x9F: Off
0xDF: On
Start up and specify the operating mode:
Auto mode, valid when the value is 1
Fixed to 1
Fixed to 0
1: Fan
2: Cooling
3: Heating
6: Drying
40002+n*2506/16
Bit7
Bit6
Bit5
Bit0~Bit4

19
Click "OK", double-click the corresponding address (in the red box), and enter the desired
control parameter in the displayed window (blue box), and click "OK" to close the window.
Set parameters:
The above steps only configure the parameters to be written, and the command is not sent. Click
"Setup" > "Read/Write Definition…":
Click "Read/Write Once". Then, the command is sent:
Register addressName
Set mode 40027 26 223 (0xDF) On
Protocol address DefinitionData
Table of contents
Other ActronAir Gateway manuals