Conditional Breakpoints

Top  Previous  Next

 

If the program is to be stopped just on specific conditions you will be able to set a conditional breakpoint or to supply an already set breakpoint with conditions afterwards. For doing this click the breakpoint with right in the STL-, FBD- or LAD-editor and select ‘Edit Breakpoint’.

 

Please note that the condition in STL is evaluated before the process of the current line, but in FBD/LAD after the process of the whole network (see also specific features in FBD/LAD).

 

You can evaluate the RLO as follows:

 

1.)        It shall not be considered, that means it will always be stopped if no condition is specified for the accu.

2.)        It will only be stopped if the RLO is ‘1’.

3.)        It will only be stopped if the RLO is ‘0’.

4.)        It is only stopped at a rising edge of the RLO.

5.)        It is only stopped at a falling edge of the RLO.

6.)        It is stopped at every state change of the RLO.

7.)        It will only be stopped if the RLO does not make any state change.

 

As a reference value for 4.) - 7.) the RLO is always valid like it has been at the last process of the line with the breakpoint. So ‘Rising Slope’ does not mean that the RLO goes from nought to one right now but that it was nought in the last scan and now one.

 

You can compare the accu 1 with a reference value. Doing this you have to specify how the content of the accu shall be interpreted: as INT, DINT or REAL.