Debug editor/possibilities in Automation studio 4.9

Hello, I’m new to the B&R PLC code development area, I’ve always programmed in Siemens and AB, I’m having difficulty making a quick diagnosis of the logic.

Is there any function that I can enable or any tips for having a monitor like the Siemens editor, as shown below

Where can I see when the condition is being satisfied or the line is validated?

If the code was compiled and transfered to the Target (PLC or ARsim) and you have a online connection you can use the Monitor-Mode or the Watch-Window.

Monitor-Mode
In the Icon-Bar there is a “magnifying glass”-Icon which enables the monitoring mode. It supports Mouse-Over tooltips in the code and a watch list on the right side were you can insert Variables to see thair values.

Watch-Window
You can right-klick on the blue Task icon and select open->watch. There you can insert the variables and get thair values.

Greetings
Michael

1 Like

Hi, there are more option how to monitor your code. There is even training module for that. For your use case I would use line coverage B&R Online Help