4
FUNCTIONS
4
- 51
4.15 Telnet Function
[Calculation for the Q06CCPU-V(-B)]
The timeout time is determined by the following calculation formula.
Timeout time =
tcp_keepidle + ( tcp_keepintvl
Initial value: 15000 (4 hours and 10 minutes)
tcp_keepidle:
Time elapsed from line disconnection to the first retry (s)
Initial value: 14400
tcp_keepintvl: Retry interval (in 0.5s units)
Initial value: 150
tcp_keepcnt:
Number of retries
Initial value: 8
[Setting methods for the Q06CCPU-V(-B)]
The following explains how to set the initial value of 4 hours and 10 minutes.
• Setting it while the C Controller module is in operation
1) Connect the line to the C Controller module with the Telnet tool.
2) Set the following three external variables with the Telnet tool to change
the timeout time to the initial value.
tcp_keepidle = 14400
tcp_keepintvl = 150
tcp_keepcnt = 8
3) Close the Telnet connection.
• Setting it when the C Controller module is started
1) Describe the following three external variable settings on the script file,
"STARTUP.CMD".
tcp_keepidle = 14400
tcp_keepintvl = 150
tcp_keepcnt = 8
2) Write the above script file, "STARTUP.CMD" to a CompactFlash card,
and insert it into the C Controller module.
3) Upon start of the C Controller module, the timeout time is set to the
initial value.
(b) The number of Telnet tools connectable at the same time
Telnet tool must be connected to the C Controller module on a one-to-one basis.
Connections from multiple Telnet tools to the same C Controller module is not
allowed.
When changing the Telnet tool with another, first close the connection with the
currently used Telnet tool, and then connect the line to the C Controller module
from another Telnet tool.
2
tcp_keepcnt ) [s]