M100 Manual
M100 Manual
1
USR-M100-HM User Manual
Content
1. Introduction .............................................................................................................................................................................3
1.1. Overview ........................................................................................................................................................................ 3
1. Introduction
1.1. Overview
The USR-M100-HM is an intelligent IoT I/O gateway with comprehensive functions like on-board I/O support and
RS-485/232/Ethernet/4G interface, is an advanced modular RTU product with a unique hardware and software design, making
The USR-M100-HM has a unique mechanical design that reduces the amount of time required for installation and removal,
simplifying deployment and maintenance. In addition, the USR-M100-HM supports Modbus RTU Master protocol for
retrieving field site serial data from serial meters and also supports OT/IT protocol conversion.
With the ability to convert between multiple protocols, USR-M100-HM can convert the collected I/O and serial data to
protocols suitable for different upper-level software. For example, cloud service via MQTT, SCADA via Modbus TCP, web server
via HTTP, and more. This two-in-one design reduces system complexity, the amount of space required in the network topology,
and overall installation time. You can also connect your legacy devices to Ethernet, thereby increasing the lifetime of the
devices since you can continue using the devices’ original protocols.
1.2. Specification
USR-M100-HM Parameters
Input Voltage DC:9~36V
Power Power
Idle:200mA/12V,Max:400mA/12V
Consumption
1 * RS485 / RS232
Serial Port
1 * RS485
2 * Digital opto-isolated input
DI
High level: 9-36V, Low level: 0-2V.
Hardware
2 * DO
Interface
DC contacts rating @R(at resistive load)10A / 28V DC
DO
AC contacts rating @R(at resistive load)10A / 277V AC,NO
AC contacts rating @R(at resistive load)5A / 250V AC, NC
AI 2 * Analog input 4-20mA
Dimensions (W x
79.6 x 58 x 110 (mm)
H x D)
Weight <300g
Interface
Terminal, aperture 1.5mm (diameter)
Physical Spec Standard
Mounting
DIN rail, Wall mounting
options
Expansion
Slide Rail, Built-in Connector
Method
ESD IEC61000-4-2,Level 3,class B , Contact 6KV , AIR 8KV
Hardware
Surge IEC61000-4-5,Level 3,class B
Protection
EFT IEC61000-4-4,Level 3,class B
ON: Gateway is powered up
POW
OFF: Gateway is not power up
Indicator
WORK When the device is working properly, it blinks for 1s frequency
NET Blinking when the wan connects to internet
Europe,
Middle LTE FDD:B1/3/5/7/8/20/28
LTE Cat4 East, LTE TDD:B38/40/41
USR-M100-HM-EAU RT-Thread 300
+Ethernet Africa, WCDMA:B1/5/8
Southeast GSM/GPRS/EDGE:850/900/1800MHz
Asia
1.4. Features
High-performance CPU processing ability, up to 600MHz frequency
Provides remote serial access over the Internet for industrial serial devices
Baud rate: 0.6~230.4 Kbps, and any baud rate setting, support None, Odd, Even, Mark, Space Parity bit
Flexible serial port data framing packing, which can satisfy user’s various demands for data packets segmentation
Provides rich configuration access, including: Windows configuration tool, and Web Browser
High security via certificate verification SSL/TLS encryption for serial data transmission,TCPS,MQTTS
Support on board I/O for analog input(2 AI), digital input(2 DI), digital output(SSR relay,2 DO), expandable with I/O
modules
Support 2 RS485 serial port, the first one can also be RS232
Cloud support: MQTT via AWS IOT, Microsoft Azure, Thingsboard, Alibaba Cloud, EMQX, Tuya,Cumulocity IoT and so on
2. Get started
Since the USR-M100-HM is connected through a TCP/IP network, you may need to know some basic facts about networking in
2.1. Installation
You can choose whether to plug in the other peripheral ports at this point or do it later depending on the actual location of the
removal. In fact, screwdrivers and other tools are not required for any part of the hardware installation, including mounting the
device on a DIN-rail, as well as connecting the wiring for both communication and I/O signal acquisition. Furthermore, no
tools are required to remove the USR-M100-HM from a DIN-rail. Removing all of the modules from a DIN-rail is also easy
Position the rear panel of the device directly in front of the DIN-Rail, making sure that the top of the clip hooks over the
top of the DIN-Rail , as shown in Fig.1. Push up the the release tab towards the bottom of the DIN-Rail until the the
NOTE: Disconnect all connections, including Ethernet, serial, and power cables, from the device before removing the
Locate the installation site and place the device against the wall. Use the wall mount plates as a guide to mark the
Drill two holes over the 4 marked locations on the wall. Insert the wall sinks into the walls.
Insert the screws(M3 size) into the wall sinks then tighten the screw to enhance stability, see the following Fig.1.
The USR-M100-HM supports 2 serial ports, 1 RS232/485 and 1 RS485, and adopts Spring-type terminal. The serial port pin
assignments are shown in Fig.2. When connecting up Modbus devices via an RS485 network they should be daisy chained
together, and a dual twisted pair cable are recommended. The connections should be kept the same throughout the network:
positive to positive, and negative to negative. These may sometimes be labeled up as A and B. The maximum length of the
block are shown in table 1. The PIN assignments are also marked on the device’s nameplate, in order to avoid confusion.
Inputs
DI channels 2
Off: 0 to 2 VDC
Digital inputs
Dry contact On: close
Off: open
Range 9-36V DC
Quantity 2
Accuracy 1% FSR
Outputs
Quantity 2
Rating
switch that is wired to the COM pin of the DI port. An external DC power(9~36V) is supplied this external circuit via the wiring
of DI pin and the switch. The position of switch and power supply can be interchanged.
The right picture in Fig.3 shows an example of digital input (DI) wet contact in which the digital input channel.
–All DI channels should be configured to dry contact or wet contact in the same time
module.
Data points M100-HM / IO Start Register Function Attribute Data type Default
DI 3 IO Module
Link LED: green color. Lights(steady on) when the module is connected to a network.
Activity LED: orange color. Blinks when network data is transmitted through the port.
1 Send data+(TD+)
2 Send data-(TD-)
3 Receive data+(RD+)
6 Receive data-(RD-)
4,5,7,8 Unused
The USR-M100-HM can also connect to the Internet via 4G/3G/2G cellular network. It’s very convenient for users to run the
projects that there are not Ethernet networks. Using cellular network, the 4G antenna is needed and a sim card should be
installed in the slot. Push the side panel to the other side and you will see the SIM card slot. Open the slot, install the sim card
extension I/O modules and can be expanded to a maximum of 50 I/O ports. There are 5 different types of extension modules
M100-HM has a self-identification mechanism for the expansion module, which can quickly and automatically identify the
expansion module model that is accessed, and compare it with the pre-configured sequence of the expansion module by the
customer. If the sequence is wrong, the alarm can be given by the indicator light to prevent the application from being caused
Note: After the expansion machine is connected to the M100 host, the RS485 port of the expansion machine cannot be used.
Users can only collect and control the IO status of the expansion machine from M100 host.
2> Power on USR-M100-HM, and configure the parameters on preconfigured page, and then save settings and restart the
M100.
Number of DI 4 0 0 8 0
Number of AI 0 4 0 0 4
Number of DO 4 4 8 0 0
Number of AO 0 0 0 0 4
Capability of DO 3A 3A 3A / /
Support extendable √ √ √ √ √
The USR-M100-HM smart RTU provides LED indicators to monitor the device working status with a comprehensive simplified
up and running
off No network
The USR-M100-HM remote IO module comes with the following default settings.
Password admin
Gateway IP 192.168.0.1
MQTT Disable
Users can use Edge , Firefox or Google browser to access it. This chapter is a quick introduction to the USR-M100-HM smart IO
gateway. It is recommended that users read this chapter and follow the instructions once for the system, and you will have a
basic understanding of the product. For specific function details and instructions, please refer to the subsequent chapters.
https://www.pusr.com/support/downloads/H7-version-set-up-software.html
https://www.pusr.com/support/downloads/usr-tcp232-test-V13.html
You may find it in the download section under your product page. Run the software when the installation has been completed
It is strongly recommended for the users to set the Network Parameters through configuration tool first. Other device-specific
2.10.2.Hardware connection
For fast networking of USR-M100-HM smart RTU, you need to prepare a PC, a router, a network cable, a serial cable, and a
DC12V/1A power supply. The hardware connection is shown in Fig.10. To establish a TCP / IP network all devices must be
a solid red color. After the system is ready, the “WORK” LED will blink.
Connect one end of the Ethernet cable to the M100-HM’s 10/100M Ethernet port and the other end of the cable to the
Connect a serial data cable(USB to RS232 or RS485) between the USR-M100-HM and PC. Screwless push-in type
2.10.3.Network configuration(Step1)
The Broadcast Search function is used to locate all USR-M100-HM gateways that are connected to the same LAN as your
computer. Since the Broadcast Search function searches by MAC address and not IP address, all M100-HM connected to the
LAN will be located, regardless of whether or not they are part of the same subnet as the host.
Click Search to search for USR-M100-HM gateways. When your unit appears in the search results, you can click device to select
it and change the IP type to DHCH, save your change. Wait for 5s and search it again.
same network segment. After changing the IP address of the M100-HM gateway, you can access the Web page of the
M100-HM gateway through browser and perform related configuration operations on it. The user name and initial password
are both "admin".After entering the user name and password, click "OK" and the server will authenticate. After success, you
will enter the main page of the Web server, as shown in Fig.12.
gateway if you want to connect M100-HM to PC directly via a net cable. The default IP address of M100-HM IO gateway is:
192.168.0.7. Set the PC's IP address as: 192.168.0.X (X is any valid value from 2 to 253 except 7). The specific Windows system
operation page is shown in Fig.14. you can access the Web page of the USR-M100-HM gateway through browser as
mentioned above.
Fig. 13 IP setting of PC
Press the “Reload” button (inside a small hole) on the back panel for 3-15 seconds and then release or follow the procedure
in Section 3.1.9, to restore the USR-M100-HM gateway to the factory default settings.
http://h.usriot.com/index.php?c=frontTicket&m=sign for technical support if you need additional assistance. Please have the
– Product model
The USR-M100-HM’s user-friendly web configuration tool was designed specifically to make configuration and
Every USR-M100-HM Industrial IO gateway is equipped with a built-in web server in the firmware. Therefore, the device can be
accessed by using a web browser for configuring by entering the device’s IP address in the URL field of your web browser. An
authentication will be required and you will have to enter the username (Default value is “admin”) and password (Default
value is “admin”) for accessing the web interface as shown in Fig. 16. This approach (web interface) for configuring your
device is the most user-friendly. Please go to its corresponding section for a detailed explanation.
3.1.1. Status
After entering the correct user name and password and the authentication is successful, you will enter the main page of the
Fig. 15 Status
The function of the device status part is to display some specific information of the current device, including system, network,
System
Model name The name of the gateway, which can be customized by the user on the "Miscellaneous settings"
page.
Running time Total time after the device start work. It will starts from 0 after reboot.
OS Operating system.
Current network type Which interface to access the internet, default WAN interface, that is ethernet port.
Ethernet
LTE
ICCID If it’s blank, indicating that the USR-M100-HM can’t check the sim card or there’s not
Signal Value The larger the value, the better the signal.
your network environment. The IP address must be unique within the network. If the device is connected to the Internet and
should connect to other servers over the Internet to get some services such as Network Time Protocol (NTP) server, you will
need to configure the DNS server in order to be able to resolve the host name of the NTP server. The detailed description of
Users can choose the network method according to their needs in network priority webpage. The settings of cellular network
Network priorit EtherNET Only: Connect to the Internet via ethernet port(WAN). default setting.
y EtherNET: Prefer to use Ethernet port for networking. If Ethernet port is not available, switch to cellular net
work.
LTE Cat1: Prefer to use cellular network for networking. If cellular network is not available, switch to Ethern
et port.
IP obtaining Click the drop-down menu to select the IP Address Setting mode: Static or DHCP. If you choose DHCP, the
DNS type Click the drop-down menu to select the DNS mode: auto or manual. If you choose auto, the DNS options
IP address IP address is a 32-bit address assigned to devices connected to the Internet. The IP address consists of two
fields: the network number field (Net-id) and host number field (host-id). In order to facilitate the
management of IP addresses,IP addresses are divided into five categories: Class A, B, and C addresses are
unicast addresses, Class D addresses are multicast addresses, Class E addresses are reserved addresses for
future special purposes. The IP addresses currently in large numbers belong to three types of addresses: A,
B, and C.
Subnet mask The mask is a 32-bit number corresponding to an IP address. Some of these numbers are 1, and the others
are 0. The mask can divide the IP address into two parts: the subnet address and the host address. The part
of the IP address corresponding to the 1 bit in the mask is the subnet address, and the other bits are the
host address. The mask for class A addresses is 255.0.0.0, the mask for class B addresses is 255.255.0.0, the
Gateway The default gateway in the host is usually called the default route. The default route (Default route) is the
route chosen by the router when no other route exists for the destination address in the IP packet. All
packets whose destination is not in the router's routing table will use the default route.
DNS The IP address of the DNS server. DNS Server part is where you can specify the IP Address of your Preferred
DNS (Domain Name Server) and Alternate DNS. When the device uses a static IP address, the user is
required to fill in this item, 8.8.8.8(Google) will be a good choice. If a specific DNS server is not used, the
LTE Cat1 APN Name: A string that identifies a particular service in the cellular network usually provided by operator.
DNS: “Auto” means obtaining the DNS server from operator’s base station. “Manual” means the DNS
server is user-defined.
The configuration will save to flash memory after clicking Save button. All configurations take effect after a system reboot.
the gateway is to carry out two-way transparent transmission of standard serial bus data (RS-232, RS-485) and standard
Ethernet data supporting TCP/IP protocol to solve common serial equipment Networking problems on the Internet. The Port
configuration page can configure the parameters of the serial port and socket, as shown in Fig.19. Details on work mode
connectivity protocols and its settings of USR-M100-HM gateway are given in Chapter 4 Operation modes, this section will
only focus on the part of parameter description. The description of the configuration parameters on this interface is shown in
Baud rate This sets the port’s data transfer speed. Choices are from 600—230400. Set this to match the baud
Data bits This sets the number of bits used to transmit one character of data. Choices are: 7 and 8. Set this to
match the data bit setting of the connected device. Default is 8 (which is the default for the majority
of serial devices).
Parity bits This bit checks the integrity of the transmitted data. Choices are: None, Odd, Even, Space, Mark. Set
this to match the parity setting of the connected device. Default is None (which is the default for the
Stop bits This indicates that a character has been transmitted. Set this to match the stop bit setting of the
connected device. Choices are: 1 and 2. Default is 1 (which is the default for the majority of serial
devices).
The configuration will save to flash memory after clicking Save button. All configurations take effect after a system reboot.
For socket function, the device supports two working modes: TCP Client and TCP Server. And the device support two
socket connections, each of which is configured and communicated independently. At the same time, each channel supports
the independent network cache function. SSL encryption is valid for TCP client mode.
Working mode USR-M100-HM gateway supports 2 different operation Modes which are TCP Server, TCP Client.
The operation Mode describes the role of the device and the connection between the device and
other remote devices in the network which would like to communicate with serial device on
Maximum socket This option specifies the maximum number of remote devices/clients (with maximum of 16 clients)
Local port This option specifies the port number that the TCP server should listen to. It is also used by the
remote TCP client to connect to the TCP server. The default local port is 20108. You can enter
Remoter server addr. Please specify the IP address of the TCP server program on the remote host in this field. This should
Remote port Please specify the port number of the TCP server program on the remote host in this field. Once
again, this should match the IP setting of the TCP server program.
Re-connection Interval If TCP client doesn’t connect to TCP server, the device will connect in reconnection interval. The
The configuration will save to flash memory after clicking Save button. All configurations take effect after a system reboot.
Client mode, you can setup MQTT broker basic settings, TLS secure transmission, last will message.
MQTT Version Select the mqtt protocol version. V3.1 and V3.1.1 are supported.
The IDs of the various MQTT clients have to be unique for the respective MQTT Broker. If two
MQTT clients are using an identical ID, the connections of theses clients to the MQTT Broker are
disconnected. For an individual client, there is no way to find out whether a specific client ID is
Keep alive The Keep Alive is a time interval measured in seconds. It is the maximum time interval that the
broker permits between when a client finishes sending one MQTT packet and starts to send the
next.
Clean session Valid only for Qos1 and Qos2. When the clean session is checked, the client does not want a
persistent session. If the client disconnects for any reason, all information and messages that are
When the clean session is unchecked, the broker creates a persistent session for the client. All
information and messages are preserved until the next time that the client requests a clean
session.
Last will The last will message is part of the Last Will and Testament (LWT) feature of MQTT. The will
Offline cache Whether to enable the offline cache function, the default is off.
SSL/TLS If you use a TLS connection, click the SSL/TLS tab, select Enable SSL/TLS, and then set
Transmission mode Transparent transmission, just as its name implies,the gateway does not process any data,
Topic distribution,in this mode users should define a topic name when configuring the topic.
After receiving serial port data, the device pushes it to the associated topics based on the topic
name. Topic name and payload are separated by comma. For example, topic name, {"message":
"Hello from USR-M100-HM gateway"} as serial data. Different topics are allowed to have the
same topic name. In this way, data is pushed to all topics with the same topic name.
Custom mode, add topic, Qos(0,1,2), retain(ON,OFF) message before payload. After receiving the
serial data, USR-M100-HM publishes the payload of the corresponding topic to cloud according
to rules. This method can be used to publish any topic at any time. For example,
awsiot/test,0,ON,{"message": "Hello
TOPIC string An MQTT topic is a UTF-8 string that the broker uses to filter messages for each connected client.
To receive messages, the client must subscribe to the topic. A topic can have one or more topic
Binding Port The MQTT topic is bound to the serial port number of the device. Any data from the COM Port1
Qos QoS 0: at most once. In this case, the client publishes a message to the broker only once.
QoS 1: at least once. In this case, when a client publishes a message to the broker, the client
expects the broker to acknowledge whether or not a client has received the message. If the
publisher does not receive acknowledgement from the broker within a preset time interval, it will
QoS 2: exactly once. The MQTT protocol uses the confirmation of confirmations to ensure that a
Retained message By setting the Retain flag the MQTT Broker is instructed to save the most recent data value for the
topic. Data values without Retain flag are only transferred from the MQTT Broker to those MQTT
Subscribers that are registered at the broker and have subscribed to the appropriate topic in the
Transmission mode The data printed to the serial port can be set whether to carry the Topic
Users can achieve remote management of the USR-M100-HM through PUSR cloud. And for PUSR cloud, users can deploy
3.1.7. IO gateway
USR-M100-HM gateway can support a number of Digital Input (DI), Digital Output (DO-Relays ), Analog Input (AI) ports. There
are a few combinations of I/O extension board. Because the I/O status of M100-HM is mainly displayed via Modbus protocol,
the user has to configure the Modbus settings if the user wants to use the Modbus protocol. Fig.29 shows the parameter that
must be set for the Modbus protocol that is the Modbus Slave ID.
On pre-configured page, user can select the extend module model based on the installation sequence.
On IO control page, users can check the I/O status and can control the ON/OFF status of DO interface.
On IO function page, users can set the filter time of DI interface and set the soft restart hold function of DO interface.
Fig. 21 IO control
Fig. 22 IO function
Table 14 IO function
Restart Hold Whether the DO output status remains after the restart
DI filter time By setting the filtering time, the device will automatically filter the waveform jitter of the DI
The filter time defaults to 10ms, and the setting range supports 10~65535ms.
MQTT/TCP in socket, AWS IOT, and Alibaba Cloud IoT Platform. The M100-HM gateway fulfills a different role on each of its
sides. Each role is determined by your devices' settings. Therefore, set the role of each of your devices correctly.
Device name Name of slave device, which is unique for the current gateway.
Modbus RTU: the slave device supports Modbus RTU, and send query command in Modbus RTU.
Modubs TCP:the slave device supports Modbus TCP, and send query command in Modbus TCP.
DLT645/2007:the slave device supports DLT645/2007, and send query command in DLT645/2007.
Modbus RTU protocol Uart: Select the serial port to which the Modbus slave device is connected.
Merge acquisition: This function is used when the register address of many data points are
sequential.
Modbus TCP protocol Remote Server Addr: the IP address of the Modbus slave device
Merge acquisition: This function is used when the register address of many data points are
sequential.
DLT645/2007 protocol Uart: Select the serial port to which the DLT645/2007 slave device is connected.
Data point name Identifier of the data point, which must be unique for the gateway.
Modbus function code The Modbus RTU master supports the following Modbus functions: 1 Read Coils, 2 Read Discrete
Register address The first blank is for function code, and the second blank is the address of the register from which
Decimal places How many places do we keep after the decimal point
Timeout If the Modbus device does not receive a response within the time specified here, the
Collect formula Modbus register store only whole numbers. For this reason a scale factor often needs to be
applied. For example a modbus register with a temperature value may read as 723 and a
multiplier of 0.1 need to be applied to get the correct value of 72.3 in the SCADA system,the
formula is %s*0.1. If the data type is a Float then the multiplier is not needed. This computation
The report is triggered if the collected data changes. You can use a tolerance to only log the data
Range The report is triggered if the collected data changes. You can use a tolerance to only log the data
Report Topic Whether data query from remote server or cloud is enable.
QOS Whether data setting command from remote server or cloud is enable.
Retain Message You can choose Modbus RTU, Modbus TCP or JSON. Users can send the right format query
command from remote modbus master or MQTT publisher to the M100-HM gateway. The data is
Period Report Data is automatically reported at a certain interval. The reporting interval can be configured.
Timer Report In the 24-hour system, the NTP function need be enabled first to correct the device clock. Four
Report at the fixed time: Reporting data at a fixed time every day, For example, if you select 12:05,
Report Data Format Primate type: Reporting data to server by the original format.
To string: Convert the collected data to string format to reporting to the server.
Error Fill After data points fail to be collected, the value in the data template is replaced with the filling
Error Message The payload format. Users can custom which data points should report to the server.
This setting tab includes several system level settings, such as host name, user name, password, web port, parameter export
User name The user name of web console and can be modified. up to 16 characters,can’t be NULL
Password The password of web console and can be modified. up to 16 characters,can’t be NULL
Param Export Export the configured parameters and users can import the file to the other device directly.
The configuration will save to flash memory after clicking Save button. All configurations take effect after a system reboot.
System time
Device management
A. Firmware upgrade
USR IoT continually upgrades its firmware to add new features and optimize performance. Please contact the sales to obtain
the latest version of the firmware. Before upgrading the firmware, please make sure that the device has a reliable power source
that will not be powered off or restarted during the firmware upgrading process(please be patient as this whole process might
Before the gateway restarts successfully, the device does not work and cannot forward any data packets. This function is to
restore the factory default configuration value once the user sets the wrong parameter and causes the gateway to work
abnormally. Click the "Restore factory defaults" button, and a prompt box will pop up on the page. Click "OK".
C. Restart
This function is used to restart the gateway by software. Before the gateway is completely restarted, the device does not work
and cannot forward any data packets. This restart is different from the hardware reset of power-on restart, but the gateway
system software is reset, just like the "warm restart" of the windows operating system. Once a new setting is changed, you can
use the Save function to accept the changes. You will need to reset the device to save the settings to flash memory. Click on
D. Time restart
After opening this function, the device will restart at the preset time.
The USR-M100-HM supports external SD card to restore the collected data when the Internet connection is disconnected.
When the SD card is not inserted, the webpage will give the status.
When inserting the SD card, the web page will identify and display.
the device can be accessed via broadcast packets. Users can search all the USR-M100-HM gateways on the network and show
them on the Deivce List Area of the utility. Please select the right Ethernet adapter(Device menu) if you did not see any
gateway.
Fig. 29 Searching
Sometime the USR-M100-HM gateway might not be in the same subnet as your PC, therefore, you will have to use this utility
to locate it in your environment. To configure each device, first click to select the desired device (default IP:192.168.0.7) in the
list of configuration utility, and then change the IP address to avoid any IP address conflict with other hosts on your LAN, save
your change.
The function also allows the gateway to save new configuration settings to flash memory. To reset the device:
2. Select Reboot.
Press the Reboot button and the system will give a reset response.
The configuration utility provides the function to restore the gateway to factory default settings. If you really want to restore
the gateway to factory default settings, please click restore factory button to continue. As shown in Fig.34.
click,then click External web config ,you will open the web server with default browser such as Google Chrome. As shown in
Fig.34.
4. Edge Gateway
The USR-M100-HM supports Modbus RTU Master for retrieving field site data from serial meters. After collecting data, users
can convert serial data to MQTT json format data, allowing users to get field site data. This two-in-one design reduces system
complexity and the amount of space required in the network topology, as well as overall installation time. In addition, you can
extend the useful life of legacy devices by connecting them to Ethernet and accessing the devices using a preferred
acquisition tab.
Click add slave to add a device, click edit to configure the device.
If reporting the data via socket A, users need to configure the socket A parameters first.
In this document, we use Modbus Slave software to replacement the real Modbus Slave device to do the test. From the
TCP server side, we can notice that the data interval is 15s, it’s keep the same that we set in the adding group page.
Now let’s add event to check how the linkage control working. Add the event first, in this doc, the configuration is like the
following.
When the data of node0101 changed, and the data is greater than 18(the lower threshold), the DO1 status changed, users can
The protocol conversion function is mainly applied in the scenario where the server actively sends protocol commands to
After the M100 is connected to the server through the link of protocol conversion, the server issues standard protocol
commands to realize the collection and control of all point data of the M100. Current protocol conversion including 2 protocol
Parameters of socket B:
When sending query command from the server should in specific format. The query/control
{"rw_prot": {"Ver": "protocol version","dir": "transmission direction","id": "id","r_data": [{"name": "name of data points"],"w_dat
Key-value Description
rw_prot Protocol header
ver Protocol version, fixed value: 1.0.1
Data transmission direction
In query/control command, the option should be down.
dir
Means transmit data from network to serial device,
“down” must be lowercase.
User defined parameter. The id is same in query/control and response
data.
id Sometimes, the query/control data is high frequency, the response data
may be disordered. The program in network can confirm the relevant
response data by the id.
r_data The data load for querying data
w_data The data load for controlling data
name The name of data points
Means the data need to be sent to the data points.
value
In query data, this key-value can be ignored.
The response data contents are the following format:
{"rw_prot": {"Ver": "protocol version","dir": "transmission direction","id": "id","r_data": [{"name": "name of data points","value":
"data","err": "error code"}],"w_data": [{"name": "name of data points","value": "data","err": "error code"}]}
Key-value Description
rw_prot Protocol header
ver Protocol version,fixed value: 1.0.1
Data transmission direction
In response data, the option should be up.
dir
Means transmit data from serial device to network,
“up” must be lowercase.
User defined parameter. The id is same in query/control and response data.
Sometimes, the query/control data is high frequency, the response data may be
id
disordered. The program in network can confirm the relevant response data by
the id.
r_data The data load for querying data
w_data The data load for controlling data
name The name of data points.
value The valid data of the data points
Error code,
err 0: The command can be operated by the USR-M100,
1: The command can’t be operated by the USR-M100.
To read the value of node0101 and the Humidity, we can send data like the following:
{"rw_prot":
{"Ver": "1.0.1",
"dir": "down",
"id": "12345",
To write the value of node0101 and the Humidity, we can send data like the following:
{"rw_prot":
{"Ver": "1.0.1",
"dir": "down",
"id": "12345",
The USR-M100 will response data conforming to the error protocol if the ver/dir/id is not right,
The USR-M100 will response data conforming to the error protocol if the contents of r_data and w_data are both
wrong,
the USR-M100 will response data of the right one if only one of the r_data and w_data is wrong.
Tips:
1. If the query command is incorrect, the value of the read command reply is empty, and the value of the write command
2. The maximum read and write operation is 127 data points at the same time.
6. Warranty
7. Contact Us
Jinan USR IOT Technology Limited
Address : Floor 12 and 13, CEIBS Alumni Industrial Building, No. 3 Road of Maolingshan, Lixia District, Jinan, Shandong,
China
Official website:https://www.pusr.com
Official shop:https://shop.usriot.com
Email : [email protected]
Tel : +86-531-88826739
Fax : +86-531-88826739-808
8. Disclaimer
The information in this document provided in connection with Jinan USR IoT technology ltd. and/or its affiliates’products.
No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in
connection with the sale of USR IoT products. EXCEPT AS SET FORTH IN THE TERMS AND CONDITIONS AS SPECIFIED IN THE
LICENSE AGREEMENT FOR THIS PRODUCT, USR IoT AND/OR ITS AFFILIATES ASSUME NO LIABILITY WHATSOEVER AND
DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON‐INFRINGEMENT. IN NO
EVENT SHALL USR IoT AND/OR ITS AFFILIATES BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL
OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION
OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF USR IoT AND/OR ITS
AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USR IoT and/or its affiliates make no
representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the
right to make changes to specifications and product descriptions at any time without notice. USR IoT and/or its affiliates do
not make any commitment to update the information contained in this document.
9. Revision History
Version Date Author Description
table