This is an old revision of the document!


Automatic restart of the 1-Wire bus

The 1-Wire bus is prone to EMI which can result in sensors being “stuck” and disabling the whole bus communication. With our PLCs you are able to turn the power off for the whole 1-Wire bus and forcing the sensors to reset.

In Mervis, the property controlling the power supply for the 1-Wire bus is called OW_off_1. By setting the value to true, the bus will be disconnected from the power supply and by resetting back to false the power supply will be connected back.

You can reset the power supply manually, but with the help of commerror attributes, you can let Mervis do it automatically. The attributes are available on the particular device or the whole channel and they indicate when the Mervis wasn't able to read the datapoints.