Willkommen auf unserer neuen Forenplattform für das Bus-Profi Forum

Neue Felder für die persönlichen Daten
Man kann jetzt seine öffentlich einsehbare Daten genau bestimmen. Details findet ihr in in diesem Beitrag.

Durch die neue Forensoftware und die Portierung der Daten konnten die Passwörter aus dem alten Forum nicht übernommen werden, bitte lassen Sie sich ein neues Passwort über die Passwort vergessen Funktion zusenden. Sollte es zu Problemen kommen kontaktieren Sie das Bus-Profi Team per E-Mail.

Threshold with LSH and BMI


Themenersteller
edubht
Neues Mitglied
Neues Mitglied
Beiträge: 7
Registriert: Mi 14. Jul 2010, 13:56

#1 Threshold with LSH and BMI

Beitragvon edubht » Mi 27. Jul 2011, 18:22

Good afternoon.

I would like to inquire about LSH programming and bmi.

I have scheduled two thresholds.
The intention is to light a 100% light, 50% or 0%. depending on the threshold and bmi.

Programming is performed as follows:

B1 (Threshold 1)
MAKE: LED10 ON
BREAK: LED 11 ON

MAKE: LED11 OFF
BREAK: LED 10 OFF

B2 (Threshold 2)
MAKE: LED11 ON
BREAK: LED 12 ON

MAKE: LED12 OFF
BREAK: LED 11 OFF

B4 (BMI)
MAKE: LED 9 ON
BREAK: LED 9 OFF

BREAK: light off ramp 9 seconds.


Logic:

And C1 (led 9 - led 10)

light off

And C2 (led 9 - led 11)

50% dim light.

And C3 (led 9 - led 12)

100% light.


The problem is that the lsh is near to the lights, and when the light turns to 100%, the threshold changes, and light up to 50%.

I tried to lock the keys C when light comes on and unlock when turned off, but it has not worked properly.

What solution do you recommend?

Best regards.

Benutzeravatar

Uwe
(†)
Beiträge: 14250
Registriert: So 26. Mai 2002, 23:10
Hat sich bedankt: 13 Mal
Danksagung erhalten: 56 Mal

#2 RE: Threshold with LSH and BMI

Beitragvon Uwe » Do 28. Jul 2011, 01:00

Moin :w00t:

Change the threshold to a value which is not exceeded even when the light is on.

Otherwise it must be converted the light sensor to another location (away from the lights).

Lock keys do not even work from my experience too.

Best regards
Uwe
----------------o00o----'(_)'----o00o---------------------


Themenersteller
edubht
Neues Mitglied
Neues Mitglied
Beiträge: 7
Registriert: Mi 14. Jul 2010, 13:56

#3 RE: Threshold with LSH and BMI

Beitragvon edubht » Fr 29. Jul 2011, 11:36

Moin!

Why not working properly lock keys?

I can not change the location sensor to Another.

if I Change the threshold to a value not exceeded Even Which is when the light is on.

In what moment are added back?

example:

threshold 1 300
threshold 2 200

when the low threshold 2. if bmi detects presence. 100% light. the brightness changes to 350. I rest to the threshold 2 the value 200.
In what moment are added back the 200?

Best regards

Benutzeravatar

Uwe
(†)
Beiträge: 14250
Registriert: So 26. Mai 2002, 23:10
Hat sich bedankt: 13 Mal
Danksagung erhalten: 56 Mal

#4 RE: Threshold with LSH and BMI

Beitragvon Uwe » Sa 30. Jul 2011, 19:25

Moin,

You will have a time problem in the execution - and have to watch very carefully to your timing. Small numbers / letters always take precedence over big, you can see the execution in the bus monitor. It is OK, but you have to look closely.

I think the better way ist to convert the light sensor to another location.

buena noche
Uwe
----------------o00o----'(_)'----o00o---------------------


Zurück zu „Programmierfragen“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 24 Gäste