Troubleshooting

Troubleshooting

If an error is detected by the function block, verify the value of the output q_sResultMsg. It provides detailed information about the detected error.

Symptom

Possible cause

Solution

The function block indicates a detected error and the value of q_etResult is ET_Result.InterfaceError.

An error is detected with the Ethernet interface the server is bound.

The configuration of the Ethernet interface has been modified while the server was in monitoring state.

  • Verify the cable connection on the Ethernet link of the controller.

  • Verify the configuration of the Ethernet interface the server is bound.

  • Verify the value of the property IsAutoReopenActive:

    • If the property IsAutoReopenActive is TRUE, the server reopens after 30 seconds.

    • If the property IsAutoReopenActive is FALSE, disable and re-enable the function block.

After enabling the function block, an error is detected and the value of q_etResult is ET_Result.RuleConfigMemoryAddressinvalid.

One of the access rules created while the function block was not enabled contains a memory configuration which does not comply with the supported memory areas of the server.

  • Verify the memory configuration of the server.

  • Verify the access rule configuration: remove invalid rule configurations and create new configurations with valid memory address ranges.

After enabling the function block, an error is detected and the value of q_etResult is ET_Result.OpenFailed.

The Ethernet interface the server is trying to bind is not available.

  • Verify whether the IP address specified at i_sInterfaceIp is configured for an Ethernet interface of the controller.

  • Verify whether the Ethernet interface with the IP address corresponding to the value of i_sInterfaceIp is operable.

  • Verify the cable connection of the Ethernet interface.