Tiny Serial Port Sharer
Copyright © 2018 ICP DAS CO., Ltd. All Rights Reserved.
-45 -
Appendix B: Application Note
How to set the Timeout Value?
Brief formula:
A =
Max. Response time of all Slave devices
B = A + 100 =
Slave Timeout value in tSH-700
C1 = B + 100 =
Response Timeout value in Master program (Apply in 1 Master to 1 Slave)
C2 = B + B =
Response Timeout value in Master program (Apply in 2 Masters to 1 Slave)
1.
Take the PM-3112-100 as example, Wiring PC COM to PM-3112-100 directly to measure value.
Use
MODBUS RTU program
to measure the response time of PM-3112-100.
The MAX value is 172 ms.
(A = 172)