Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Flags
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Mar 28th, 2012 02:56 pm
   PM  Quote  Reply 
1st Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

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

Attachment: Flag.JPG (Downloaded 30 times)



 Posted: Thursday Mar 29th, 2012 04:04 am
   PM  Quote  Reply 
2nd Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

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



 Posted: Thursday Mar 29th, 2012 07:29 am
   PM  Quote  Reply 
3rd Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

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



 Posted: Thursday Mar 29th, 2012 08:16 am
   PM  Quote  Reply 
4th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

see attached protocol
your program should be correct

Attachment: comfortprotocol.pdf (Downloaded 5 times)



 Posted: Thursday Mar 29th, 2012 11:14 pm
   PM  Quote  Reply 
5th Post
lwillerton
Member
 

Joined: Sunday Oct 2nd, 2011
Location:  
Posts: 221
Status: 
Offline

  back to top

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?



 Posted: Friday Mar 30th, 2012 02:47 am
   PM  Quote  Reply 
6th Post
ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

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



 Current time is 06:34 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems