Comfort Automation/ Security System Forums

Full Version: Flags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to open my electric gate every other monday. I have written a response that opens the gate and keeps it open as expected. However, it does this everymonday and not every other monday. I have a timed program the runs at 8:15 every Monday that toggles a flag and I expected this would work.

I have added the flag to the control menu as a feedback this remains at 0 at all times. I have setup 3 test responses 1, set, 1 clear and 1 toggle and run each on in turn and checked the feedback state which remains at 0.

Any thoughts

Lee
We have tested your file, there is nothing wrong
The flag toggles as expected
If you execite the Wheelbin Response, it toggles te flag and if state is 0 the output turns on
type R!AB execute Response 171 in Monitor I/O
You will see F?1401 or F?1400 as flag status
and OP0201 output 2 on

Control Menu status - You have to update the status by checking show status

Check flag status using command F?14

Hi

The F?14 really helps, do you have a list of other commands?

Also do you agree that the wheel bin response should only activate every other week? there is a time program runs evrry monday that toggles the flag and checks rhe flag status before running.

Cheers

Lee
see attached protocol
your program should be correct
Thanks.... and yes the flag toggles.

I have started to do a bit more work with flags but getting a little lost I have a couple of response which simple says set and clears a flag (10 autoarm). As per the auto arming idea. Anyway if I do F?10 the run  the set responses from configurator and then type F?10 again I get:

> F?10
< FL1000
> DA840A01FF
< FL0A01
< RA00
> LI
< LU00
> LI****
< LU02
> F?10
< FL1000


What am I doing wrong?
F?10 is referring to Flag 16, not 10
The numbers are in Hexadecimal notation when you enter these commands
try F?0A