Академический Документы
Профессиональный Документы
Культура Документы
IOTService Tool
2018-12-12
CONTENT
1. IOTSERVICE INSTALLATION ......................................................................................... 5
2. IOTSERVICE INTRODUCTION....................................................................................... 8
3. product connection ........................................................................................................... 10
4. IOTSERVICE INTRODUCTION..................................................................................... 13
2018-03-05 Update IOTService. Version 2.3.0.07f ,Add HF2411, HF2111A new type.
1. IOTSERVICE INSTALLATION
IOTService is tools for config device, create virtual com, remote monitor device,
OTA upgrade function. It is used for the following product(H100 and HF2111 does
not support).
Step 3: After installation, there is a folder for IOTService under the installation path.
There are three tools in this folder, IOTService, IO Control AppIOMain (for the
HF6X08 series).
Click IOTService icon and start the tool after installation.
Step 4: The tool will show the following UI.
Step 5: Enable Auto Start when needed. (May fail in some OS, pleae google to find
soluction about make program auto start)
Notes:
This tools need JRE environment and will automatically install it.
Run following IOTService.bat to send us the log information if encounter tools
problem, this startup method does not support virtual com function.
This tools some function need administrator permission and close firewall, suggest
to do as following.
2. IOTSERVICE INTRODUCTION
IOTService is a management tools for our serial server devices. It is the upgrade
version if previous IOTService. Add the feature of our IOT bridge cloud for remote
device setting and data transfer.
IOT bridge cloud use UDP/P2P/NAT to make the IOTService software remote
setting and control devices. The detailed structure is as following picture.
The following products can be configured by this tool(H100 and HF2111 is not
supported). Take Eport-E10 and HF2211 for example, the others are the same
usage.
3. PRODUCT CONNECTION
3.1. Eport-E10 Device Connection
Connect the Eport EVK with PC by USB cable and connect the Eport EVK to the
router by Ethernet cable. Meanwhile, it can be seen that the power light is on, which
means power supply is already. 2~3 sec after powered on, the Link light is on, and it
indicates Eport-E10 launch normally and link to the router.
Notes:
1. Press Reload 3 seconds and then leave, the module will restore the factory
configure and the restart.
2. If using USB port, it needs to download FT232R drive from the website and
then update.
http://www.hi-flying.com/index.php?route=download/category&path=1_4
http://www.hi-flying.com/index.php?route=download/category&path=1_4
Unzip the file and find the following icon, Open and click quick
◼ To the selected product, it can check the specific status and configure it.
◼ Add Device: Add remote device under Service Id(The User Id should first be
written via Cli SYS/UserID command), if the device is in locally, then it will be
added automatically.
◼ BroadCast Scan: BroadCast scan device. When set the device with static IP
such as 192.168.188.XXX, but this IP is not in the same network with
router(192.168.0.XXX), with this broadcast scan, it can be also found and
modify it to the same network, and then the device status can be checked and
modified.
◼ Firware Setting: OTA upgrade device, more details in the following chapter.
◼ VirPath: The virtual channel, virtual serial port information.
Step 4: Transmit data between TCP tool and serial port tool.
4.4.3. TCP Client Test
Step 1: Open TCP&UDP test tool and build TCP connection as following steps.
◼ Local IP: PC IP address. Do not tick, tool will automatically select.
◼ Local Port: TCP Server port number
Step 4: Transmit data between TCP tool and serial port tool
4.4.4. TCP Client Connect to Remote Test Server
Step 1: Open TCP&UDP test tool and build TCP connection as following steps.
◼ Socket Name: Socket name can be set randomly (differ from other
sockets), 5 maximum default.
◼ Protocol: Select TCP-Client
◼ Server Addr: Server IP address, Test Server IP:112.124.43.15
◼ Server Port: Server port number, Test server TCP port:3006, UDP port:
3008. This case takes TCP transport as example.
It is also possible to confirm the virtual serial port that has been created by entering
the device manager interface and the Socket interface.
Step 3: Open serial port tool and set virtual port baud rate (Product supports
self-adaption baud rate function and serial port from device hardware will execute
according to the parameter from virtual Com. You do not need to modify its serial
port baud rate )
Step 1: Write User Id into device as the following picture. Service Id and User Id can
be got via IOTBridge.
Step 2: The tools fill in Service Id. Advanced software into the interface, after the
Remote Access Enable function to the ability to be able, then then fill in the Service
Id. After setting up, reboot the software.
Step 3: Add HF5111B in the IOTService tools.
Step 1: Open IOTService tools, follow the following steps to create virtual
through path.
◼ VirPath: Create or delete virtual path.
◆ VTH Name: The name of the channel is set by the user itself.
◆ Protocol: Protocol, you can choose TCP or UDP.
◆ Server Addr:The virtual channel is sent to the destination address
after the data is received, and the PC address is filled in here.
◆ Server Port: The server receives the port number, and here is the PC
server port.
Step 2: After the success of the creation, the following interface will be displayed.
Step 3: Create a TCP server through the TCPUDPDbg.exe tool to connect with the
client created by the software, such as the following diagram steps
Step 4: after the server is created, the IOT tool master interface displays the
connection,
TCP tool also shows a client connection, through serial port software to open the
device serial port, the data can be sent and received.
4.5.4. Virtual Through Remote Communication
The following test case is in remote environment, the PC can create virtual through
path to transfer data with remote PLC.
Step 4: After creating a TCP server through the TCPUDPDbg.exe tool, you can see a
client connection.
Step 5: After the server is created, the IOT tool master interface also displays the
connection
Through serial port software to open the device serial port, the data can be
received and received.
4.6. D2D communication case
D2D transmission is the use of network transmission to achieve data transmission
between equipment and equipment. Communication between equipment and
equipment needs to be connected to the external network. The following case uses
two 5111B devices as an example.
Step 1: two devices must be registered to the industrial control cloud platform. The
device terminal needs to be written to User Id by Cli instruction. The Cli instruction
is detailed in the user manual, Service Id and User Id can be obtained by referring
to the eighth chapter.
Step 2: the tools fill in Service Id. Advanced software into the interface, after the
Remote Access Enable function to the ability to be able, then then fill in the Service
Id. After setting up, reboot the software.
Step 3: click the tool to add the device to the page and fill in the MAC address of
the device.
After adding, you can see if the device has been successfully added through the
industrial control cloud platform.
Step 4: after being registered to the industrial control cloud, the D2D channel can
be created on device 1. The following steps are made.
◆ D2D Name : name, create a communication channel name.
◆ Select Dev: The Select Dev: the choice of equipment, if equipment
is added to the industrial cloud, click the triangle button, you can
display its MAC address.
◆ Rout: connect to, after receiving data output, currently only
supports serial.
Step 5: after clicking confirmation, a channel list interface is popped out, and the
name of the channel you created is created, and the success is created.
Step 6: through serial port tools to open the serial port of two devices for analog
communication.
5. IOTBRIDGE ALARM FUNCTION
5.1. Set IOTBridge Parameters
When IOTBridge find device is off line, it will auto send mail to the mail address.
Example:
6. IOTBRIDGE CLOUD
IOT Bridge cloud is for customer to check device status in its account and used
for remote setting and data transfer with IOTService tools. The user guide is as
following.
Step 1: Open https://www.iotworkshop.com/
IOTService tool.
Note: Service ID can create more, while User ID is unique for an account.
Step 9 : Fill User Id into device, see user manual to enter Cli command mode.
Step 11 : The device will be shown in IOTBridge website.
This tool location is located in the IOTService folder under the IOTService
installation path for AppIOMain. Double-click to use.
The following describes the IO tool as a client, the device as a server and the port
number is 8899.
Step 1 : Open the IO control tool (located in IOTService folder under the path
named APPIOMain), and then click Settings -> then click on the connection
settings will pop up a window to set the connection.
Note: The above setting MAC address can not be set, this function has not been
realized.
Step 2: Click TCPClient and fill in the server IP and port number, and the choice of
the agreement, then click connect. Server address can be obtained through
iotservice tools.
Note: The choice of protocol is to choose according to the set communication
mode. In chapter 3 above, there are two kinds of communication modes that are
transparent transmission mode and the other one is modbus protocol to transmit
data. If the device is working under transparent transmission mode and the
protocol should select Modbus RTU. If the device is Modbus protocol to transfer
data, the protocol selection is Modbus TCP protocol.
Step 3: After the connection is successful, the following interface will appear. In the
interface, we can see DI count, DI input, AI input and control of the relay.
Step 4: After the connection between IO tool and device succeeds, the
corresponding AI and DI initial settings of the device can be customized according
to user requirements as shown in the following figure. Here you can set the
maximum and minimum AI , and can also set the formula to convert. DI's initial
value and unit time can also be set.
Step 5: When the connection is successful, a simple test can be performed. Click
the button in the following figure to control the relay. Corresponding indicators are
also displayed on the device. The picture below is the full click effect.
Step 6: DI test. Follow-up is just a test case, not as a practical application. Devices
DO1 and DO2 can be connected to DI6 and DI7, and then the DI6 and DI7 input
states can be checked by controlling relays RL1 and RL2. The result is shown below.
The digital inputs represent the various DI access states. DI has two cases of access,
dry contacts and wet contacts. Dry contact logic 0 is left floating, 1 is grounded.
Wet contact logic 0 indicates access 0 ~ 3V power supply, wet contact 1 means
access 5 ~ 40V power supply. The current value (Read Data) for the device access
and disconnect the number of times. The current value (Read Data is counted from
the initial value, the initial value can be set.
Step 7: The module comes with a 5V voltage, 5V voltage received AI 1, the test
results as shown below. AI data needs to be manually acquired, AI (1-4) is the
voltage value, AI (5-8) is the current value。
8. OTA UPGRADE
Step 1: Remote upgrade is using our IOTBridge cloud, download firmware from our
IOTBridge. Bound device to account as the previous steps.
Step 2: Login http: //bridge.iotworkshop.com/, upload firmware in IOTBridge.
Step 4: Copy the download link into the IOTService tools. And do upgrade operation.