The function block is used to disconnect an established connection from the TCP server of a Lexium Cobot controller.
This method disconnects an established connection to the TCP server of a Lexium Cobot controller.
| Output | Data type | Description |
|---|---|---|
|
q_xError |
BOOL |
Value is TRUE if an error was detected. For details, refer to q_etResult and q_sResultMsg. |
|
q_etResult |
ET_Result |
Provides diagnostic and status information as a numeric value. If q_xError = FALSE, q_etResult provides status information. If q_xError = TRUE, q_etResult provides diagnostic/error information. |
|
q_sResultMsg |
STRING[80] |
Provides additional diagnostic and status information as a text value. |
|
q_xError |
q_etResult |
Enumeration value |
Description |
|---|---|---|---|
|
FALSE |
Ok |
0 |
The method was called successfully. |
|
FALSE |
Disabled |
1 |
The function block is disabled. |
|
FALSE |
NotConnected |
5 |
A connection to a Lexium Cobot controller is not established. |
|
Enumeration name: |
Disabled |
|
Enumeration value: |
1 |
|
Description: |
The function block is disabled. |
The function block is disabled and not connected to the TCP server of a Lexium Cobot controller.
A disabled function block does not execute any actions and all outputs are set to the default value.