Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:sw:01-mervis:automatic-restart-of-1-wire-hidden [2018/12/11 14:39] mkudlacek |
en:sw:01-mervis:automatic-restart-of-1-wire-hidden [2021/08/05 14:33] (current) avsetula |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Automatic restart of the 1-Wire bus ====== | ====== Automatic restart of the 1-Wire bus ====== | ||
+ | <WRAP group> | ||
+ | <WRAP half column 81%> | ||
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. | 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. | ||
+ | </WRAP> | ||
+ | <WRAP half column 15%> | ||
+ | ;;# | ||
+ | <html><span class="dev-tag dev-patron">Patron</span></html> \\ | ||
+ | <html><span class="dev-tag dev-neuron">Neuron</span></html> \\ | ||
+ | <html><span class="dev-tag dev-axon">Axon</span></html> | ||
+ | ;;# | ||
+ | </WRAP> | ||
+ | </WRAP> | ||
<WRAP center round info 60%> | <WRAP center round info 60%> | ||
Line 29: | Line 40: | ||
{{ :en:sw:01-mervis:automatic-restart-of-the-1-wire-04-complete-project.png?direct |}} | {{ :en:sw:01-mervis:automatic-restart-of-the-1-wire-04-complete-project.png?direct |}} | ||
- | All we need to alter is the length of the pulse and the pause between pulses to some reasonable values such as Ttrue = 1s and Tfalse = 4s, deploy the solution and start debugging. Then you can unplug the 1-Wire sensor and you will see that the measured values are red and the commerror attribute is ''TRUE'' and the **Pulse Generator** is sending reset pulses to the bus: | + | All we need to alter is the length of the pulse and the pause between pulses to some reasonable values such as Ttrue = 1 s and Tfalse = 4 s, deploy the solution and start debugging. Then you can unplug the 1-Wire sensor and you will see that the measured values are red and the **commerror** attribute is ''TRUE'' and the **Pulse Generator** is sending reset pulses to the bus: |
{{ :en:sw:01-mervis:automatic-restart-of-the-1-wire-05-debugging.png?direct |}} | {{ :en:sw:01-mervis:automatic-restart-of-the-1-wire-05-debugging.png?direct |}} |