-

Safety Semantic Warning: The variable '...' is not used.

An external variable is declared

This variable is neither read nor written in the safety-related code of the respective POU.

This warning only appears for external variables but not for local variables.

Remedy:

  1. Double-click the error in the Error List to jump to the suspected local variables table (where the declaration is marked).
  2. Verify the "non-use" of the variable.
    • Delete the local declaration if the variable is not necessary, or
    • use the variable in the code, if necessary.