[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Possible bug in xPLHVision
- Subject: Re: Possible bug in xPLHVision
- From: "gmotichka" <gmotichka@xxxxxxxxxxxxx>
- Date: Fri, 31 Dec 2004 14:42:28 -0000
Bob, I'm glad you found this.
I have been struggling all week trying to get a determinator to work
that involves a timer.
I have an IR detector at the drive. when motion is sensed it
triggers a macro that checks a timer and if it is stopped to then
announce someone is arriving. The determinator is then to start a
timer with 30 secs so that I dont here the announcement contunually
on every "on" action received. Once the timer is stopped then it
can
announce again. When it seeemed the timer wasn't working I tried to
disable the macro, but it seems that executing a macro from xPL is
like manually executing it in HV -- it will run even if disabled.
George M
--- In ukha_xpl@xxxxxxx, "Bob Gardner" <gardner.bob@g...>
wrote:
>
> Steve,
>
> I think I may have found a timer problem. I defined an action in
a
> determinator that was supposed to load and start a timer in HV
with
> one hour and 30 minutes. The parameters I used were:
>
> device=11
> type=timer
> current=start
> data1=01300000
>
> I think this is correct according to your docs. The problem is
that
> the corresponding dde command sent is:
>
> ,=0B0401300000
>
> Two problems - the 04 is the command in HV to reset all timers,
this
> should be 00 to load and start a timer. Second, although some of
the
> docs from HV are a little confusing, the time values need to be in
> reverse order i.e. SSSSMMHH and they need to be in hex. Thus for
an
> hour and a half, which is what I wanted, the time string should be
> 00001E01. While entering the values in reverse into data1 is no
real
> problem, the 1E caused problems and resulted in an incorrect dde
> command.
>
> I tried the other three timer commands - HALT, RESUME, and STOP -
and
> they appeared to be correct.
>
> I have gotten around this by firing a macro which does the timer
> stuff so there is no need to do anything but put it on your list
for
> a future fix. I just thought you might want it documented.
>
> As always, thanks for everything.
>
> Bob
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|