Modbus
1. Test Environment

1.1 xArrow SCADA 2.0.1
Android Device: Development Board TOPEET iTOP 4412(POP), Android version 4.4.2. This board have 2 serial port, this project use serial port 2 (ttySAC3).
The board have already installed the xArrow SCADA 2.0.1 (the apk file can be found at [xArrowAndroid Install Folder\Out\ANDROID_BIN\xArrowAndroid.apk]).

1.2 Modbus Slave 3.0
Modbus Slave is a modbus simulation program, it install on the computer, worked as a modbus device. The computer connect to the board via an USB/RS232 convert cable (Z-TEK FT232), the serial port of the computer is 1.





The computer and the board also connected to the router, this is used to download project from computer to board. The board’s IP is 192.168.1.130.

2. xArrowAndroid Configuration

2.1 Create New Project




2.2 Create Station
Click menu [Data Configuration\Station…] to create station, as follows:






Note: The serial port here is mainly used for emulator. For Android devices, user should create a comcfg.ini file, this ini file map the windows serial port to that of the Android device. The location of this file is as follows:


The ini file content as follows:

Here, 1 is the windows serial port, ttySAC3 is the serial port name of the android board.



2.3 Configure Analog
Configure [Data Configuration\Analog…] to set analog tags, as follows:










2.4 Configure Switch
Configure [Data Configuration\Switch…] to set switch tags, as follows:










2.5 Make Drawings


2.6 Download Project
Note: the xArrow SCADA should already started in the android phone.


3. Running