Chengdu Ebyte Electronic Technology Co.,Ltd. E90-DTU(xxxSLxx-ETH)_V2.0 User Manual
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co.,Ltd.
43
5.9.4 Storage gateway
The storage gateway not only arbitrates bus data but also stores repeated read commands. When different hosts
request the same data, the gateway does not need to ask the RTU device register status several times, but directly
returns the cached data in the storage area, which greatly improves the gateway's multi-host request processing
capability and shortens the time consumed by the whole request process. Users can customize the command polling
interval and command storage time in the storage area according to their needs.
The storage type gateway, as an optimization of the performance of multi-host requests, also works only in
TCP server mode, improving the response speed on the network side.
Features:
(1) The gateway has a 3K cache for storage of instructions and return results (read 10 holding registers for
example, roughly 100 instructions and return results can be stored);
(2) RTU response timeout automatically empties the cache to ensure real-time data and authenticity;
(3) Polling interval can be customized, 0-65535ms (default: 500ms);
(4) the gateway will be used to configure the instruction storage time polling RTU equipment, MODBUS host
in the storage time is not again query the instruction, the gateway automatically delete the stored instructions to
release the cache;
(5) the first instruction and control instructions (05, 06, 0F, 10 function codes) will directly access the RTU
device;
(6) only support 01, 02, 03, 04 Modbus function code query result storage;
Storage type gateway configuration (left picture is the upper computer, right picture is the web page):
5.9.5 Configurable gateway
The gateway automatically polls the RTU device registers according to the pre-configured MODBUS commands