Writing a single coil

Here we have an example of writing a single coil to illuminate an LED, using the X20BC0087 ModBusTCP device from B&R.

Fallback action

An action command is configurable with a fallback, which allows to trigger an action after the first one has been executed. Here is an example of a flapping state:

Please note that such a behavior can be easily configured with the Automation Controller (AC). Such a blinker would be stoppable.

Execute an action on startup

There are many scenarios where you might want to execute an specific action at startup. It can be easily configured adding exec_on_startup="true" to the command parameters.

Actions, executed by the VirtualSensorProvider

The VirtualSensorProvider allows the operator to create sensors, which do not have a physical device attached to them. This is especially usefull for setting "States of Alarm" to an system.

Here we will see a small example to set the value of the sensor to true or false.

Actions, executed by an Automation Rule

An action can also be automatically be executed by an Automation Rule. These rules can be executed per example, if a special event is happening or specific values are reached.

More information about the Automation Rules can be found Automation Rule.

Next Steps