X2bacnet en
X2bacnet en
, LTD
X2BACnet
User Manual
Applicable Product model: BAC1001-ARM, BAC1002-ARM, BAC2004-ARM, BAC2004-A9
I
Shanghai Sunfull Automation Co., LTD
Table of Contents
1 Preface.......................................................................................................................................... 1
2 Overview ...................................................................................................................................... 2
4 WEB Server................................................................................................................................ 39
II
Shanghai Sunfull Automation Co., LTD
4.8 Communication Traffic ............................................................................................................. 43
III
Shanghai Sunfull Automation Co., LTD
8.5 RS485 interface parameters ................................................................................................... 69
IV
Shanghai Sunfull Automation Co., LTD
1 Preface
1.1 Disclaimer
This user manual belongs to Shanghai Sunfull Automation Technology Co., Ltd.
and authorized Licensor all rights, retain all rights. Without the company's written
permission, no unit and individual may unauthorized excerpt, copy the content of the
book part or all. The contents of this manual may be changed due to product version
upgrades or other reasons. This manual is used in conjunction with Sunfull hardware
Email:[email protected]
TEL:+86 021-58776098
website:http://www.opcmaster.com/english/
http://www.bacnetchina.com/english/
1.3 Software Install and Uninstall
Do not operate the sensitive area of the system, including the root directory of the system
starting area, the installation directory (Windows directory), the program directory (Program
Files), and the account specific directory.
Because the program itself does not have any effect on any file other than its directory,
there is no installation and unloading problem at all.
The deletion of the program, as long as the directory of the program and the corresponding
shortcut are deleted (if you manually set a shortcut on the desktop or other position), the
program is completely clean from your computer, without leaving any garbage.
1
Shanghai Sunfull Automation Co., LTD
2 Overview
2.1 Feature
allows the user to configure the communication protocol of the field device
translation gateway.
Advantages:
4. Support the User review data and communication status. And download
2
Shanghai Sunfull Automation Co., LTD
The gateway internally supports BACnetIP server, the default port is 47808, and
BAC1002-ARM does not support), you need to set the relevant communication
parameters. The device ID is assigned by the user, so be careful not to conflict with
follows:
AI: Analog Input
AO: Analog Output
AV: Analog Value, Set Points, Intermediate variables
BI: Digital Input (Binary Input)
BO: Digital Output (Binary Output)
BV: Digital Value (Binary Value)
MI: MULTI_STATE_INPUT
MO: MULTI_STATE_OUTPUT
MV: MULTI_STATE_VALUE
The types and number of registers supported by the gateway are shown in Table
2-3-1.
3
Shanghai Sunfull Automation Co., LTD
Written value
AO (read &
0-2047 0-1023 0-511 supports 16
write)
priorities
Written value
AV (read &
0-2047 0-1023 0-511 supports 16
write)
priorities
Written value
BO (read &
0-2047 0-1023 0-511 supports 16
write)
priorities
Written value
BV (read &
0-2047 0-1023 0-511 supports 16
write)
priorities
Written value
MO (read &
0-2047 0-1023 0-511 supports 16
write)
priorities
Written value
MV (read &
0-2047 0-1023 0-511 supports 16
write)
priorities
4
Shanghai Sunfull Automation Co., LTD
Note: The number of gateway BACnet registers is dynamically allocated. All
register types of BAC2004-A9 together support up to 2048 points, all register types of
BAC2004-ARM together support up to 1024 points, and all register types of BAC1002
BAC1002-ARM(1 Ethernet port & 2 RS485 port) support different protocols convert
to BACnet protocol, can solve the problem that the large Building Automation
software control equipment. The non-standard protocol is converted into the BACnet
standard protocol through the hardware gateway, so that the BACnet client
configuration software can access the field device through the gateway.
5
Shanghai Sunfull Automation Co., LTD
configure project, upload the project to the machine hardware gateway. Finally,
run as an administrator), open the main interface, as the following figure 3-1.
Finally hardware
gateway Upload the
Start monitor and Debug the
monitoring Project to
project Until no problem.
gateway
6
Shanghai Sunfull Automation Co., LTD
gateway.
Local mode is only used for data acquisition and debugging on the PC, no
icon , open the "Driver Properties" window as the following figure 3-1-1.
7
Shanghai Sunfull Automation Co., LTD
In the pop-up window, Choose driver “ModbusRTUClient”, As the below Figure 3-1-2。
Input driver name in the name of the project, the default Scan Rate is 1000
milliseconds. Scan Rate can adjust the frequency of access to all devices. If the time
required to access all the devices is greater than the set scan rate, this time is invalid.
if the time required to access all the devices is less than the set scan rate, the
waiting time needs to reach the set scan rate for the next visit. user can according to
8
Shanghai Sunfull Automation Co., LTD
In the current driver, right click to select "New Channel" or click on the toolbar
figure 3-2-2.
9
Shanghai Sunfull Automation Co., LTD
Since the acquisition terminal is intended to collect data from Modbus slave
When the communication is stable, response timeout set longer does not affect
figure 3-2-3.
10
Shanghai Sunfull Automation Co., LTD
Note: The serial port communication parameters must be consistent with the
11
Shanghai Sunfull Automation Co., LTD
After finish adding the channel, As the following figure 3-2-4.
12
Shanghai Sunfull Automation Co., LTD
In the pop-up window set device properties, As the following figure 3-3-2.
communication can be realized under the continuous register address. When the
device does not support packet communication, the parameters of the group
package should be set to 0. In addition, when the response time of the device is slow,
you can set the time interval between the data frame and the frame (that is Delay
Between Polls). The default of Delay Between Polls is 100 microseconds. As the
2 Bytes Integer Order, 4Bytes Integer Order, and 4 Bytes Float Order means the
parameters are used in combination with field devices for data transmission. For
example, some meters adjust the sequence of high and low byte in the transmission
of data, which will be used at this time. The default parameters are generally used,
13
Shanghai Sunfull Automation Co., LTD
14
Shanghai Sunfull Automation Co., LTD
In the current Channel, Right-click to choose directly add tag (also add group
first, and then new tag in the group), or click on the toolbar , As the following
figure 3-4-1.
Or right-click on the right side of the edit box blank space, add a new tag. As the
15
Shanghai Sunfull Automation Co., LTD
In the pop-up window, Set the parameters of collection and transfer(BACnet
In the tag properties pop-up window, fill in the Name, Description, Data type,
When the data type is Short, Word, Long or DWord, can be valued by byte data
bits. Click “Mask Value”, you can select a byte 0-15. As the following figure 3-4-4.
16
Shanghai Sunfull Automation Co., LTD
For some special data, we can also enable the linear transformation function to
realize the linear amplification and reduction of data. Note that the initial address of
the BACnet server's address is from 0. As above figure, the value of the Modbus
register is collected and stored in the AV0 address of the BACnet server.
The supported type of registers are 0X, 1X, 3X, 4X. For the 0X and 4X register
types, 0X (Coil Status) -F5 and 4X (Holding Register) -F6 are generally chosen by
Click “Scale”, You can do the linear transformation, and two minimum value is
invalid, you just need to set a maximum. To expand 100 times, Raw Data is set to 1,
17
Shanghai Sunfull Automation Co., LTD
18
Shanghai Sunfull Automation Co., LTD
Serial
Register Type Description Remark
Number
1 0X(Coil Status)-F5 Digital quantity, support read and Written value 05 function code
write (0/1)
2 0X(Coil Status)-F15 Digital quantity, support read and Written value 15 function code
write (0/1)
(0/1)
5 4X(Holding Register)-F6 Analog quantity, support read and Written value 06 function code
write
6 4X(Holding Register)-F5 Analog quantity, support read and Written value 06 function code
write
7 4X(Holding Register)-F16 Analog quantity, support read and Written value 16 function code
write
19
Shanghai Sunfull Automation Co., LTD
If it is associated with BI, BO, BV, MSI, MSO, MSV and other objects, you can
edit the status text according to your needs, if it is associated with AI, AO, AV and
other objects, you can also choose the numerical unit and COV change accuracy
according to the requirements, of which the AV object also supports the trendlog
storage function and sets the BACnet alarm function, as shown in Figure 3-4-7,
Figure 3-4-8
20
Shanghai Sunfull Automation Co., LTD
21
Shanghai Sunfull Automation Co., LTD
Now you can continue to add steps one by one, and suggest using the copy and
paste of the toolbar. Select a tag to copy, click the copy button in the toolbar, or
choose the copy on the right button, or use shortcut key Ctr+C and Ctrl+V, as the
It can also be edited in the EXCEL table. Right-click the device to choose “Export
22
Shanghai Sunfull Automation Co., LTD
Save the completed, open the EXCEL for editing, As the figure 3-4-11.
23
Shanghai Sunfull Automation Co., LTD
Back to X2BACnet interface, Right-click the device to choose “Import Excel”,
find the edited Excel file to import. As the following figure 3-4-13.
24
Shanghai Sunfull Automation Co., LTD
BACnet server support BACnet IP protocol and BACnet MSTP protocol. Click
on the menu bar "BACnet Server" option "BACnet IP Setting",As the following figure
3-5-1-1.
Set the BACnet device ID in the pop-up dialog box, the port number is fixed to
47808, and pay attention to the device ID not to duplicate other BACnet device
failures. When there are more gateway points, users can choose whether to enable
the COV subscription function according to the response speed of actual needs.
In addition, the gateway can be named so that the gateway with different
Figure 3-5-1-2.
25
Shanghai Sunfull Automation Co., LTD
Note: To BACnet IP, if the host computer is Siemens Insight, the device ID is
property of BACnet, you can set the IP address and port number of the alarm
BBMD: If the gateway and the BA host computer are not in the same network
segment, the BBMD function needs to be enabled. This function requires both
26
Shanghai Sunfull Automation Co., LTD
Click on the menu bar "BACnet server" option "BACnet MSTP Setting", As the
27
Shanghai Sunfull Automation Co., LTD
Figure 3-5-2-1 BACnetMSTP Server Setting
In the pop-up dialog, select “Enable MSTP Slave”, set the DeviceID and MAC
address (the device ID and Mac address are as consistent as possible), the serial
channel, the baud rate and other parameters of the BACnet slave device. The
gateway can also be named, so that the different gateways can be distinguished in
the upper computer configuration, and the device ID in the BACnetMSTP server and
the device ID in the BACnetIP server are shared. The specific setting is as shown in
figure 3-5-2-2. It is suggested that the COM1 port be used as the BACnetMSTP
communication port.
the host computer Siemens Insight and Delta Orca use MBCS code, the EBI uses
USC-2 code, and the Johnson Metasys and Niagara platforms use UTF-8 codes,
when the users apply the sequence call in the gateway, the application status and
description, different character sets can be selected according to the host computer
platform.
28
Shanghai Sunfull Automation Co., LTD
Click "BACnet Server" in the menu bar to select "BACnet Routing Settings", and
29
Shanghai Sunfull Automation Co., LTD
3.6 BACnet Monitor Mode
After the project configuration is complete, click "Tools" in the menu bar to select
Before uploading project, we must ensure that the monitoring mode is Remote
Gateway mode, and the specific mode switching operation is as follows.
on the menu bar, monitor mode under the tool need to be chosen “Remote Gateway”.
Double click the “Monitor Mode” of the status bar at the bottom of the software can also
switch monitoring mode.
After Configuring the project, the project can be uploaded to the hardware
gateways to debug by starting monitor.
If the project is modified, it is necessary to upload the project to the gateway for
debugging until there is no problem, finally monitor by hardware gateway.
Click "Gateway" on the menu bar to choose "Upload " or click on the toolbar
30
Shanghai Sunfull Automation Co., LTD
In the pop-up dialog box enter the gateway IP address, click the "Upload",As
the Figure 3-7-2.
After uploading, the pop-up dialog prompt succeeds to upload, As the Figure
3-7-3.
31
Shanghai Sunfull Automation Co., LTD
the same network segment, the project can be uploaded after successfully Ping.
After uploading the project, click the menu bar "Tools" to select "Start Monitor" or
click the toolbar icon ,you can see real time data on the device. As the Figure 3-6-4,
32
Shanghai Sunfull Automation Co., LTD
3.8 Download the Project
Before uploading project, we must ensure that the monitoring mode is Remote
Gateway mode, and the specific mode switching operation is as follows.
on the menu bar, monitor mode under the tool need to be chosen “Remote Gateway”.
Double click the “Monitor Mode” of the status bar at the bottom of the software can also
switch monitoring mode.
hardware gateway to PC, and edit the project and view real-time data on the PC to
facilitate user debugging. Click on the "Gateway" choose "Download ", user name:
In the pop-up dialog box enter the gateway IP address, can be downloaded
33
Shanghai Sunfull Automation Co., LTD
Users can also through the WEB server log in to the gateway, download the project.
After completing the project configuration, click the menu bar "Tools" to select
"Start Monitor" or click the toolbar icon , as shown in figure 3-9-1 below. It will start
the X2BACnetRunTime.exe program. User only need to start the program in the
X2BACnetRunTime run successfully. We can view the running log. As the Figure
3-9-2.
34
Shanghai Sunfull Automation Co., LTD
Return procedure monitoring interface, can see some real time data on the
device and the data on the interface is consistent, As the Figure 3-9-3.
In gateway monitoring mode, click "Gateway" in the menu bar and select
35
Shanghai Sunfull Automation Co., LTD
Ethernet Setting: You can change the IP address of the hardware gateway, the
complete. The "Ping" function tests whether the ping of the current IP address is
successful. The "Login Web Page Function" can be logged in to the web server
36
Shanghai Sunfull Automation Co., LTD
Time: Can read the current system time of the hardware gateway, if the time
does not match the normal time, you can click the "Load" function to refresh the
hardware gateway system time, the automatic update cycle refers to the cycle
interval between the system time of the hardware gateway to the underlying end
37
Shanghai Sunfull Automation Co., LTD
Firmware: You can view the firmware information burned into the hardware
refreshes the gateway memory information every 5s). 2. Restart the gateway
configuration project). 4. Backup the configuration project (you can back up the
current project to the isolation area). 5. Restore the configuration project (restore the
project that the user has backed up). Projects can be backed up to quarantine areas,
and first, when the wrong project is uploaded by mistake, it can be quickly restored.
The second is to facilitate debugging, the user does a good job of point table, after
backing up the project, encountering modifications, you can also quickly restore.
38
Shanghai Sunfull Automation Co., LTD
The above functions can also be accessed via the web server and set on the
web page.
39
Shanghai Sunfull Automation Co., LTD
4 WEB Server
BACnet Gateway with a WEB server, the default port is fixed at 80. Users can
login to the WEB server through the browser, in a WEB page can modify hardware
change the IP address for the first time, users only need to direct connect a network
cable and the gateway. Need to set the PC and gateway to the same network
segment, and then in the browser input 192.168.1.88 complete gateway IP address
modification.
Web Login
After connecting Gateway and PC to the same network, enter the gateway default IP
In the pop-up window enter the user name and password to login, As the Figure 4-1.
Username: admin
Password: admin123456
40
Shanghai Sunfull Automation Co., LTD
Click “Download”, you can download the following files, As the Figure 4-1-1.
41
Shanghai Sunfull Automation Co., LTD
42
Shanghai Sunfull Automation Co., LTD
4.5 Network
43
Shanghai Sunfull Automation Co., LTD
4.6 Firmware
In this page, user can view the firmware version information, machine code and
license key.
4.7 Memory
1. check the system memory usage. (This function automatically refreshes the
44
Shanghai Sunfull Automation Co., LTD
2. Restart Gateway (remote restart the current gateway).
4. Backup Project File (can back up the current project to the remote area).
5. Restore Project File (restore a project that has been backed up by the user).
The project can be backed up to the remote area, which has 2 advantages.
First, it prevents the wrong operation from uploading the wrong project and can
be quickly restored.
Two, it is easy to debug. Once the project is modified, it can be quickly restored.
In addition, the real-time dynamic data frame can be viewed in the web page to
Through the analysis of the data frame, the cause of the failure can be found, which
45
Shanghai Sunfull Automation Co., LTD
Check the equipment real-time data on the web, as the Figure 4-9-1.
BACnet gateway also has JS script editor. Users can implement some logic
controls by editing script language. Script Editor built in some common functions.
The user can select some functions to edit the language. After editing is completed,
click "Syntax Check", and the syntax will be checked automatically. If there is any
errors, it will be indicated which specific line have problems.
Click the menu bar view to select the JS script editor, or click the toolbar to open the script editor,
46
Shanghai Sunfull Automation Co., LTD
5 JS Script Editor
Right click on the script editor to choose “New JS Script”, as shown in figure
5-1-2.
47
Shanghai Sunfull Automation Co., LTD
1. Function
2. Internal Tag
Users can use the " Internal Tag" function to build a new variable and related
functions and to receive or store variable data, such as taking the current value of
48
Shanghai Sunfull Automation Co., LTD
Tag, and mapping it to a new internal variable. In the script editor, click the "Internal
Tag", or in the X2BACnet menu bar click “view” to select “Internal Tag”, open the
window of Internal tag list. In the pop-up window, right click “New”, as shown in
figure 5-1-5.
Note: in the above figure, there is an internal variable BI point that address is 7,
which represents the communication state of the Device. at least one point is
communicated normally under the device, the value of the internal variable is 1, if all
the points under the device are not normal (that is, the device is off-line), this internal
change of the value of the quantity is 0. If there is currently N devices, it will
automatically generate N internal variables. Users should avoid duplication of register
addresses when configuring the project.
In the pop-up window, set the variable related properties. If you want to quickly
view the current value of the internal variable, you can click the menu bar "view"
option and select the "internal variable" to see the real time data in the pop-up
window, as shown in figure 5-1-6.
49
Shanghai Sunfull Automation Co., LTD
3. External Tag
In addition, users can also use relevant functions for logical control according to
50
Shanghai Sunfull Automation Co., LTD
the changes in the data of external variables, such as different logical controls based
on the range of numerical changes of an external variable. In the script editor, click
"external tag", and double-click on a variable in the expanded variable table, as
shown in figure 5-1-8.
4. Syntax check
After completing the programming, users can check the syntax errors with the
syntax check function and prompt if there is a problem with the program.
5. Execution Type
Execution type cycle: cycle (MS)1000, which represents a script execution every
1000ms.
Execution type change: Roll call needed to input. The following figure 5-1-9,
which assigns the value of internal variable VarName_1 to the return Tag_1 and
Tag, The initial value of the internal variable VarName_1 can be assigned to
batch names.
51
Shanghai Sunfull Automation Co., LTD
Note:
In order to prevent the mistake, you can point out external variables, or internal
variables in the script input box, double click to select a name and then copy it from the
script input box to the top name box.
Only when the value of internal variable VarName_1 change, can script be executed to
save resources.
Execution type time selection: select a time point, after the arrival of this time, the
implementation of the script. It can be applied to the timing switchgear.
52
Shanghai Sunfull Automation Co., LTD
The common functions built into the JS Script Editor are described below:
Operating Function
5.2.1 ReadFromTag
Syntax:
5.2.2 WriteToTag
Syntax:
5.2.3 GetTagQuality
The results returned conformed to the OPC specification. That is, Good returns 192,
Bad returns 0, Uncertain returns 64, indicating that the value is not assigned and has
not been updated.
5.2.4 MoveValue
It is implementing the transfer of source data to destination data and data transfer
between different points.
53
Shanghai Sunfull Automation Co., LTD
Syntax:
MoveValue ('Source Tag Name', 'Destination Tag Name'); //Source Tag Name is the
name of the source data point, and Destination Tag is the destination data name.
The parameters here can be either external variables or internal variables.
MoveValue function application scenario:
(1) the gateway collection side can access and control each other (no matter
what protocol can be interchanged).
(2) use one internal variable point to control all external variables.
54
Shanghai Sunfull Automation Co., LTD
This is the realization that when the internal variables change, the external
For example, if you change the temperature on the interface, the setting
temperature of the N thermostat of the gateway will be changed together.
5.2.5 GetTagBCD
Syntax:
If the single register (Word, Short) value is 4660 (0x1234), the GetTagBCDR
function is used to get BCD data to be decimal number 1234.
5.2.6 GetTagBCDR
It is used to get the BCD code of a tag, but the value is BCD code with high and low
inversion.
55
Shanghai Sunfull Automation Co., LTD
Syntax:
If the single register (Word, Short) value is 4660 (0x1234), the GetTagBCDR
function is used to get BCD data to be decimal number 3412.
For an example:
56
Shanghai Sunfull Automation Co., LTD
System function
The output string of alert () function is mainly used for debugging. The results
returned are displayed on the log of Runtime.exe. It can also be displayed on the
state of the web communication.
57
Shanghai Sunfull Automation Co., LTD
Syntax:
The Sleep (1000) function is used for delay, indicating a delay of 1 seconds. Unit
milliseconds.
5.3 Example
Open the script editor to reduce the current value of Tag "
Simulator.Channel_1.Device_1.Tag_1" by 20 times and map it to the internal
variable T1.
var szValue=ReadFromTag('Simulator.Channel_1.Device_1.Tag_1');
newValue=newValue*0.5;
WriteToTag("T3",newValue.toString());
The script editor supports all mathematical calculations, such as taking random
numbers between 0-255.
58
Shanghai Sunfull Automation Co., LTD
View the T1 real-time data under the internal variables in the View menu bar. As
shown in figure 5-3-2.
59
Shanghai Sunfull Automation Co., LTD
Rated power 8W
Allowable loss of
< 5 ms
power
60
Shanghai Sunfull Automation Co., LTD
conforms to EN61000-6-2:2005,
EN61000-6-4:2007 standard, and meets ROHS
CE & ROHS
Lightning surge + 4KV, group pulse + 4KV,
electrostatic contact 4K, air discharge 8K
relative humidity in
20%~90% non-condensation
working
relative humidity in
15%~95% non-condensation
storage and
Label 1 and 2 in the physical map are Ethernet 1 and 2 respectively. Standard
RJ45 interface, 10M/100M adaptive, support AUTO MDI/MDIX.
IP can be changed, easy to connect communication. Long press the Reset key,
restore the Ethernet 2 to the factory default IP.
61
Shanghai Sunfull Automation Co., LTD
The concrete interface of the gateway is illustrated as shown in Figure 6-3-1.
The standard 3PIN 5.08mm spacing connector is used in this interface and the
input pin definition is shown in table 6-4-1.
62
Shanghai Sunfull Automation Co., LTD
Power input supports AC / DC 12V to 24V wide voltage input, supports
overcurrent and lightning protection, and supports reverse connection protection.
The standard 14PIN 5.08mm spacing connector is used in the interface. The
definition of the foot table is shown in table 6-5-3.
1 A1 Fully electrically
isolated RS485
RS485 (COM1)
2 B1 interface, isolation
voltage up to 2000V
3 A2 Fully electrically
isolated RS485
RS485 (COM2)
4 B2 interface, isolation
voltage up to 2000V
63
Shanghai Sunfull Automation Co., LTD
7 BAC2004-A9 Hardware Gateway Parameters
BAC2004-A9 The hardware gateway parameters of the are as follows:
Rated power 8W
Allowable loss of
< 5 ms
power
64
Shanghai Sunfull Automation Co., LTD
conforms to EN61000-6-2:2005,
EN61000-6-4:2007 standard, and meets ROHS
CE & ROHS
Lightning surge + 4KV, group pulse + 4KV,
electrostatic contact 4K, air discharge 8K
relative humidity in
20%~90% non-condensation
working
relative humidity in
15%~95% non-condensation
storage and
Label 1 and 2 in the physical map are Ethernet 1 and 2 respectively. Standard
RJ45 interface, 10M/100M adaptive, support AUTO MDI/MDIX.
IP can be changed, easy to connect communication. Long press the Reset key,
restore the Ethernet 2 to the factory default IP.
65
Shanghai Sunfull Automation Co., LTD
The concrete interface of the gateway is illustrated as shown in Figure 7-3-1.
The standard 3PIN 5.08mm spacing connector is used in this interface and the
input pin definition is shown in table 7-4-1.
66
Shanghai Sunfull Automation Co., LTD
Power input supports AC / DC 12V to 24V wide voltage input, supports
overcurrent and lightning protection, and supports reverse connection protection.
The standard 14PIN 5.08mm spacing connector is used in the interface. The
definition of the foot table is shown in table 7-5-3.
1 A1 Fully electrically
isolated RS485
RS485 (COM1)
2 B1 interface, isolation
voltage up to 2000V
3 A2 Fully electrically
isolated RS485
RS485 (COM2)
4 B2 interface, isolation
voltage up to 2000V
67
Shanghai Sunfull Automation Co., LTD
8 BAC1002-ARM Hardware Parameter
BAC1002-ARM The hardware parameters of the gateway are as follows:
Memory 64M
Rated power 6W
Allowable loss of
< 5 ms
power
68
Shanghai Sunfull Automation Co., LTD
confirms to EN61000-6-2:2005, EN61000-6-4:2007
standard, and meets ROHS
CE & ROHS
Lightning surge + 4KV, group pulse + 4KV,
electrostatic contact 4K, air discharge 8K
relative humidity in
20%~90% non-condensation
working
relative humidity in
15%~95% non-condensation
storage and
Label 3 in the physical map are Ethernet interface. The default IP address is
192.168.1.88. The IP can be changed, easy to connect communication. Long press
the Reset key, restore the Ethernet to the factory default IP.
69
Shanghai Sunfull Automation Co., LTD
The standard 3PIN 5.08mm spacing connector is used in the interface, and the
input pin definition is shown in table 8-4-1.
70
Shanghai Sunfull Automation Co., LTD
The standard 10PIN 5.08mm spacing connector is used in the interface. The
definition of the foot table is shown in table 8-5-3.
7 B/ RX (COM2)
8 GND
71
Shanghai Sunfull Automation Co., LTD
9 BAC1001-ARM Hardware Parameter
BAC1001-ARM The hardware parameters of the gateway are as follows:
Memory 64M
Rated power 6W
Allowable loss of
< 5 ms
power
72
Shanghai Sunfull Automation Co., LTD
confirms to EN61000-6-2:2005, EN61000-6-4:2007
standard, and meets ROHS
CE & ROHS
Lightning surge + 4KV, group pulse + 4KV,
electrostatic contact 4K, air discharge 8K
relative humidity in
20%~90% non-condensation
working
relative humidity in
15%~95% non-condensation
storage and
73
Shanghai Sunfull Automation Co., LTD
The standard 3PIN 5.08mm spacing connector is used in the interface, and the
input pin definition is shown in table 8-4-1.
74
Shanghai Sunfull Automation Co., LTD
The standard 5PIN 5.08mm spacing connector is used in the interface. The
definition of the foot table is shown in table 9-5-3.
75
Shanghai Sunfull Automation Co., LTD
BACnet client scan software,easy to operate and quick scan speed from machine.
It can scan BACnetIP and BACnetMSTP server, this software can be used for free,
if you have need, you can contact the company. With BACnetScan, you can browse
the BACnetIP slave device (server) in the LAN, browse the BACnet MSTP slave
device through the serial port, view the properties of the object, and also read and
write to the current values of BO, BV, AO, AV, MSO and MSV objects. Support
Support read and write present value property, export EXCEL etc.
10.1 BACnet IP
Right click BACnet IP and select “Search Device…” or click button. As the
Figure 10-1。
76
Shanghai Sunfull Automation Co., LTD
Click Device ,property and valve on the right, right click Search Object or click
77
Shanghai Sunfull Automation Co., LTD
You can see that all the points configured in the gateway have been scanned, select
one of the points, and right-click to select "Read Object Properties", as shown in
Figure.
Right-click on the current value and select Write Value, as shown in Figure 10-5
78
Shanghai Sunfull Automation Co., LTD
Write the values in the pop-up window, as shown in Figure 10-6
79
Shanghai Sunfull Automation Co., LTD
80
Shanghai Sunfull Automation Co., LTD
11 Frequently asked Questions
11.1 Failed to login ‘http://192.168.1.88/login.html’ WEB server!”
Connecting the gateway on a PC, when you start monitoring, the error
message is constantly prompted in the print message bar” Failed to call
‘http://192.168.1.88/login.html. There are three main reasons for this situation:
The first possibility is that the current monitoring mode is gateway mode, which needs
to be adjusted to Local PC monitor mode.
The second possibility is that the port number of the current WEB server is occupied by
other applications on the local computer.
The third possibility is that the X2BACnetRuntime program is shut down, and only
needs to restart the monitor.
Q1: There are a lot of Modbus drivers in Sunfull Gateway. If we need to collect
data from a watt hour meter with standard ModbusRTU protocol, which driver should
I choose?
A1: For devices that support standard ModbusRTU protocol, you need to select
the driver whose name is ModbusRTUClient.
Q2: How many buses can the Sunfull Gateway can connect? Can each bus be
mixed with different devices (for example, a bus is connected to the water meter and
electricity meter simultaneously)? How many devices can be supported in series by
each bus?
A2:
1) Sunfull Gateway can support 4 RS485 accesses (e.g.BAC2004 ARM supports 2* Full
isolution RS485, 2*RS485/RS232(Alternative)
2) for better communication stability, it is recommended that customers connect the same
equipment to each bus, such as configuring the COM1 connection meter and COM2
receiving the water meter.
81
Shanghai Sunfull Automation Co., LTD
3) no more than 32 buses are recommended for each bus, and one bus must be
connected with multiple devices in series. It is necessary to ensure the unique device
ID between devices.
Q3: For example, if I have 20 meters of the same model connected to a bus,
and I have configured the communication address of one of the meters with
X2BACnet software, is there any way to quickly configure the remaining 19 meters
in this software?
A3: in order to save users time, Sunfull Gateway has done copy-paste and
batch modification functions in many places. For example, copy and paste of the
same device point information, copy and paste between channels, batch
modification of point information (register type, register address, data type, etc.).
When the user completes a point configuration of an electric meter, the other 19
units can quickly complete the configuration by copying and pasting the current
device, and the user pays attention to the equipment station number corresponding
to the site equipment.
Q4: I used the BAC2004 gateway to collect the ModbusRTU data provided by
Siemens 200PLC on the spot, why does the value of the single-precision
floating-point format not correspond to the actual value on site?
Note: for situations like this where the data read is in contrast with the field data,
users can consider switching byte order (the gateway opens up 2-byte integer order,
4-byte integer order, and single-precision floating-point order).
A5: Sunfull X2BACnet configuration software, under the "BACnet Server" menu
bar, designed "auto-arrange register addresses", users only need to click, can
quickly arrange the BACnet addresses from 0.
Q6: The host computer system is Johnson Metasys, when integrating the
Sunfull BACnet gateway, can the roll call on the scan be Chinese displayed?
A6: Sunfull X2BACnet configuration software, under the "BACnet Server" menu
bar, added the "BACnet Character Encoding" option, users only need to switch to
the "Unicode" character set, it also can support Chinese.
82
Shanghai Sunfull Automation Co., LTD
Q7: When the network controller integrates the Sunfull BACnet gateway quickly
through the BACnetIP protocol, why can't we find the Sunfull gateway?
A7:
1) Users need to ensure that the Sunfull gateway is in the same network segment as the
network controller, and the subnet mask and the default gateway must also be
guaranteed to be consistent with the field.
2) Ensure that Sunfull BACnet server device ID is unique and cannot be duplicated with
other devices on the same network.
3) Do not check the menu bar "BACnet server" under " BACnetMSTP Settings", if open
MSTP, it means convert to BACnetMSTP server, it is not able to search the BACnetIP.
4) Users can also test through the BACnetScan scanning tool developed by Sunfull. If
BACnetScan can find the Sunfull BACnet gateway, it means that scanning Sunfull
BACnetIP has no problem. It is necessary to confirm whether the communication
parameters of the Network controller and gateway are set correctly.
83
Shanghai Sunfull Automation Co., LTD
12 CTL Test Certification
84