freebus.org

Open Bus System
Aktuelle Zeit: 15. Juni 2015 15:05

Alle Zeiten sind UTC + 2 Stunden




Ein neues Thema erstellen Auf das Thema antworten  [ 3 Beiträge ] 
Autor Nachricht
BeitragVerfasst: 11. Juli 2012 16:59 
Offline
Junior Boarder
Junior Boarder

Registriert: 20. Juni 2010 15:11
Beiträge: 28
Hello,

The logibaustein only sends it's state when it changes. Would it be possible to program it to resend it's state when it gets a signal on a input, even tho the output state does not change.

For example: I have a everything off button I'd also like to use for blocking a object. For this I use the logibaustein's NOR port, but when it receives every time a 0 the logibaustein does not resend it's 1.

Anyone who like to help me with this?

Thanks a lot,
Greetings,
Erik


Nach oben
 Profil  
 
BeitragVerfasst: 13. Juli 2012 10:27 
Offline
Moderator
Moderator

Registriert: 10. Juni 2007 22:00
Beiträge: 403
Wohnort: Berlin
Hi,

everything is possible, but we need to really be sure of the correct solution. Simply having the gates sending each time a telegram, when they receive an input telegram doesn't work. Many other applications (like mine) must not have multiple telegrams of the same value.

We could implement as an additional type of gate a simple inverter with only one input. But this doesn't solve your problem. There might be two types of inverters:
- one that sends each input telegram inverted as an output telegram
- one that only sends inverted output telegrams whenever its state changes

So, the solution looks like being an additional parameter for each gate to specify if it shall send on change only or on each received input telegram.

This is not trivial work, as the vd also needs to be changed... but it is not impossible. :wink:

Regards
Andreas


Nach oben
 Profil  
 
BeitragVerfasst: 14. Juli 2012 14:58 
Offline
Junior Boarder
Junior Boarder

Registriert: 20. Juni 2010 15:11
Beiträge: 28
Hello Andreas,

That would be a great idea, just make a option in the .VD to send only on change or send when a value is received for each gate.
This function would be very helpfull for me, I have at least 2 different applications where I could use them.

Whenever you have the time and feel like making this ajustment, I'm ready to test it out. For what I can do, I'd like to help.

Greetings,
Erik


Nach oben
 Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 3 Beiträge ] 

Alle Zeiten sind UTC + 2 Stunden


Wer ist online?

Mitglieder in diesem Forum: hschreiber und 1 Gast


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de