9. Program
39
9.3.2. Time Monitoring Function
This section explains the time monitoring function of this program.
You can change the monitoring time settings by changing the variables of the
ParameterSet function block.
●
Time monitoring function of the communication instruction processing
To avoid errors that keep a communications process executing without a stop, the timer in
this program is used to abort the processing (timeout). The timeout value for each
processing from the connect processing to the close processing is 5 seconds.
[Monitoring time of the communications instruction processing]
Processing Monitoring
Variable name
Timeout
time
Connect
processing
Time from the start to the end of the
processing
TopenTime
5 seconds
(UINT#500)
Send
processing
Time from the start to the end of the
processing
TfsTime
5 seconds
(UINT#500)
Receive
processing
Time from the start to the end of the
processing
(for each receive processing)
TfrTime
5 seconds
(UINT#500)
Close
processing
Time from the start of the processing until
the TCP socket enters the close status.
TcloseTime
5 seconds
(UINT#500)
●
Receive waiting function for divided packets/multiple response data
To repeat the receive processing, this function enables waiting for multiple responses that
arrive continuously or the receive data that is divided. If the next response does not arrive
from the destination device within the maximum waiting time, it is detected that the receive
processing ended.
[Receive waiting time]
Processing
Monitoring
Variable name
Maximum waiting time
Receive wait
Interval to receive data
TrTime
300 ms (UINT#3)
●
Resend/time monitoring function of TCP/IP
When a communication problem occurs, TCP/IP automatically resends the data and
monitors the processing time if there is no error in the Controller. If the processing ends in
an error, this program performs the close processing and stops the TCP/IP resend/time
monitoring function.
*If a TCP connection status error occurs at the close processing, the TCP/IP resend/time
monitoring function may be still operating. For information on the situation and corrective
actions, refer to
9.7.2. TCP Connection Status Error and Corrective Actions
.
Summary of Contents for V750 series
Page 51: ...9 Program 2 Initialization processing 48...
Page 52: ...9 Program 49...
Page 53: ...9 Program 3 Connect processing 50...
Page 54: ...9 Program 4 Send processing 51...
Page 55: ...9 Program 5 Receive processing 52...
Page 56: ...9 Program 53...
Page 57: ...9 Program 6 Close processing 54...
Page 58: ...9 Program 7 Processing number error process 55...
Page 60: ...9 Program Program 57...
Page 62: ...9 Program Program 59...
Page 64: ...9 Program Program 61...
Page 78: ...2013 0911 P543 E1 01...