FREE $30.00 Visa Gift Card with CODE: VISA for registered customer's FIRST-TIME purchase.

Cage/NCage Code 3FNF0

Orders ship within a week!

  • Connect with us on LinkedIn Subscribe to our YouTube channel Follow us on Twitter Follow us on Facebook Follow us on Instagram

How do I adjust the tGW-715i’s timeout settings for slow Modbus devices?

The gateway provides several timing parameters on its Port1 configuration page. These control how long the module waits for a response, identifies serial message boundaries, and manages requests waiting to use the serial port.

Parameter
Default
Purpose
Slave Timeout

300 ms

Maximum wait for the serial slave’s response before a timeout is reported.

Character Timeout

4 bytes

Helps determine when a serial response has finished arriving.

Silent Time

0 ms

Adds idle time before the next serial request is sent.

Queue Timeout

1,000 ms

Limits how long a request can wait in the Modbus TCP request queue.

Recommended Troubleshooting Procedure

  1. Confirm that the serial wiring and communication parameters are correct.
  2. Identify the parameter most likely to cause the observed issue.
  3. If the slave responds slowly, increase Slave Timeout incrementally.
  4. Ensure that the client application’s response timeout is longer than the gateway’s Slave Timeout.
  5. If a device needs extra processing time between requests, try a modest Silent Time value.
  6. Test the connection again and change one parameter at a time.

Character Timeout should be adjusted only when response framing or timing measurements indicate a need.

Queue Timeout is relevant when multiple masters or requests compete for access to the serial bus.

Troubleshooting Tip: Increasing every timeout is not necessarily the best solution. First determine whether the issue is a genuinely slow device, incorrect serial framing, a wiring problem, or excessive traffic.

Tags
Social Share
    The current post does not belong to any category.
    No categories found
Enable Notifications OK No thanks