ABOX Manual New
ABOX Manual New
1. INTRODUCTION .......................................................................................................................... 1
2-1. STRUCTURE.................................................................................................................................. 14
2-9. ANTENNA..................................................................................................................................... 21
4-2. VPN............................................................................................................................................. 58
5-7. SIEMENS S7-1200/1500 SERIES PLC ETHERNET PORT VPN TRANSPARENT TRANSMISSION ......... 23
5-8. MITSUBISHI FX3U SERIES PLC SERIAL PORT TRANSPARENT TRANSMISSION ................................ 26
5-10. MITSUBISHI Q/L SERIES PLC ETHERNET PORT VPN TRANSPARENT TRANSMISSION ................... 32
5-12. OMRON CP1E SERIES PLC SERIAL PORT TRANSPARENT TRANSMISSION ..................................... 38
5-13. OMRON CP1H SERIES PLC ETHERNET VPN TRANSPARENT TRANSMISSION .............................. 43
6-5. OMRON CP1H SERIES ETHERNET PORT BD BOARD FINSTCP COMMUNICATION .......................... 67
9-3. OPC COMMUNICATION BETWEEN KINGVIEW SOFTWARE AND A-BOX ....................................... 139
◼ Compatibility
➢ Rich network access: 4G/WiFi/RJ45, adaptive Internet access
◼ Performance features
➢ 4G fits all kinds of network
➢ GPS function
◼ Model explanation
Model Explanation
A-BOX Basic version, no USB passthrough function
A-BOX-U Add USB passthrough function on the basis of A-BOX function
A-BOX-4G 4G/Ethernet Internet access is supported, without WIFI function, without
GPS and USB passthrough function
A-BOX-W Support WIFI/Ethernet Internet access, without 4G function, without GPS
1
and USB passthrough function
◼ Version explanation
A-BOX, A-BOX-U
Hardware Firmware Config tool Explanation
version version version
H1 V1.0.23 XNetConfigTool 1.Add Siemens S7-200 smart, S7-300, S7-1200, S7-1500 network
V2.1.010 port protocol
5. WiFi Internet mode is added, WiFi light will flash quickly when
WiFi is not connected
2
protocol
V1.1.1 and 2. When accessing Internet through WIFI, ESSID supports Chinese
above
V1.2.0 and 2. The white list function is added. Only IP addresses in the white list
above can access the internet
H2 V2.2.1 BOX Manager 1. Fix the problem when data command is configured to report at a
fixed time, it is not reported at a fixed time
V1.3.0 and
above 2. Fix the problem that fail to link server after MQTT ID password
length greater than or equal to 32 bits
3. Optimize the table import and export function, and support point
configuration
3
of IoT network card
A-BOX-4G, A-BOX-W
Hardware Firmware Config tool Explanation
version version version
H1/H2 V2.2.0 BOX Manager 1. New WIFI scanning and searching function
V1.2.0 and 2. The white list function is added. Only IP addresses in the white list
above can access the internet
4
11. New message caching function, which allows you to customize
whether to cache data
H2 V2.2.1 BOX Manager 1. Fix the problem when data command is configured to report at a
fixed time, it is not reported at a fixed time
V1.3.0 and
above 2. Fix the problem that fail to link server after MQTT ID password
length greater than or equal to 32 bits
3. Optimize the table import and export function, and support point
configuration
5
Cloud mode: users can register their accounts through their mobile phone numbers and log in to
the management tools through account passwords.
Single mode: click "skip" to enter the single mode. You can directly access ABOX by directly
entering the ID number and password.
2. The single mode is divided into "remote connection" and "LAN connection".
When ABOX logs on the server successfully, that is, the link light is always on, you can connect
remotely through ABOX ID and password.
6
(2) LAN connection
LAN connection means that ABOX is directly connected with computer by network cable, and
ABOX is searched directly by binding Ethernet network card of computer.
① Connect ABOX with the computer through Ethernet cable, and check the name of the network
card of the computer in the network connection of the computer.
② Open the Box manager, click "skip" on the home page, enter "LAN connection", select the
network card name in the above figure for the computer adapter, and click "setting".
7
③ Click "query available", and the ABOX ID will be automatically filled into the "device ID"
box if the query is successful.
④ After entering the password, you can connect to the device. The default factory password of
ABOX is 12345678.
3. Networking mode
(1) Login
After registration, users can enter box management tool through user name and password. The
user name can fill in the registered mobile phone number.
8
(2) Homepage
9
(4) Add device
10
(6) Import and export the project
Export the current project and save the device list of the current account as a file. It can be
imported with other accounts.
Please change the password in user info --- security. Need to verify the original password and
SMS.
11
(8) change telephone
You can modify the mobile phone number of the current account in user info --- security. Need to
verify the original password and SMS.
12
(9) User logout
Log off all configuration information of current user, including login account.
Here, you can view the information of the corresponding card and its usage. You can view the
detailed card information for the IoT card of Xinje, and you can only view the ID number of the
card for the IoT card of not Xinje. The current version only supports card query, but does not
support order query, invoice printing and renewal.
13
2. Performance parameters
2-1. Structure
(1) A-BOX, A-BOX-U
(2) A-BOX-4G
14
(3) A-BOX-W
2-2. Dimension
The overall dimension of A-BOX(-U) is 50.0mm×125.0mm×94.0mm (W×H×D). Please install on
the DIN46277(width is 35mm) rail.
50.0 94.0
125.0
15
The overall dimension of A-BOX-4G and A-BOX-W is 43.0mm×110.0mm×75.0mm (W×H×D).
Please install on the DIN46277(width is 35mm) rail.
110.00
110.00
COM1
36.42 COM1
36.4
RS232/RS485/RS422
COM0
COM0
RS232/RS485
Note:
(1) during screw hole processing and wiring, please do not let the chip and wire chip fall into
the module.
(2) before connecting, please confirm the specification of module and connecting equipment
to ensure there is no error.
(3) when the connection is made, please note whether the connection is firm or not. If the
connection falls off, the wrong data and short circuit will be caused. Installation, wiring, etc.
shall be performed after the power supply is cut off.
After the module is powered, the indicator light will be lit according to the function. The meaning
is as follows:
态指示灯 电源
Light Description COM
USB口 PWR Power supply indicator, normally on when power is on
16
COM
卡插入口
Flashing fast when the flash disk is updating firmware
WIFI Flashing quickly if not access WIFI (only for v1.0.23 and above)
PWR PWR
FN 4G FN WIFI
LINK LINK
Light Description
17
If the configuration table is wrong (flashing quickly), please press and
hold the reset key for 10s to initialize (version v1.0.23 or above)
16-22: The first and second -65~-55: The first and second
columns are always on columns are always on
23-31: Three columns are always -55~0: Three columns are always
on on
The A-BOX-U has USB transparent transmission function, which can realize remote download of
Xinje HMI and other devices through USB download cable.
18
× ×
2-6. Ethernet port
➢ When the accessing Internet mode is 4G or WIFI, the first port is LAN port
FG
0V
24V
The module power supply is 24V DC, the allowable range is DC 21.6V~26.4V.
COM1 COM1
RS232/RS485/RS422
P
F
COM0 COM0
RS232/RS485 L
19
A-BOX, A-BOX-U
A-BOX-4G and A-BOX-W have one serial port, namely COM1. COM1 supports RS232 / RS422 /
RS485.
A-BOX-4G, A-BOX-W
20
2-9. Antenna
ABOX(-U) has three antenna interfaces which are 4G, WIFI, GPS, they are all extension antenna.
Note:
Item Specification
21
Using environment No corrosive gas
CPU MT7628
RAM 128MB
Ethernet port 3 channels 10M/100M adaptive port 2 channels 10M/100M adaptive port
22
power UMTS: 0.25W LTE: 0.25W
Working -10℃~60℃
temperature
Serial port √ √ √ √
transparent
transmission
Ethernet port √ √ √ √
transparent
transmission
USB port -- √ -- --
transparent
transmission
Data monitoring √ √ √ √
3. Configuration environment
3-1. Preparation
ABOX has WAN and LAN configuration mode. LAN configuration uses Ethernet cable (CAT5e)
connecting to any LAN port. WAN configuration needs the module log on the server successfully.
The defaulted parameters can be used, user no need to set the parameters.
When A-BOX cannot connect to the Ethernet, please use LAN connection.
LAN connection means that A-BOX is directly connected with computer by network cable, and
A-BOX is searched directly by binding Ethernet network card of computer.
2. open BOX manager, click "skip" on the home page to enter "LAN connection". Select the name
of the network card in the above figure for the computer adapter, and click "setting".
3. Click "query available", and the A-BOX ID will be automatically filled into the "device
ID" box if the query is successful.
4. After entering the password, it can connect to the device. The default factory password of
A-BOX is 12345678.
24
3-1-2. A-BOX can access Internet, WAN connection
When A-BOX can connect to the Ethernet, pleas use WAN connection.
When A-BOX successfully logs on to the server, that is, when the LINK light is always on, you
can connect remotely through A-BOX ID and password, or add devices after logging in with
account and password.
The default mode of A-BOX-W is WiFi mode, and the default WiFi name is A_Box, password
12345678.
25
3-2-1. Mode A (access to Internet via 4G)
2. Set the LAN port parameters. LAN port provides network access capability for other network
devices, enabling wireless hotspot function, the defaulted WIFI name is XINJE ABOX, defaulted
password is XINJEABOX. A-BOX is equivalent to wireless router, which can provide hotspot for
other devices.
Enabling the white list enables the devices in the gateway LAN to access the Internet (except for
the directional traffic card).
26
3. Click next, restart A-BOX to make the settings effective.
4. When the power is cut off, power on after the module is insert with SIM card. Log on the server
after the function is initialized. 4G light is always on, LINK light is always on, WIFI light is
flashing.
27
3-2-2. Mode B (access to Internet via WIFI)
When some networks need to specify IP and DNS servers to access the Internet, you can select
"Use static IP" and manually enter the DNS server.
2. Click next, set the LAN parameters. It is recommended to enable the DHCP service. WiFi mode
cannot provide hot spots.
Note: The LAN gateway is different from the router gateway. Please check the router gateway
parameters in advance.
28
Enabling the white list enables the devices in the gateway LAN to access the Internet.
3. Click next, restart the A-BOX to make the settings effective. After successfully logging in to the
server, the LINK light is always on and the WIFI light is always on.
29
3-2-3. Mode C (access to Internet via Ethernet port)
1. In the working interface, choose the work mode is wired, set wide area network (WAN port)
parameters. You can select DHCP (automatic obtain) and Static (static allocation). DHCP is
recommended. After setting, click Next.
When some networks need to specify IP and DNS servers to access the Internet, you can select
"use static IP" and manually enter the DNS server.
2. Set the WAN port parameters. It is recommended to enable the DHCP service on the LAN.
30
The network information of WAN and LAN ports shall not conflict. The LAN port provides
network access capability for other network devices and enables the wireless hotspot function. The
default WIFI name is "XINJE ABOX" and the default password is "XINJEABOX". ABOX is
equivalent to the function of wireless router and can provide hot spots for other devices.
Note: The LAN gateway is different from the router gateway. Please check the router gateway
parameters in advance.
Enabling the white list enables the devices in the gateway LAN to access the Internet.
31
3. Click Next and the settings will take effect after restart. Connect the network cable that can
access the Internet at the WAN port. After successfully logging in to the server, the LINK light is
always on and the WIFI light is flashing.
32
Parameter Function
The watchdog is enabled by default. If the module cannot detect the Internet
access, restart the module two minutes later. If A-BOX is used as a switch, it is
Open watchdog
recommended to turn off the watchdog function. It takes effect after the device
is restarted after confirmation.
33
3-4-1. MQTT server setting
The MQTT protocol is enabled by default, and the MQTT proxy server of Xinje is used by default.
Users can directly change to their own proxy server. The cloud platform corresponding to the
Xinje MQTT protocol is limited to cloud V4.1 and above. XNet protocol can be used.
34
Choose the device brand and protocol.
Right click the COM port to add device. Define the device name and station number. The function
of the device template is to copy the configuration table when one A-BOX connects multiple
devices of the same model and data point.
35
(2) Ethernet device
Right click Ethernet, click add device, choose device brand and model protocol. Input the PLC
port, IP, station no., etc. The PLC IP must be in the same network segment with the LAN gateway
of A-BOX.
a. Add one order: right click the added device, choose the related device, click add
order.
36
Parameter name Function explanation
Specify the data point object of PLC, and automatically switch the digital
Data object
value and data type according to the data specification
It is divided into add individually and batch addition. Data type and data
Adding mode
quantity can be specified when adding in batches
b. Batch order
37
Specify the data point object of PLC, and automatically switch the digital
Data object
value and data type according to the data specification
c. MQTT parameters
The data type include INT16U, INT16S, INT32U, INT32S, INT64S, Float,
Data type
Double, Char[ ]
Response mode: the platform releases a request and ABOX releases a piece of
Publish mode data.
High performance: according to the data trigger conditions, if the conditions are
met, the data will be published.
It can be divided into trigger when the value changes, trigger when the
Trigger mode
condition is met, and trigger at a fixed time (high-performance mode).
38
Parameter name Function explanation
When the trigger condition is "meet condition trigger", meet condition trigger
Trigger
can set the range of actual data and maximum minimum value as the condition,
condition
including less than, in range, greater than, not equal to, and out of range
When the trigger condition is "fixed time trigger", data can be published
Publish interval
regularly according to the set publish interval
When the device is disconnected (not powered off), the data can be saved in
Info cache the gateway after the message cache is enabled. Up to 30000 node data can be
cached.
In the order total, you can view the instructions added by all devices. Click the "Monitoring"
button to view the real-time value of the added data. In order to save data traffic cost, Monitoring
is not enabled by default and needs to be enabled manually. Here, data monitoring can be read and
written.
39
(2) Data table import and export
With the table export function, you can export the configured data points of the device locally,
save them in Excel, edit them in Excel, and then import them into the device.
Note: Before importing the table, it is necessary to confirm that the "communication device" in the
excel form exists in the gateway data monitoring configuration.
After the form is exported, it can be edited in the form, and the quick configuration of similar
items can be achieved by copying the contents of the form.
40
After copying the content, you need to modify the name of the communication device. The
communication device here needs to be created manually in the BOX Manager. The order name
cannot be the same as the name in the previous table, otherwise it cannot be written to the BOX
Manager. The Abox address can be blank, which can be automatically assigned by the BOX
Manager or set by the user himself. Please note that it cannot be duplicate with the previous
address.
41
3-4-4. Serial port setting
Right click the COM port, select serial port setting. Enable data monitoring to take effect after
parameter writing.
42
3-4-5. Free monitor
Free monitoring monitors the internal objects of A-BOX. Free to add, view and modify data.
43
3-4-6. System information
The system information can view the operation status information of A-BOX, such as GPS
coordinates, signal strength, equipment operation time, etc.
Note: the system information can only be read once when entering the current interface, not
real-time information.
You can also view the communication device connection flag. Connection flag bit 1 indicates
successful communication of the device, and 0 indicates communication failure
44
3-5. Remote transmission
That is, transparent transmission. The transmission network is only responsible for transmitting
the services that need to be transmitted to the destination node, while ensuring the transmission
quality. The virtual serial port function can enable the A-BOX serial port equipment to be
completely taken over by remote computers and other equipment. The virtual serial port function
supports LAN and WAN modes. Please refer to Section 4-1 for detailed usage. COM0 and COM1
can be used at the same time. RS232 and RS485/RS422 of the same serial port cannot be used at
the same time.
The virtual serial port currently supports two modes: mode 1: digital signature free. Mode 2:
Digital signature needs to be disabled.
Note: When using mode 1 to transparently download programs, if the download speed is too slow,
please switch to mode 2.
3-5-2. VPN
VPN is virtual private network, which establishes a private network on public network for
encrypted communication. Connect the network interface device to ABOX directly through the
network cable, the remote PC can control the device with network interface through Ethernet
network after VPN. Virtual gateway and virtual network segment need to be in the same network
segment. Please refer to chapter 4-2 for details.
45
After the VPN is started, the VPN startup information interface will appear. When the box
displays "Initialization Sequence Completed", it indicates that the transparent transmission is
successful.
46
After the VPN is successful, IP scanning can be performed under the VPN network segment
through "VPN device scan".
For USB port devices, such as HMI, remote upload and download programs can be realized
through USB transparent transmission.
47
1. Start the service: click to enable the USB passthrough function. After clicking, when the VPN
indicator turns green, it indicates that the service is successfully started.
2. Start network test: After starting the service, click Start Net Test to view the current network
delay, which is generally within 150ms when the signal is good.
48
3. Service detection: check whether the transmission tool driver is installed.
4. Device authorization: check whether the connected device has the USB passthrough function.
The display of "unlimited devices" indicates that the USB passthrough function has been enabled.
If "devices" is displayed, the device is unauthorized and can be activated by purchasing "USB
authorized passthrough function" separately.
49
5. Authorization query: check whether authorization is successful.
Click restart to restart the ABOX, the configuration parameters in configuration tool will be
effective.
50
3-6-2. Initialization
Click ABOX initialization, restore the ABOX parameters to factory default settings. This
operation will not change the ABOX firmware version.
1. click ABOX update, choose the update file folder, click open.
51
2. Click OK.
3. After updating, restart the ABOX to make the new firmware effective.
52
3-6-4. SIM card information
When ABOX inserts a 4G card, the corresponding 4G card information can be queried. If it is a
Xinje supporting IoT network card, the card details can be queried, including ICCID, card use
status, total package usage, package used amount, package remaining amount, and current month
usage. Only ICCID can be queried if it is not the supporting IoT network card of Xinje. Card
information query requires hardware factory version at or above V2.2.0 and software version at or
above V1.2.0.
◼ BOX, A-BOX-U
Whether card
Hardware Firmware Config tool
query is Solution
version version version
supported
XNetConfigTool
V1.0.0 No
V2.1.001
XNetConfigTool No
V1.0.23 The H1 hardware version does not
V2.1.010 support the card function, and the
H1
XNetConfigTool No H2 hardware version is required
V1.0.24 for the card checking function.
V2.2.024
XNetConfigTool No
V1.0.25
V2.2.040
53
V2.2.024
XNetConfigTool No
V1.0.25
V2.2.040
BOX Manager No
V2.1.0
V1.1.0 and up
BOX Manager
V2.2.0 Yes -
V1.2.0 and up
54
All A-BOX configuration information can be saved as files, used as backups, and imported to
other A-BOX.
55
4. Typical function application
2. Click virtual serial port, choose the com port used by ABOX, choose the idle com port in my
PC. Click “Start VCom”.
3. After the process of statup virtual serial port is completed, it will show the message “virtual
56
serial port is running”.
4. After creating the virtual serial port, open the PLC programming software, choose the virtual
com port to build the connection, to realize the function of remote PLC program downloading,
uploading and monitoring, debugging.
Note: please choose Bluetooth virtual serial port in the XC and XD series PLC software.
5. After finishing the use of virtual serial port, right click the XINJE software icon on the right
bottom of PC to exit the virtual serial port.
57
6. Some computers may show that the serial port is still occupied after it is released. At this time,
please open the configuration tool, click tool/reset port to release the serial port.
4-2. VPN
VPN is virtual private network, which establishes private network on public network for encrypted
communication. PLC is connected to ABOX through Ethernet port, the remote PC can download
to PLC directly through the Ethernet network.
1. Connect the ABOX with configuration tool, and check the LAN parameters of ABOX. Confirm
the ABOX LAN port gateway, the defaulted value is 192.168.1.1, the subnet mask is
255.255.255.0. VPN only can be used for remote logging on.
58
2. Fix the IP address of PLC Ethernet port which needs to VPN, the PLC IP address should be in
the same gateway of ABOX, take the defaulted gateway as an example, PLC IP is
192.168.1.XX(XX range is 2~251). XINJE Ethernet series PLC settings are shown as below:
3. After configuring the PLC IP, connect the Ethernet cable to the ABOX LAN port, open the
configuration tool after logging on the server successfully, connect the present ABOX, click Port
trans/VPN, click “start VPN”.
59
4. When it shows the following image “Initialization Sequence Completed”, it means the
connection is successful, it can make the transparent transmission.
60
5. In the process of VPN transparent transmission, open the PLC software and directly connect to
the IP address of the PLC to remotely download the PLC program.
6. VPN network device scanning, can automatically search the IP under the LAN, click "Exit
VPN" to end this transparent transmission.
61
4-3. USB transparent transmission
This case takes the remote download of Xinje HMI with USB transparent transmission function as
an example, and the specific use mode is as follows:
1. Open the configuration tool, connect remotely, click "USB ", click "Service test", and confirm
that the passthrough tool driver installation is completed.
2. Click “start service”, start USB transparent transmission, click Start Net Test to view the
current network delay, which is generally within 150ms when the signal is good.
62
3. Service test: check whether the transmission tool driver is installed.
4. Click “ device authorize” or “authorize query”, confirm that the module has USB authorization.
63
5. The USB cable is connected to the USB port and the HMI. The device detected by the USB port
will pop up automatically in the device list. Click "√" to enable the current USB device.
64
6. In the device list, "In use by you" is displayed behind the device name, indicating that the
device is being used. Open the HMI editing software directly, and click Download after
creating a new screen.
Note: Directly closing the configuration tool will not exit the USB passthrough. After
clicking Close, the configuration tool will be minimized to the lower right corner of the
computer to run. The icon can be found. Right click the mouse, click "Open USB
passthrough" to call up the configuration interface, and click "Exit Service" to exit the USB
passthrough.
65
4-4. Data monitoring
4-4-1. Communication command
Data monitoring needs the XINJE Cloud platform. Map the device address to ABOX internal
address to realize real-time monitoring of PLC data by cloud platform.
1. After connecting the ABOX, click data monitor, it supports serial port and Ethernet port devices.
Take serial port COM0 connecting PLC as an example.
66
3. Choose “XINJE XD/XL/XG series” protocol.
5. Fill in the PLC station no., please note different PLC address cannot be conflict. The device
template is used to copy the configuration table between devices of the same model.
67
6. Right click the new device 01, click add order or batch order.
68
7. Communication order setting:
Parameter Function
69
(2) Batch order setting
Specify the data point object of PLC, and automatically switch the digital
Data object
value and data type according to the data specification
70
(3) MQTT setting
The MQTT is enabled by default. The MQTT communication adopted by Xinje Cloud will
be updated in Cloud V4.1, with XNet as the optional protocol.
The domain name of the MQTT proxy server. You can fill in the client's own
Server address
MQTT server address. The default address is "mqtt. x-net. info".
User name, The user name and password for logging into the proxy server. The default is
password the user name and password of the Xinje server
71
Parameter name Function
Answer mode: the platform requests data once and ABOX replies once;
Publish mode High performance: ABOX judges the release conditions by itself, and releases
data when the conditions are met.
Triggering forms include: trigger when the value changes, trigger when the
Trigger mode
condition is met, and trigger at a fixed time (high performance)
Triggering conditions include: less than, in range, greater than, not equal to,
Trigger condition
and out of range
8. After adding, the instructions are as shown in the figure. Please note that the object addresses of
A-BOX cannot conflict. After the data command is completed, click "Start Data Monitoring" to
apply the settings.
72
9. Open the Cloud platform in IE (https://cloud.xinje.net), fill in the user name and password.
73
10. Create new device in configure.
11. click add device in device configure. Select the ABOX, input ABOX ID and password.
74
13. Edit the Synchronous data points.
75
15. If it is an Ethernet device, confirm that the ABOX LAN gateway and PLC are in the same
network segment.
16. Confirm the IP address and port of PLC or other network interface devices. Generally, the port
number of Modbus TCP is 502. The PLC port of Xinje XDE series is 531, and the communication
port of Siemens network port is 102. The same ABOX network interface supports the
simultaneous use of multiple protocols.
76
4-4-2. Write data order
"Write Data order": the source address is the A-BOX internal address (M, D, SD), and the
destination address is the PLC address. The following functions can be used for reference. (Note:
at least one communication command must be added)
Note: When serial port transparent transmission and VPN are used, the write data function is
invalid!
Function 1: Realize the machine locking function, and detect whether A-BOX is connected to
PLC.
1. Read the special register of A-BOX to determine whether to disassemble the machine, such as
SD100.
2. Add "Write data order" to map SD100 to D100 of PLC. Refresh cycle 5s, ABOX writes the
value of SD100 to D100 of PLC every 5s.
77
3. After the D100 value in the PLC is cleared regularly, it is judged whether the D100 value is still
equal to "1", so as to use the "heartbeat detection" mechanism to judge whether the machine is
disassembled.
1. The PLC of COM0 adds order address M100, and maps to ABOX address M1000.
2. The PLC of COM1 adds write data order, maps the ABOX address M1000 to PLC2 M100.
78
4-5. Modbus TCP server function
A-BOX supports 5 ModbusTCP Client connections at most.
M 0-65535 0x (0-65535)
D 0-65535 4x (0-65535)
SD 0-65535 3x (0-65535)
2. ModbusTCP Client access method: The target IP can be the LAN gateway of ABOX, or the IP
assigned by the router when A-BOX is in WIFI mode or Ethernet Internet access mode. The port
number is 502.
3. When using the LAN, the "watchdog" must be turned off. The role of "watchdog" is to ensure
the stability of remote connection.
79
4-6. ModbusRTU slave station function
Only COM1 port of ABOX series products supports Modbus RTU slave function. Here, take Xinje
XDH-30A16-E PLC and TG765-UT (P) as an example.
Connect TG765-UT (P) to COM1 port of A-BOX, set PLC of HMI as Modbus RTU (panel is
master), and set communication parameters consistent with COM1 parameters of A-BOX.
Configure the Ethernet port (or COM0 port) in the BOX Manager management tool. Add the
corresponding PLC address corresponding to the ABOX mapping address in the write data
command to control it. Add the command in the communication command to establish
communication between the ABOX and the device of the Ethernet port.
80
In the communication command configured in the slave station, the object address and the ABox
object address are in the same storage area, so two addresses cannot be placed in the same storage
area.
81
5. Transparent transmission case
ABOX transparent transmission is compatible with all brands of PLC, HMI and other serial port
or Ethernet port devices, please refer to chapter 4 for details. The tested brands are shown as
below:
Note: Since Xinje XNET protocol cannot set the timeout, any PLC or HMI involving XNET
protocol cannot transparently transmit the upload and download programs through XNET protocol.
Please use modbus or Modbus TCP protocol.
2. ABOX module COM0 and COM1 defaulted parameters are 19200, 8, 1, E. It only needs to
connect ABOX and XC through RS232 or RS485.
3. Link the ABOX with the configuration tool, click virtual serial port, choose the com port of
ABOX, choose the idle com port in my PC, click Start VCom.
4. When the virtual serial port process is completed, it will show “virtual serial port is running”.
5. after creating the virtual serial port, open the PLC software, choose this virtual serial port to
connect. It can realize remote PLC program downloading uploading and monitoring, debugging.
Note: for XC series software, please choose blue tooth serial port when using virtual serial
port.
5-2. XINJE XD series PLC serial port transparent transmission
1. The configuration method is same to chapter 5-1. Make sure the PLC and ABOX serial port
parameters are consistent.
2. Click the virtual serial port, choose the com port of ABOX, choose idle com port in my PC.
Click Start VCom.
3. When the virtual serial port process is completed, it will show “virtual serial port is running”.
4. After creating the virtual serial port, open the PLC software, choose this virtual serial port to
connect. It can realize remote PLC program downloading uploading and monitoring, debugging.
Note: for XD series software, please choose blue tooth serial port when using virtual serial
port.
5-3. XINJE PLC Ethernet port VPN
1. Use the configuration tool to connect A-BOX, check the LAN parameters of A-BOX, and
confirm the LAN gateway of A-BOX. The default is 192.168.1.1, and the subnet mask is
255.255.255.0. VPN can only be used for remote login.
2. Fix the IP address of the Ethernet port of the PLC that needs VPN. The IP address of the PLC
needs to be in the same gateway as A-BOX. Take the default gateway as an example. The IP
address of the PLC is set to 192.168.1.XX (the range of XX is 2~251). The settings of Xinje XDE
series are shown in the figure below:
3. After configuring the IP address of the PLC, plug the network cable into the LAN port of
A-BOX. After A-BOX logs in to the server successfully, open the configuration tool, connect the
current A-BOX, open "VPN", and click "Start VPN".
4. When it shows the following image “Initialization Sequence Completed”, it means the
connection is successful, it can make the transparent transmission.
5. During VPN transparent transmission, you can also use "Windows+R" to open the "cmd"
program. The ping command can test whether the connection is normal.
6. Open the XDPpro programming software. Version V3.7.0 or above is required. Select Ethernet
Modbus when connecting. Do not select XNET for connection download!
7. Connection succeeded.
5-4. USB transparent transmission (take Xinje HMI as example)
1. Open the configuration tool, connect remotely, click "USB ", click "Service test", and confirm
that the passthrough tool driver installation is completed.
2. Click "Start Service" to start USB transparent transmission, and click “start net test” to view the
current network delay, which is generally within 150ms when the signal is good.
3. Service test: check whether the transmission tool driver is installed.
4. Click "Device Authorize" or "Authorization Query" to confirm that the module has USB
authorization.
5. The USB cable is connected to the USB port and the HMI. The device detected by the USB port
will pop up automatically in the device list. Click "√" to enable the current USB device.
6. In the device list, "In use by you" is displayed behind the device name, indicating that the
device is being used. Open the HMI editing software directly, and click Download after creating a
new screen.
7. After use, click "Exit service" to exit USB passthrough.
Note: Closing the configuration tool directly will not exit USB passthrough. After clicking Close,
the configuration tool will be minimized to the lower right corner of the computer to run. You can
find the icon, right-click the mouse, click "Open USB passthrough" to call up the configuration
interface, and click "Exit Service" to exit USB passthrough.
A-BOX S7-200
2. Use the configuration tool to remotely connect A-BOX, modify the serial port parameters of
COM0 or COM1. In this case, connect COM0, change the serial port parameters of COM0 to
9600, 8, 1, E, and click "Write and take effect".
3. Select COM0, virtual to local COM4 port. Click Start Vcom.
4. Open STEP7 software. Open communication port, set the retry times to 8.
5. Click "Set PG/PC Interface", select "PC/PPI cable (PPI)", and click "Attribute".
9. Select Radio/RF Modem and click Configure. Fill in the COM port created by A-BOX. In this
case, the COM port is COM4, the baud rate is 9600, and the parity is even.
10. Click Connect in Modem Connection
5. After downloading the parameters, connect the PLC to the LAN port of A-BOX with a network
cable. After A-BOX logs in to the server, use the configuration tool to connect to the current
A-BOX. In "User Functions" ->"VPN", click "Start VPN".
6. When it shows the following image “Initialization Sequence Completed”, it means the
connection is successful, it can make the transparent transmission.
7. During VPN transparent transmission, you can also use ping command to test whether the
connection is normal, and then open Siemens PLC software. In "PLC" ->"Setting", click Add
CPU, and manually fill in the IP address 192.168.1.150 of PLC.
8. click ok to connect the PLC.
5-7. Siemens S7-1200/1500 series PLC Ethernet port VPN transparent transmission
1. This case uses Siemens S7-1200 series PLC with IP address 192.168.11.11. First, use the
configuration tool to remotely login to A-BOX. Change the LAN gateway of ABOX to
192.168.11.1.
4. You can also use the ping command to test whether the connection is normal, then open the TIA
portal software, select the corresponding PLC, set the IP address, and click Download.
5. Select PN/IE as the PG/PC interface type, VPN transparent private network card "TAP-Win32
Adapter V9" as the PG/PC interface type, and manually enter the IP address of the PLC.
2. After writing and taking effect, click the virtual serial port to virtual COM1 to the local port,
such as COM9.
3. Start the virtual serial port.
7. Select RS232C, COM port, A-BOX virtual local port COM9, the transmission rate is 9600, and
modify the parity, data bit, and stop bit in the detailed settings.
2. Connect A-BOX remotely. Set the serial port parameters of COM0 to 9600, 8, 1, odd.
(Remember not to use 115200 bps).
3. Set the COM0 to virtual serial port.
3. After the VPN is started, the VPN startup information interface will appear. When the box
displays "Initialization Sequence Completed", it indicates that the transparent transmission is
successful.
4. You can also use the ping command to test whether the connection is normal, then open the GX
Works2 programming software, create a new project, and select the corresponding series and
models.
7. Select Connect via Hub and enter the IP address of the PLC.
8. Double click Ethernet board, select TCP protocol.
2. Use DVP cable to connect PLC to A-BOX. Start the virtual serial port. This case is virtual to
local COM7. Check whether the driver is normal in the Device Manager.
7. After writing, the COM0 virtual serial port is virtualized to the local COM13.
8. Start the virtual serial port.
5. You can also use the ping command to test whether the connection is normal, then open the
programming software, create a new PLC, and select "Ethernet" as the network type.
6. Click "Set" and enter the IP address of PLC in the drive.
3. You can also use the ping command to test whether the connection is normal, and then open the
programming software to create a new project.
4. Click "Download (PC ->HMI)" in "Project File".
5. After the compilation, change the IP address to the HMI IP, i.e. 192.168.1.200.
6. Click download.
2. Click the setting key and enter the password to enter the IP address setting interface.
3. Set the IP address of the HMI, and put the IP address of the HMI and A-BOX in the same
network segment.
4. Open the configuration interface of ABOX, click "User Functions" -->"VPN", and directly click
"Start VPN".
5. After the VPN is successful, the display is as follows:
6. You can also use the ping command to test whether the connection is normal, and then open the
Weinview editing software to create a new project.
7. Click "Download (PC ->HMI)" in "Project File".
8. After the compilation, change the IP address to HMI IP, i.e. 192.168.1.200.
9. Click download.
Communication Protocol/brand
type
Xinje XC series
ModbusRTU
Serial port
Siemens S7-200 PPI
Mitsubishi FX series
Mitsubishi FX3U/3G
Xinje XDE_XNET
Xinje XD_ModbusTCP
Siemens S7200-smart
Ethernet port Siemens S7-300 series (Only the Ethernet port of the main body is
supported)
Omron FinsTCP
Mitsubishi FX5U
Mitsubishi L series
Mitsubishi Q series
4. Right click COM0, click add device, the default station no. is 2.
5. Select "Siemens 200" and click "Add order" or "Batch order". For Word and DWord, the
number of objects must not exceed 50. After adding instructions, please monitor the corresponding
A-BOX address in the Xinje Cloud.
6. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
3. The protocol please select S7_200smart, fill in the PLC IP, the port number is 102.
Note: S7-300 only supports the Ethernet port on the main body.
2. The IP address of the PLC in this case is 192.168.1.100. First, the LAN parameters of A-BOX
should be on the same network as the IP address of the PLC.
4. Select Omron, click add order or batch order. Map to A-BOX address.
5. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
6-5. Omron CP1H series Ethernet port BD board FinsTCP communication
1. In this case, the PLC model is CP1H-X40DT-D-SC, and the network port BD board model is
CP1W-C1F41. The default IP address is 192.168.250.1.
3. In the setup wizard, change the default gateway of the LAN parameters to be on the same
network segment as the PLC, but it cannot conflict with the IP address of the PLC. For example, it
is modified to 192.168.250.10.
4. Right click Ethernet, click add device.
5. Select "Omron" - "FinsTCP" for communication protocol, fill in the IP address of PLC, and fill
in "1 or 9600" for port number.
6. Select omron, click Add order or Batch order.
7. After adding instructions, please monitor the corresponding A-BOX address in the Xinje Cloud.
8. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
6-6. Mitsubishi FX series serial port PLC
1. In this case, Mitsubishi FX1N-24MT is taken as an example. Serial port parameters are 9600, 7,
1 and E, and FX programming cable is used to connect to COM1 port of A-BOX. COM1 port
supports RS422. First, connect A-BOX remotely with the configuration tool.
2. Modify the serial port parameters of COM1 port of A-BOX to be consistent with the PLC, and
click "write" after configuration.
3. Right click COM1, click protocol set.
7. Select mitsubishifx, click Add order or Batch order. For Word, the number of objects cannot
exceed 30.
8. After adding instructions, please monitor the corresponding A-BOX address in the Xinje Cloud.
2. Modify the serial port parameters of COM1 port of A-BOX to be consistent with the PLC, and
click "write" after configuration.
3. In "Data Monitoring", right-click "COM1" and click "Protocol Set".
8. After adding instructions, please monitor the corresponding A-BOX address in the Xinje Cloud.
9. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
6-8. Mitsubishi FX5U Ethernet PLC
1. In this case, the PLC model is FX5U-32M. First, use the programming software to obtain the IP
address of the PLC. The IP of the test PLC is 192.168.3.251. Select SLMP connection, and the
port number is 4999 in this case.
2. Use the BOX Manager to connect A-BOX. First, modify the LAN gateway of A-BOX. Make
the LAN gateway of A-BOX and the IP address of PLC in the same network segment. In this case,
the IP of PLC is 192.168.3.251, so the LAN gateway of A-BOX is set to 192.168.3.1.
3. After setting the LAN gateway, restart the module at the last step.
4. In "Data Monitoring", right-click "Ethernet" to add a device, select FX5U series as the model,
4999 as the port number of the PLC, and fill in the IP address of the PLC.
5. Select "FX5U" and click "Add order" or "Batch order". Configure the mapping relationship
between PLC address and A-BOX address. Click "Start Data Monitoring" after adding.
2. Find "Built in Ethernet Settings" in "PLC Parameters" and click "Open Settings".
3. Select TCP for "Protocol", select MC for "Opening Method", and fill in 1025 for "Local Port
Number". The port number can be set arbitrarily. After setting, download the parameters to PLC.
Power off and restart PLC to take effect.
4. Use the BOX Manager to connect A-BOX. First, modify the LAN gateway of A-BOX. Make
the LAN gateway of A-BOX and the IP address of PLC in the same network segment. In this case,
the IP of PLC is 192.168.3.39, so the LAN gateway of A-BOX is set to 192.168.3.1.
5. After setting the LAN gateway, restart the module at the last step.
6. In "Data Monitoring", right-click "Ethernet" to add a device, select Q series as the model, fill in
the port number set in GX Works2 for the port number, and fill in the IP address of the PLC.
7. Select "Mitsubishiq" and click "Add order" or "Batch order". Configure the mapping
relationship between PLC address and A-BOX address. Click "Start Data Monitoring" after
adding.
2. Find "Built in Ethernet Settings" in "PLC Parameters" and click "Open Settings".
3. Select TCP for "Protocol", select MC for "Opening Method", and fill in 1025 for "Local Port
Number". The port number can be set arbitrarily. After setting, download the parameters to PLC.
Power off and restart PLC to take effect.
4. Use the BOX Manager to connect A-BOX. First, modify the LAN gateway of A-BOX. Make
the LAN gateway of A-BOX and the IP address of PLC in the same network segment. In this case,
the IP of PLC is 192.168.3.39, so the LAN gateway of A-BOX is set to 192.168.3.1.
5. After setting the LAN gateway, restart the module at the last step.
6. In "Data Monitoring", right-click "Ethernet" to add a device, select L series as the model, fill in
the port number set in GX Works2 for the port number, and fill in the IP address of the PLC.
7. Select the added device, click Add order, and configure the mapping relationship between PLC
address and A-BOX address. Click "Start Data Monitoring" after adding.
2. Modify the serial port parameters of COM0 port of A-BOX, which are consistent with the
parameters of the connected PLC serial port. Click "Write" after the configuration is completed.
3. In "Data Monitoring", right-click "COM0" and click "Protocol Set".
6. Specify the name, station number and connection flag of the equipment, and the station number
shall be consistent with that of the PLC serial port.
7. Select "XinjeXC" and click "Add order" or "Batch order". For "bit", the number of objects
cannot exceed 100. For "word", the number of objects cannot exceed 50.
8. After adding instructions, please monitor the corresponding A-BOX address on the Xinje Cloud.
9. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
6-12. Xinje XD series serial port PLC
1. In this case, Xinje XDH-30A16-E is taken as an example. Serial port parameters are 19200,8,1,
E. DVP programming cables are used to connect to COM0 or COM1 port of A-BOX (here COM0
port is taken as an example). COM0 and COM1 ports support RS232 and RS485. First, connect
A-BOX remotely with the configuration tool.
2. Modify the serial port parameters of COM0 port of A-BOX, which are consistent with the
parameters of the connected PLC serial port. Click "Write" after the configuration is completed.
3. In "Data Monitoring", right-click "COM0" and click "Protocol Set".
7. Select "Xinje XD" and click "Add order" or "Batch order". For "bit", the number of objects
cannot exceed 100. For "word", the number of objects cannot exceed 50.
8. After adding instructions, please monitor the corresponding A-BOX address on the Xinje Cloud.
2. Set the A-BOX LAN port IP to the same network segment as the PLC.
3. Use the configuration tool to remotely connect A-BOX, click Data Monitoring, right-click
Ethernet, click Add Device.
4. Select "Xinje" - "XD/XL/XG series (ModbusTcp)" as the communication protocol, port 502,
specify the device name, and IP is the IP address of PLC.
5. Select "Xinje XD" and click "Add order" or "Batch order". For "bit", the number of objects
cannot exceed 100. For "word", the number of objects cannot exceed 100.
6. After adding instructions, please monitor the corresponding A-BOX address on the Xinje Cloud.
7. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
3. Right click COM0, click add device. The station no. is 1 by default.
4. Click Add order to configure the mapping relationship between PLC address and A-BOX
address. Click "Start Data Monitoring" after adding. At present, 25 "WORD" types and 12
"DWORD" types have been added in batches.
5. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
6-15. Delta DVP series (Modbus RTU)
1. In this case, the PLC model is Delta DVP-60ES. First, connect the PLC. Write a ladder diagram
to set the RS485 parameter to ModbusRTU. In this case, set the serial port parameter to 19200, 8,1,
E.
2. Use RS485 to connect PLC with A-BOX. This case connects COM0 of A-BOX. First, set the
serial port parameters of A-BOX to be consistent with those of PLC.
3. Right click COM0, click Protocol Set, and select "Delta" - "DVP_ModbusRTU".
4. Right click COM0 and click Add Device. The default site number is "1".
5. Click Add order to configure the mapping relationship between PLC address and A-BOX
address. Click "Start Data Monitoring" after adding. At present, 25 "WORD" types and 12
"DWORD" types are added in batches.
6. In "System information", check "Communication equipment connection flag" to see whether
the communication between PLC and A-BOX is normal. The value is "1" when communication is
normal, and the value of communication failure is "0".
6-16. Modbus Rtu device
1. First, confirm that the device supports standard Modbus Rtu, COM0 port of Xinje A-BOX
supports RS232 and RS485, COM1 port supports RS232, RS485 and RS422, correctly connect
the A-BOX serial port with the corresponding device, confirm the serial port parameters of the
device, modify the A-BOX serial port parameters to be consistent with the device serial port, write
and take effect.
2. Click "Data Monitoring", right-click the corresponding COM port, click "Protocol Set", and
select "ModbusRtu".
3. Right click the corresponding COM port, click Add Device, and specify the device name,
station number, and connection flag.
4. Select "ModbusRtu" and click "Add order" or "Batch order". For "bit", the number of objects
cannot exceed 100. For "word", it is recommended that the number of objects should not exceed
50.
5. After adding instructions, please monitor the corresponding A-BOX address on the Xinje Cloud.
2. Use the configuration tool to remotely connect A-BOX, click "Data Monitoring", right-click
"Ethernet", and click "Add Device".
3. Select "Modbus Tcp" as the communication protocol, port number 502, and specify the device
IP, name and connection flag.
4. Select "ModbusTcp" and click "Add order" or "Batch order". For "bit", the number of objects
cannot exceed 100. For "word", the number of objects cannot exceed 100.
5. After adding instructions, please monitor the corresponding A-BOX address on the Xinje cloud.
1. The IP address of the PLC in this case is 192.168.1.10. First, set the LAN parameters of A-BOX
and the IP address of the PLC on the same network segment.
2. Use the network cable to connect PLC and A-BOX. In "Data Monitoring", right-click
"Ethernet" and click "Add device".
3. Select "AllenBrandly" as the device brand, "AB_CIP" as the model protocol, and "44818" as
the port number.
(2) TOPIC
Report data release ID+PWD/pub_data The device side actively reports real-time data
Title: ID+PWD/pub_configlist
Publishing conditions: the client clicks Start Data Monitoring once to publish once. Retain type.
The system data table is added by default.
Payload example:
"Unix": "1614576888000",
"Version": "V1.0",
"Configlist": {
"device 1": [{
"Order_name": "temperature",
"Order_ID": "43912342299231234+0",
"Order_type": "INT8S"
}, {
"Order_name": "length",
"Order_ID": "43912342299231234+1",
"Order_type": "Float"
}, {
"Order_name": "yield[6]",
"Order_ID": "43912342299231234+2",
"Order_type": "Float"
}],
"device 2": [{
"Order_name": "temperature",
"Order_ID": "43912342299231234+3",
"Order_type": "INT8U"
}, {
"Order_name": "length",
"Order_ID": "43912342299231234+4",
"Order_type": "Float"
}, {
"Order_name": "yield[6]",
"Order_ID": "43912342299231234+5",
"Order_type": "Float"
}],
"Order_ID": "43912342299231234+6",
"Order_type": "Float"
}, {
"Order_ID": "43912342299231234+7",
"Order_type": "Float"
}, {
"Order_ID": "43912342299231234+8",
"Order_type": "INT8S"
}]
Parameters
Name Explanation
Version Protocol version number. The current protocol version is fixed to "V1.0"
Device 1,
Device name added in Box Manager
device 2
Instruction name. If the instruction name is followed by "[6]", it means that the instruction
Order_name
is added in batches, and the length is the number of batches
The instruction ID, unique, is the unique identifier used for the Xinje cloud platform
Order_ID
binding data
Title: ID+PWD/pub_data
"Variant": [{
"Unix": "1614576888000",
"Version": "V1.0",
"Pub_Data": {
"device1": {
"temperature": 23,
"humidity": 50.23,
}]
Parameters
Name Explanation
Version Protocol version number. The current protocol version is fixed to "V1.0"
Device 1, device
Device name added in Box Manager.
2
Command key If the instruction name is followed by "[6]", it means that the instruction
value pair is batch adding, and the data value is the actual value of batch adding data
"Variant": [{
"Version": "V1.0",
"Pub_Data": {
"Device 1": {
"temperature": 23,
"length": 50,
},
"device 2": {
"temperature": 23,
"length": 50,
}
}
},
"Unix": "1614576400000",
"Version": "V1.0",
"Pub_Data": {
"device 1": {
"temperature": 44,
"length": 50,
},
"device 2": {
"temperature": 13,
"length": 60,
Title: ID+PWD/write_data
Payload instance:
"Unix": "1614576888000",
"Version": "V1.0",
"Write_Data": {
"device 1": {
"temperature": 20,
"length": 16,
"yield[2]": 55,
"yield[4]": 22
},
"device 2": {
"temperature": 20,
"length": 16,
"yield[2]": 55,
"yield[4]": 22
Parameters
Name Explanation
Version Protocol version number. The current protocol version is fixed to "V1.0"
Device 1, device
Device name added in Box Manager
2
Title: ID+PWD/write_reply
"Unix": "1614576888000",
"Version": "V1.0",
"Write_Reply": {
"device 1": {
"temperature": "OK",
"length": "OK",
"yield[2]": "OK",
"yield[4]": "OK"
},
"device 2": {
"temperature": "ERROR0",
"": "ERROR1",
"yield[2]": "ERROR2",
"yield[4]": "ERROR0"
Parameters
Name Explanation
Version Protocol version number. The current protocol version is fixed to "V1.0"
Device 1, device
Device name added in Box Manager
2
Title: ID+PWD/access_data
"Unix": "1614576888000",
"Version": "V1.0",
"Content": "savedata"
Parameters
Name Explanation
Version Protocol version number. The current protocol version is fixed to "V1.0"
After ABOX subscribes to the message, the returned data is published through
"ID+PWD/pub_data".
8. Alibaba IoT platform
8-1. Overview
Alibaba Cloud Internet of Things platform provides secure and reliable connection and
communication capabilities for devices, connecting massive devices downward, and supporting
device data collection to the cloud. The cloud API is provided upward, and the server sends
instructions to the device by calling the cloud API to achieve remote control.
The IoT platform also provides other value-added capabilities, such as device management, rule
engine, etc., enabling various IoT scenarios and industry developers. Xinje A-BOX series connects
PLC data with Alibaba Cloud Internet of Things platform.
4. Create a product in the "Product" column of "Equipment Management" and confirm to save.
5. In "Device", click "Add Device" to set a "DeviceName" for the device.
6. Click to enter the device and click "DeviceSecret" to view. "One click copy" the device
certificate. Check that the "region" is "East China 2 (Shanghai)".
7. Connect A-BOX, select "Alibaba IoT" in "MQTT Server", paste the device certificate copied
with one click into the input box, and select "East China 2" for regional information.
8. On the Alibaba Cloud Internet of Things platform, click "Function Definition" in the product
and click "Edit Draft".
9. Click “Add User defined Function” to define data name, type, company, etc. After adding data,
click Publish Online.
10. Click "Things Model TSL", in the perfect things model, select all and copy.
11. In the A-BOX configuration tool, paste in "Complete model Json text" of "Alibaba IoT". Click
"Import Json text" after pasting.
12. Configure the PLC connected with ABOX. In this case, the PLC connected is XDH. Select
COM0, click add device.
13. When adding instructions, it will automatically display the things model list added by the IoT
platform, configure the address corresponding to PLC, and configure the triggering form of
MQTT.
16. Click the device to view the data status in "Things Model Data".
9. OPC DA function
9-1. Version explanation
Hardware Firmware Config tool Support OPC
Solution
version version version DA function
XNetConfigTool
V1.0.0 No
V2.1.001
XNetConfigTool
V1.0.23 No The H1 hardware version does not
V2.1.010 support the OPC DA function, and
H1
XNetConfigTool the H2 hardware version is
V1.0.24 No required to use this function.
V2.2.024
XNetConfigTool
V1.0.25 No
V2.2.040
XNetConfigTool
V1.0.24 No
V2.2.024
BOX Manager
V2.1.0 No
V1.1.0 and up
BOX Manager
V2.1.1 No
V1.1.1 and up Upgrade with BOX Manager
BOX Manager (V1.3.0) and above
V2.2.0 No
V1.2.0 and up
BOX Manager
V2.2.0 Yes -
V1.3.0 and up
Note: At present, the OPC function is only for remote use in the WAN. LAN is not supported
temporarily.
9-2. Preparation
OPC DA function has been added to BOX Manager V1.3, which can realize data communication
between configuration software such as Kingview, Force Control, WINCC and A-BOX equipment.
This paper introduces the simple application of OPC DA function with the Kingview software.
(1) First, the BOX Manager needs to use the account login mode, and log in after the account
is registered.
(3) Enter A-BOX to configure data monitoring. First, check "Enable MQTT" in "MQTT
Server Settings", and other configuration information keep default.
(4) According to the connected PLC, select the corresponding serial port or network port to
create a new device, add the "communication command", and change the "publish mode"
of the data to the "high-performance" mode. After configuring the data to be monitored,
click "Start Data Monitoring".
(5) Exit the current ABOX configuration. In the main screen, "Enable OPC" will be displayed,
which will be enabled after clicking.
(6) In the menu bar, click OPC function option. Click "Enable Service" to start OPC Server
function. In advanced settings, you can set whether to start automatically after power on,
as well as server address and server port.
(8) Click "Data Dictionary" to create new data and variable type, and select "I/O Discrete",
"I/O Integer" or "I/O Real" according to the variable type of PLC. Select "Local XINJE
OPC Server" for "Connection Device". Select by OPC level in "Register" to determine
the last data point. You can modify the read/write properties of data points on this page.
(9) Create a new screen, bind data, and set corresponding input/output attributes according to
the attributes of data points.
(10) After saving, the operation screen can be seen that the screen in the operation system
corresponds to the ABOX register and the data in the PLC.
10. Q&A
Q1: The A-BOX you just got is directly connected to the computer with the network cable, and the
LAN is not connected.
① Connect the network cable directly to the computer and check the IP address automatically
obtained by the computer. The factory default assigned IP address of A-BOX series is
192.168.1.xxx. And use the "ping" command to ping whether 192.168.1.1 is pinged.
② If two IPV4 addresses appear in the computer network card details center, you need to
uninstall the corresponding network card driver in the Device Manager, and then scan and install
again.
③ Open the BOX Manager and confirm the LAN connection interface. The "Laptop Adapter"
selects the Ethernet network card connecting A-BOX, click setting.
Q2: Why does the black box flash back or the VPN startup information gets stuck during VPN?
If not, please reinstall "XNetConfigTool". Recheck the above drive after installation.
Q3: No authorization information is detected during USB passthrough.
A: In the computer "Control Panel", find "Bonjour" in the "Uninstall Program", and right-click to
uninstall. Then install the Xnetconfig tool again.
WUXI XINJE ELECTRIC CO., LTD.
www.xinje.com
Tel: 0510-85134136