Chapter 8 Logic Instructions
8-211
Output Update Timing Chart
Enable
EnableSocket
Valid
SocketReady
Case1
PhysicalLinkError
Case2 Case3
Case4 Case5
Case 1 When Enable changes from FALSE to TRUE, Valid changes to TRUE. When EnableSocket
changes from FALSE to TRUE, SocketReady changes to TRUE. When EnableSocket changes
from TRUE to FALSE, SocketReady changes FALSE. When Enable changes from TRUE to
FALSE, Valid changes to FALSE.
Case 2 When Enable is FALSE and EnableSocket changes TRUE, the outputs of the instruction keep
unchanged. When Enable changes from FALSE to TRUE, Valid and SocketReady both change
to TRUE. When EnableSocket changes to FALSE, SocketReady changes to FALSE. When
Enable changes from TRUE to FALSE, Valid changes to FALSE.
Case 3 When Enable changes to TRUE, Valid changes to TRUE. When EnableSocket changes from
FALSE to TRUE, SocketReady changes to TRUE. When Enable changes from TRUE to FALSE,
Valid and SocketReady both change to FALSE. After that, changing EnableSocket from TRUE
to FALSE will not affect the output of the instruction.
Case 4 When Enable changes from FALSE to TRUE, Valid changes to TRUE. If there is a problem with
15MC’s LAN2 port connection at the moment, PhysicalLinkError will change to TRUE as Enable
changes to TRUE. As EnableSocket changes to TRUE, SocketReady changes to TRUE and
the state of PhysicalLinkError will keep unchanged. As EnableSocket changes from TRUE to
FALSE, SocketReady changes to FALSE. As Enable changes from TRUE to FALSE, Valid and
PhysicalLinkError both change to FALSE.
Case 5 If the connection to LAN2 port of the controller is disconnected during the instruction execution,
PhysicalLinkError changes to TRUE and meanwhile the state of SocketReady keeps unchanged.
When the connection to LAN2 of the controller is returned to normal, PhysicalLinkError changes
to FALSE.
Function
ETH_Socket_Manage is used for enabling Socket. The firmware of V1.02 and above supports the function.
The firmware of V1.02 and above supports the function.
1. If Enable is set to FALSE during the instruction execution, all outputs of ETH_Link_Manage change to
FALSE. But the controller will not disable the Socket. The Socket can be disabled by setting EnableSocket
to FALSE only as Enable is TRUE.
2. The instruction execution will not be affected when there is an error message or communication timeout
sent back from the target device.