Chapter 8 Logic Instructions 
8-199 
Timing for changing to TRUE  Timing for changing to FALSE 
 When the MODBUS TCP data 
exchange is restored to normal.   
Error 
 When an error occurs in the instruction 
execution. 
 When Enable changes from TRUE to 
FALSE. 
 When the correct parameter value is 
  Output Update Timing Chart 
Enable
Valid
ETH_Error
ETH_ErrorID
Case1
Case2 Case3
Error
ErrorID
 
 
Case 1  When Enable changes to TRUE, Valid changes to TRUE. When Enable changes to FALSE, 
Valid changes to FALSE. 
Case 2  When an error occurs while  Enable  is TRUE, Error  changes to TRUE and  ErrorID  shows 
corresponding error code. Error changes to FALSE and the value in ErrorID changes to 0 when 
Enable changes to FALSE. 
Case 3  When Enable changes to TRUE, Valid changes to TRUE. ETH_Error changes to TRUE and 
ETH_ErrorID shows corresponding error code when the MODBUS TCP data sending fails or 
timeout occurs during the instruction execution. When Enable changes to FALSE, ETH_Error 
changes to FALSE and ETH_ErrorID shows corresponding error code. 
  Function 
ETH_Link_Status is used for watching if an error occurs in the corresponding MODBUS TCP link or the 
slave replies with error codes. The firmware of V1.01 and above supports the function. 
 
101 
The TCP link is disabled.   
1.  Check if the Ethernet connection is 
normal. 
2.  Re-execute ETH_Link_Manage 
instruction to enable the MODBUS 
TCP data exchange. 
102 
TCP link timeout 
1.  Check if the Ethernet connection is 
normal. 
2.  Check if the settings for the 
parameters of ETH_Link_Config 
instruction are correct.