Loading [MathJax]/extensions/tex2jax.js

You are here: Start » Program Examples » HMI Start Stop

HMI Start Stop

Aim

The task is to create a simple application where user activates an inspection mode through the HMI Panel.

If inspection mode is not activated, input image is displayed.

In the inspection mode threshold operation is performed.

Hints

Use a Variant macrofilter to have multiple alternative execution paths, in this case you need to have two variants. If you defined a forking port type as Macrofilter input, the inspection variant would execute once. This is because in the next iteration of the program an output of the Start ImpulseButton will be false. Therefore the better way is to define forking port type as Macrofilter register, then you will be able to remember previous state.

Solution (FIS)

►Click here to show the solution.

Macrofilter Main

Macrofilter Inspection(Inspecting)

Macrofilter Inspection(Stopped)

Used Filters

►Click here to show the filters list.