![]() |
|
Flags - Printable Version +- Comfort Automation/ Security System Forums (https://www.comfortforums.com) +-- Forum: Support (https://www.comfortforums.com/forum-2.html) +--- Forum: Problems & Troubleshooting (https://www.comfortforums.com/forum-36.html) +--- Thread: Flags (/thread-2798.html) |
- lwillerton - 03-28-2012 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 - ident - 03-29-2012 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 - lwillerton - 03-29-2012 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 - ident - 03-29-2012 see attached protocol your program should be correct - lwillerton - 03-29-2012 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? - ident - 03-30-2012 F?10 is referring to Flag 16, not 10 The numbers are in Hexadecimal notation when you enter these commands try F?0A |