Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual page 118

Controller module
Hide thumbs Also See for MELSEC iQ-R C R12CCPU-V:
Table of Contents

Advertisement

■Timeout
When the line is disconnected during Telnet connection, it will take 30 seconds before Telnet connection (TCP) times out on
the C Controller module side. Telnet cannot be reconnected until it times out.
Timeout time can be changed by the command provided by VxWorks.
ipcom_sysvar_set("iptcp.KeepIdle", "XX", 1);
ipcom_sysvar_set("iptcp.KeepIntvl", "YY", 1);
ipcom_sysvar_set("iptcp.KeepCnt", "ZZ", 1);
ipcom_ipd_kill ("iptelnets");
ipcom_ipd_start ("iptelnets");
Timeout time = iptcp.KeepIdle value + (iptcp.KeepIntvl value × iptcp.KeepCnt value)
• iptcp.KeepIdle: Interval from line disconnection to the first retry
• iptcp.KeepIntvl: Interval between retries
• iptcp.KeepCnt: Number of retries
• XX, YY: Specify the time (in seconds). (When '0' is specified, no timeout will occur.)
• ZZ: Specify the number of retries.
The following shows the procedure to change the timeout time of a C Controller module in operation.
1.
Establish a Telnet connection to a C Controller module with a Telnet tool.
2.
Execute the commands above from the shell command of the Telnet tool to change the timeout value.
3.
Reboot the Telnet server.
4.
Close (disconnect) the Telnet connection.
5.
Establish a Telnet connection to a C Controller module with a Telnet tool again.
When changing the timeout time at the startup of a C Controller module, follow the procedure shown below.
1.
Describe the commands above in the script file (STARTUP.CMD).
2.
Turn the power of the C Controller module ON.
6 Ethernet COMMUNICATION FUNCTIONS
116
6.5 Telnet Function

Advertisement

Table of Contents
loading

Table of Contents