1665 views|0 replies

391

Posts

0

Resources
The OP
 

IoT wireless communication data transmission module: multi-host gateway working mode, understand it in one article [Copy link]

The multi-host gateway can only work in TCP server mode and can process multiple Modbus TCP host requests at the same time. When a host request is not completed, the serial port server receives other host requests. At this time, the serial port server will arbitrate output on the RS485 bus (in layman's terms, it blocks subsequent instructions).

Simulation software demonstration (for comparison with the storage gateway, another debugging tool, MThings' Modbus debugging tool, is used):

Use Modbus Slave to simulate the slave and emulate 10 holding registers;

Add 4 network hosts;

Configure serial server parameters, serial server IP and port;

Select the simulated host, a total of 4 channels are simulated;

Use custom sending, 030000000A software automatically configures Modbus address, sends periodically in 200ms, and uses the same sending rules for four channels;

When the slave responds correctly and the host request rate is not high, the efficiency and real-time performance of this mode are good. If the slave response times out, it will also affect the host requests that have not been sent in the host cache. Since the Ethernet transmission rate is much higher than the serial port transmission rate, if the host requests frequently and the slave response delay is large, it will cause the gateway cache to overflow, resulting in a host response timeout.

This post is from Test/Measurement
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list