Chapter 8 Logic Instructions
8-209
8.14.2.6 ETH_ SetServerlinkkeeptime
FB/FC
Explanation Applicable model
FB
ETH_ SetServerlinkkeeptime is used to set the link duration as the
controller serves as the MODBUS TCP slave.
ETH_SetServerlinkkeeptime
Execute
ETH_SetServerlinkkeeptime_instance
ServerLinkKeeptime
Done
Input Parameters
Parameter name Function Data type
Validation timing
Execute
The instruction is executed
when Execute changes
from FALSE to TRUE.
BOOL
TRUE or FALSE
(FALSE)
ServerLinkKeeptime
controller works as the
MODBUS TCP slave
UINT
0~65535
(0)
When Execute
changes from
FALSE to TRUE.
Note:
When the ServerLinkKeeptime parameter is set to 0 or blank, the default link duration of the MODBUS TCP
slave which the controller serves as is 30s.
Output Parameters
Function Data type Valid range
TRUE when the instruction execution is completed.
Output Update Timing
Timing for changing to TRUE Timing for changing to FALSE
Done
When Execute changes from FALSE to
When Execute changes from TRUE to
Function
ETH_ SetServerlinkkeeptime is used to set the link duration as the controller serves as the MODBUS
TCP slave.
1. The ServerLinkKeeptime value is valid only when the controller works as the MODBUS TCP slave.
When the controller works as the MKODBUS TCP master, the execution of the ETH_
SetServerlinkkeeptime instruction will have no impact on the MODBUS TCP master function.
2. If there is no data exchange between the controller slave and the master within the time specified by
ServerLinkKeeptime, the controller slave will disconnect the link to the MODBUS TCP master
automatically.
3. The instruction can only set the link duration of the MODBUS TCP slave which the LAN2 port of the
motion controller works as.