Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flags
#1
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


Attached Files Thumbnail(s)
   
Reply

#2
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

Reply

#3
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
Reply

#4
see attached protocol
your program should be correct


Attached Files
.pdf   comfortprotocol.pdf (Size: 101.76 KB / Downloads: 5)
Reply

#5
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?
Reply

#6
F?10 is referring to Flag 16, not 10
The numbers are in Hexadecimal notation when you enter these commands
try F?0A
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.