How to remove the error icon for correct ST-code?

If you enter and save a faulty ST-code, the ST-code is highlighted as faulty and the icon images/download/attachments/405733678/IconError-version-1-modificationdate-1529909643654-api-v2.png is displayed on the left edge. Usually this highlighting and the error icon are removed right after the faulty ST-code has been corrected. However, it is possible that the highlighting and the error icon are not removed in case of certain scenarios.

Example
PROGRAM Test
VAR
Var1 : INT;
END_VAR
Var1 := ADD(IN1 := 2, IN2 = 1);
(* 'IN2 = 1' in this line is highlighted as error. The error icon is displayed for this line. *)
(* When correcting 'IN2 = 1' to the correct syntax 'IN2 := 1', 'IN2 := 1' is still highlighted as error. The error icon is still displayed for this line. *)

Workaround: Save the corrected ST-code so that the highlighting and the icon images/download/attachments/405733678/IconError-version-1-modificationdate-1529909643654-api-v2.png are removed.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg logi.cals recommends to install and use the most current versions of logi.CAD 3 and the runtime system so that the latest features and problem fixes according to the release notes are provided in the used version.


Did this article help you? Did you find the requested information in this user documentation?
If not, contact the support team of logi.cals. State your questions or suggestions to improve/enhance the user documentation as detailed as possible.