For this CODESYS session, the time of inactivity after which the connection to the controller is automatically terminated is set to the specified time (in seconds). The value specified in this option overrides the value set in the CODESYS options in the Online category for this CODESYS session.
If the value is set to 0, then the connection to the controller will not be automatically terminated after a specific period of inactivity. For this CODESYS session, this disables the disconnect option in the CODESYS options.
Syntax:
--ForceDisconnectAfterInactivity="<value in seconds>" <value in seconds> : [10, 10800] | 0
Example
After 300 seconds of inactivity, the connection to the controller is automatically terminated.
--ForceDisconnectAfterInactivity="300"