The enumeration ET_Result specifies the possible values that indicate the result of operations executed by the POUs of this library.
Name |
Number |
Description |
---|---|---|
17 |
The size of the input iq_Buffer is smaller than the data that is requested to be exchanged. |
|
15 |
An error has been detected during operation of the Modbus TCP client. Detailed information is provided by the output q_sResultMsg of the associated function block. |
|
4 |
At least one of the given input parameters is invalid. Detailed information is provided by the output q_sResultMsg of the associated function block. |
|
20 |
The specified communication interface is no longer available. |
|
21 |
The specified value for the IP address is invalid. |
|
7 |
The value of the parameter TCPUDP.GPL. Gc_uiTCPServerMaxConnections specifying the maximum number of clients is less than 16. This parameter is specified in the global parameter list (GPL) of the TcpUdpCommunication library. For operating the Modbus TCP server, the value must be 16 or higher. |
|
22 |
The maximum number of rules is configured. |
|
25 |
No rule exists on the specified index, or access control is activated but no rule has been configured. |
|
0 |
The function block is being executed successfully. |
|
9 |
An online change command was detected while a client function block was being executed. |
|
5 |
An error has been detected while attempting to open the Modbus TCP server. |
|
26 |
The configured access rules are being processed. |
|
18 |
The quantity of objects specified with the input i_uiQuantity exceeds the limit for the function block. |
|
8 |
The reinitialization of the input parameters was unsuccessful. For further information, refer to the q_sResultMsg output of the function block. Reinitialization is performed whenever an online change command was detected. |
|
14 |
The response received from the Modbus TCP server is invalid or unsupported. Detailed information is provided by the output q_sResultMsg of the associated function block. |
|
16 |
The response received from the Modbus TCP server contains an exception code. Detailed information is provided by the output q_sResultMsg of the associated function block. |
|
23 |
A rule already exists for the same address range. |
|
24 |
At least one of the addresses for the access rule is invalid. |
|
10 |
The address of the input i_sServerAddr is invalid. Detailed information is provided by the output q_sResultMsg of the associated function block. |
|
2 |
The Modbus TCP server is closing. |
|
6 |
An error has been detected during operation of the Modbus TCP server. To clear the error information, the server must be reset. This can be achieved by disabling and re-enabling the function block. |
|
3 |
The Modbus TCP server is monitoring. |
|
1 |
The Modbus TCP server is opening. |
|
13 |
A timeout has expired while waiting for the response from the server. Detailed information is provided by the output q_sResultMsg of the associated function block. |
|
12 |
The operation cannot be executed due to the number of active connections. |
|
11 |
The operation cannot be executed due to pending requests in the send buffer. |