background image

                                                  USR-M511User Manual                                Technical Support: 

h.usriot.com

   

 

Jinan USR IOT Technology Limited                                                                                                                                     

www.usriot.com

 

 

11

 

2.2.2. Serial Package Methods 

For network speed is faster than serial. Module will put serial data in buffer before sending it to network. The data 
will be sent to Network as Package. There are 2 ways to end the package and send package to network  - Time 
Trigger Mode and Length Trigger Mode.

   

 

 

Time Trigger Mode: Default package time is 4 bytes sending interval and use can set between 0~65535. 

 

Length Trigger Mode: Default package length is 1460 and user can set between 0~1460. 

2.2.3. Baud Rate Synchronization 

When  module  works  with  USR  devices  or  software,  serial  parameter  will  change  dynamically  according  to 
network  protocol.  Customer  can  modify  serial  parameter  by  sending  data  conformed  to  specific  protocol  via 
network. It is temporary, when restart DTU, the parameters back to original parameters.   

2.3.Modbus protocol transmission 

Work  mode:  Modbus_RTU_Master,  Modbus_ASCII_Master,  Modbus_RTU_Slave,  Modbus_ASCII_  Slave.  Work  mode 
can be defined according to the serial port device of M511 and Modbus protocol. For example, serial port device is 
Modbus Master and Modbus protocol is ASCII protocol, work mode is Modbus_ASCII_Master.

 

2.3.1.Modbus Master 

Modbus Master mode means serial port device connected to M511 is Modbus Master. 
 
1.  M511  work  in  Modbus  Master  mode  allow  at  most  32  Modbus  Masters  connect  through  RS485/RS422  to 
achieve RS485/RS422 multiple Masters Polling function. But speed of RS485/RS422 interface will be a little slow 
because of the limitation of RS485/RS422 baud rate. 
2. When M511 work in Modbus Master mode can query information of different Modbus slaves by sending query 
command with ID of specific Modbus slave. M511 allow at most 8 target server.   
3. Modbus work in Modbus Master mode can apply to four applications: One Master to one Slave; one Master to 
multiple Slaves; multiple Masters to one Slave; multiple Masters to multiple Slaves. 
 
Application diagram as follows: 

 

Figure 12 One Master to one Slave 

User can change Modbus Master mode parameters by web server as follow: 

Summary of Contents for USR-M511

Page 1: ...USR M511User Manual Technical Support h usriot com Jinan USR IOT Technology Limited 1 USR M511 User Manual File Version V1 0 4 01...

Page 2: ...lt settings 9 2 1 3 Upgrade Firmware Version 9 2 2 Serial port 10 2 2 1 Serial Port Basic Parameter 10 2 2 2 Serial Package Methods 11 2 2 3 Baud Rate Synchronization 11 2 3 Modbus protocol transmissi...

Page 3: ...I_Slave work modes Support Modbus Master Prefetch function Support 8 Modbus Slave automatic query by commands Support Modbus web server management function 10 100Mbps Ethernet interface support Auto M...

Page 4: ...ted www usriot com 4 1 Get Start Product link http www usriot com p industrial modbus gateway modbus rtuascii modbus tcp Figure 1 Download Page If you have any question please submit it back to custom...

Page 5: ...USR M511User Manual Technical Support h usriot com Jinan USR IOT Technology Limited www usriot com 5 1 2 Hardware Design 1 2 1 Hardware Dimensions Figure 3 Hardware dimensions...

Page 6: ...Off Not working TX On Sending data to serial Off No data sending to serial RX On Receiving data from serial Off No data receiving from serial Figure 4 Hardware Indicator 1 2 3 DB9 Pin definition Pin N...

Page 7: ...USR M511User Manual Technical Support h usriot com Jinan USR IOT Technology Limited www usriot com 7 Type 1 2 3 4 5 RS232 TX RX GND RS485 A B GND RS422 T T R R GND Figure 6 DB9 pinboard...

Page 8: ...ically querying by commands on network side Sending read write commands 1 1 1 Protocol Conversion 1 1 1 Identity packet USR Cloud 1 Modbus storing and dispatching 1 Modbus Slave status dispalying Figu...

Page 9: ...IP DHCP 2 1 2 Hardware Restore default settings User can press Reload over 5s and less than 15s then release to restore default settings 2 1 3 Upgrade Firmware Version User can contact to salespersons...

Page 10: ...parameters as follow Parameter Default Range Baud rate 115200 600 230400bps Data bits 8 5 8 Parity None None Odd Even Mark Space Stop bits 1 1 2 Flow control None None No flow control HardWare Hardwa...

Page 11: ...us_RTU_Master Modbus_ASCII_Master Modbus_RTU_Slave Modbus_ASCII_ Slave Work mode can be defined according to the serial port device of M511 and Modbus protocol For example serial port device is Modbus...

Page 12: ...so querying command with ID 2 will be send to this slave G Enable SocketB Enable socket B to set salve 2 parameters H Timeout Reconnection No data transmission over this time M511 will automatically d...

Page 13: ...can change Modbus Slave mode parameters by web server as follow Figure 15 Modbus Slave mode configuration A Work mode Four types work modes B Enable Modbus Over TCP IP Open this function M511 will wo...

Page 14: ...o user need use browser which can support Websocket as follow Browser Version Chrome Version 4 Firefox Version 4 Internet Explorer Version 10 Opera Version 10 Safari Version 5 Figure 16 Browser versio...

Page 15: ...ta value without refreshing 2 4 2 Modbus data management M511 support Modbus data management function to query Slave information through Modbus Management web page When user open Modbus data managemen...

Page 16: ...Features 2 5 1 Network Identity Packet Function M511 work in Modbus Master mode can send identity packet to Slave Identity packet can be user editable data or MAC address Identity packet will be sent...

Page 17: ...rt and enter web server to configure Web server default parameters as follow Parameter Default settings Web server IP address 192 168 0 7 User name admin Password admin Figure 21 Web server default pa...

Page 18: ...d AT command to module For entering AT command mode please refer to this FAQ http www usriot com enter serial command mode 3 2 2 Network AT Command Network AT command is to send a search keyword by br...

Page 19: ...mation of USR M511 products it hasn t been granted any intellectual property license by forbidding speak or other ways either explicitly or implicitly Except the duty declared in sales terms and condi...

Reviews: