Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2017-07-25 12:32:41

seb
Member
Registered: 2017-07-25
Posts: 3

How to stop repeating BINS?

Hello everyone,

once i set a BINS to repeating, how can you stop the sequence?

In my case i want a LED to blink when a temperature is to high. If the temperature drops to the normal level the input of BINS is set to off but the sequence keeps blinking the LED.

Any advice is welcome.

TY
Seb

Offline

#2 2017-07-25 16:39:19

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: How to stop repeating BINS?

Hi seb,
you can use the BIS block and let it generate a blinking sequence forever. Then you can use the AND block to disable the blinking. See the attached algorithm: blinking_warning.mdl

Kind regards,
Jaroslav

Offline

#3 2017-07-25 20:09:47

seb
Member
Registered: 2017-07-25
Posts: 3

Re: How to stop repeating BINS?

Thx for the quick reply Jaroslav,

in the meanwhile i figured out that the ISSW FB also works on switching boolean values. Setting the sequence to run forever and switch between a constant OFF and the sequence did work as intended but i see how your approach is simpler.

Offline

#4 2017-07-26 12:33:17

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: How to stop repeating BINS?

Hi seb,
you are absolutely right, the ISSW block also fits very well for this case.

Best regards,
Jaroslav

Offline

Board footer

Powered by FluxBB