9.7 所有网关设置完毕,选择 Unit—>Check All ,对所有网关设置
作冲突检查。选择 Unit—>Report ,生成配置报表以供参考。
说明:
A 若始终不能获得正确的“Get”网关参数,请检查网线是否连接,
IP 的设置以及网关是否已成功启动。
B 支持波特率为 9600bps,19200bps,38400bps
C“Check”按钮可用于随时对网关 ModBus 设备地址进行冲突检测。
D 请严格按照设置步骤一步一步设置。全部网关设置成功后网关编号即已固定与某台网关绑定。
13
Operationg manual of MC510
E 目前最多可以设置为 16 台网关,若数量超出需另外搭建一个通道
F 设置完毕,将 MC510 的 ModBus 端口“A0,B0”与 BAS 的 ModBus
总线的 A 和 B 相接,“A1,B1”与 MDS 外机或 MC501_B 转换器的 A 和 B 相
接。务必注意:A 和 B 不能接反!网关正常运行过程中需把网线拔掉!
G 请保留网关配置文件及生成的配置报表以供日后参考。
10.PC 机模拟测试
10.1 与 PC 机的连接
PC 的COM口
连接电缆
RS-485 RS232 转换器
接 MDS 室外机
10.2 测试软件 使用 Mcquay 开发的串口调试软件,可测试 MC510 是否通讯正常。
14
Operationg manual of MC510
10.3 测试举例
开“Device ID”为 2 的外机的 2 号内机,经计算,其 Index 为
2*16=32,转换为十六进制为 20。 发送数据的格式为: 描述数据(Hex)
Slave Address 02
Function 05
Coil Address Hi 00
Coil Address Lo 20
15
Operationg manual of MC510
Force Data Hi FF
Force Data Lo 00
Error Check CRC Hi 8d
Error Check CRC Lo c3
发送数据后,MC510应答为:
Slave Address 02
Function 05
Coil Address Hi 00
Coil Address Lo 20
Force Data Hi FF
Force Data Lo 00
Error Check CRC Hi 8d
Error Check CRC Lo c3
如果接收区能显示正确的应答数据,则表明MC510能与BAS系统正
1 General
2 Led Indicator
3 Installation Attention
4 Power Source
5 MC501 Interface
6 MC501 Bus·································································································30
7 Screen Wire Specification···········································································31
8 MC501 And McQuay Air Condition Bus Example····································32
9 MC510 Setting····························································································34
10 Gateway and PC Simulation Test································································40
11 MC510 and ModBus order description·······················································43
12 Appendix(MC510 ModBus protocl date list)·········································44
MC510 (Gatewaye) establish a communication between MDS outdoor unit
and ModBus BAS system. Here ModBus protocol is an official open document:
Modicon ModBus Protocol
Reference Guide
March 1992, PI-MBUS-300Rev.D
McQuay protocol is base on RTU.
2. Led Indicator
z “POWER” It is on when power on
z “LED1” no indication (spare)
z “LED2” no indication (spare)
z “COM1” It twinkle when MC501 communicate with BAS
z “COM2” It twinkle when MC501 communicate with outdoor unit air
condition.
3. Installation Attention
z Before operation MC510 power must be off
z MC510 is Only installed where no transformer cable, high power ,high
magnetic field
4. Power Source
Only supply AC voltage (100-240V, 50/60Hz) as a power source to the device.
Fuse rated current is 250mA
5. MC510 Interface
29
Operationg manual of MC510
Ethernet COM0 UBS RS485 RS485 fuse power
to ModBus to air condition unit
6. MC510 Bus
MC510 can support maximum up to 8 MDS outdoor unit or MC501-B
converter.
6.1 MC510 and MDS outdoor unit net
6.2 MC510 and MC501-B
30
Operationg manual of MC510
Bus
7. Screen Wire Specification
7.1 A: conductor, tinned copper wire, section is not less than 0.5 square mm or
31
Operationg manual of MC510
AWG20
B: insulation layer
C: screen layer, tinned copper wire twist, at least 90% screen ratio.
D: protect layer
7.2 Please consult UL2791, A segment cable is not long than 1000 m
8. MC510 and McQuay Air Condition Bus Example
8.1 MC510 AND Digital Variable Multi Unit Bus
32
Operationg manual of MC510
8.2 MC510 and MC501-B Bus
8.3 Digital Variable Multi Unit and MC501-B Bus
MDS OutdoorMDS OutdoorMDS Outdoor
MDS OutdoorMDS Outdoor
33
Operationg manual of MC510
9. MC510 Setting
9.1 Link PC network card and Ethernet port of MC510 by a cable, and
power on
9.2 Decompress soft wire fold and run “GateWayTool”, select menu
file→New to establish an item, Select the specified path, Enter the software
name and save it, (As shown in the following figure)
9.3 Select menu Unit→Unit Manage; enter Unit Manage page (As shown in
the following figure)
34
Operationg manual of MC510
Select “New” button to create No.1 Gateway ,default Gateway ID is 1, user
can enter remark in “remark”. Select “Delete” button to delete the gateway
selected in right list
9.4 enter gateway parameter setting page (As shown in the following figure)
35
Operationg manual of MC510
User must set IP paragraph of PC same as default gateway IP paragraph, when
gateway default IP is 192.168.16.150, The IP of PC should be setted
192.168.16.X.. Press “Get” button, Default parameter of Gateway display (As
shown in the following figure)
36
Operationg manual of MC510
“Gateway ID” is the setting gateway No., “Device ID” is the device address
No. in ModBus net. “Outdoor ID” is MDS outdoor unit address No.
9.5 Modification default parameter
“Device Start ID” is the start address of ModBus device
“Outdoor Start ID” is the start address of Outdoor unit or MC501-B
“Outdoor Quantity” is quantity of Outdoor unit or MC501-B
“Baud Rate” is ModBus Baud rate
Fill actual parameter and press “Submit” (note: User must press “Get”
button read default parameter first setting parameter) following figure
display
37
Operationg manual of MC510
If “Result” list display “ok”, It means the address is correct, Press “Close”, it
display “ modify parameter successfully”; If “Result” list display “overlap”, It
means address setting overlap, User must set “Device start ID” again. Give an
example:
The “Device Start ID” of Gateway 1 is 4, and outdoor quantity is 8, so the 8
Outdoors’ ID is 4,5,…11, If the ID of Gateway 2 is setted 10, The “Device Start
ID” of Gateway 2 is10,11…,17, 10 and 11 overlap, When user press “Submit”,
result list display “overlap!!!” (As shown in the following figure), User should
set “device Start ID” 12
38
Operationg manual of MC510
9.6 When press “submit” successfully , press “Exit” exit the setting page,
user repeat step hereinbefore to set next Gateway
9.7 When all Gateway setting finish, select menu Unit→Check All to
check overlap. User can get a configure list.
Note:
A. If User can’t get Gateway parameters, please check net cable ensure
correct link, IP setting is correct
B. Baud Rate support 9600bps, 19200bps, 38400bps
C. User can check Gateway ModBus device ID by pressing “Check”
button
D. All Gateway setting finish, The Gateway gets the specified No.
E. Max supported up to 16 gateways, If gateway more than 16, user
need to establish another channels
39
Operationg manual of MC510
F. After Gateway setting finish, User needed to establish a
communication between gateway ModBus (port A0 and B0) and
BAS ModBus(port A and B), gateway ModBus (port A1 and B1)
and MDS Outdoor or MC501-B(port A and B)When Gateway
work, please open net cable
G. please save correlation document
10. Gateway and PC Simulation Test
10.1 Wire Link
10.2 Test Software
User can test MC510 communication by McQuay COM test software
40
Operationg manual of MC510
10.3 For Example
The indoor No.3 linked “Device ID 2” Outdoor will be on, The Index is
(3-1)*16=32(HEX20)
Send date format:
Description date(Hex)
Slave Address 02
Function 05
Coil Address Hi 00
Coil Address Lo 20
Force Data Hi FF
41
Operationg manual of MC510
Force Data Lo 00
Error Checker CRC Hi 8d
Error Checker CRC Lo c3
MC510 Responsion:
Slave Address 02
Function 05
Coil Address Hi 00
Coil Address Lo 20
Force Data Hi FF
Force Data Lo 00
Error Check CRC Hi 8d
Error Check CRC Lo c3
If user can receive correct date, It means the communication between
MC510 and BAS is normal (As shown in the following figure); if the indoor is
on, It means the communication between MC510 and MDS is normal
42
Operationg manual of MC510
11 MC510 and ModBus order description
ModBus
order
explain description
1 Read 1 or many Coil status Read current on/off variable
3
4
Read 1 or many Holding
register
Read 1 or many Input
register
Read current Holding value
Read current Input value
5 Write 1 Coil on/off variableChange Coil variable value
6 Write 1Holding register Change 1 Holding value
43
Operationg manual of MC510
Appendix
(MC510 ModBus protocol date list)
1. Coil on/off variable list
No.0 indoor
Addr Variable read / write data size valid range unit data type
ON/OFF Air
1
condition
r/w 1bit
2 fresh air unit r/w 1bit
3 ionizer r/w 1bit
4 sleep r/w 1bit
keyboard lock
5
control
r/w 1bit
6 swing r/w 1bit
7 Heater control 1r/w 1bit
8 Heater control 2r/w 1bit
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
9 remain r/w 1bit N/Acoil
10 remain r/w 1bit N/Acoil
11 remain r/w 1bit N/Acoil
12 remain r/w 1bit N/Acoil
13 remain r/w 1bit N/Acoil
14 remain r/w 1bit N/Acoil
15 remain r/w 1bit N/Acoil
16 remain r/w 1bit N/Acoil
44
Operationg manual of MC510
No.1 indoor
Addr
17
18 fresh air unitr/w 1bit
19 ionizer r/w 1bit
20 sleep r/w 1bit
21
22 swing r/w 1bit
23
24
English
Va r ia b l e
ON/OFF Air
condition
keyboard
lock control
Heater
control 1
Heater
control 2
read / write data size valid rangeunitdata type
r/w 1bit
r/w 1bit
r/w 1bit
r/w 1bit
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
0=off
1=on
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
N/Acoil
25 remain r/w 1bit N/Acoil
26 remain r/w 1bit N/Acoil
27 remain r/w 1bit N/Acoil
28 remain r/w 1bit N/Acoil
29 remain r/w 1bit N/Acoil
30 remain r/w 1bit N/Acoil
31 remain r/w 1bit N/Acoil
32 remain r/w 1bit N/Acoil
Note:other indoor calculate formula :Addr=16*No.+Fref 。(No.: indoor
No.,Fref: offset )for example,No.4 indoor on/off,its Coil address is
Addr=16*4+1=65 。
it2=Fix comp2 overload
bit3= Fix comp3 overload
bit4=Discharge pressure too
high
bit5=Suction pressure too low
bit6=Outdoor storage
malfunction
bit7= System malfunction
bit8= Discharge temp. too high
bit9= Discharge temp. too high
bit10=4WV malfunction
bit11= Ambient temp. exceed
the limit bit12= Emergency run
bit13= Super heat too low
bit14= Refrigerant leakage
bit15=Slave communication
malfunction
bit0=Fix comp1 overload bit1=
Fix comp2 overload
bit2= Fix comp3 overload
bit3= Fix comp4 overload
bit4= Discharge pressure too
high
it5= Suction pressure too low
bit6= Outdoor storage
malfunction
bit7= System malfunction
bit8= Discharge temp. too high
bit9= Discharge temp. too high
bit10=4WV malfunction
bit11= Ambient temp. exceed
the limit bit12= Emergency run
bit13= Super heat too low
bit14= Refrigerant leakage
bit15=Slave communication
malfunction