ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#21572 - 01/09/10 06:17 PM Use PSC05 to poll PLM21 2-Way Lamp Module?
jwilson56 Offline
journeyman


Registered: 04/09/04
Posts: 53
Is there a way to have a small program running in the Ocelot that would go out at poll the PLM21 2-way lamp module every couple minutes. I personally use the Elk with a PSC05 to control the lights but it doesn't support polling for X-10 so I was looking to add a PSC05 to my Ocelot and do it with that. I would send the results to Girder and update the status there for my touch screen.

Thanks

John

Top
#21580 - 01/10/10 11:06 AM Re: Use PSC05 to poll PLM21 2-Way Lamp Module? [Re: jwilson56]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Does the PLM21 support the regular X10 Status Request or the extended version? Some modules like the RR501 transceiver supports both formats and will "adopt" the format that you first poll it with. The Ocelot can only receive regular X10 commands and responses so you need to see if that could work first. You can easily program a Status Request by sending two "Transmit Single X10" commands, and then start a timer to look for the response within a few seconds, something like:

IF (whatever)
THEN Transmit Single X10 A/1
THEN Transmit Single X10 Status Request
THEN Timer #1 = 1

IF Receive X10 Status A/ON
AND Timer #1 > 0
THEN (whatever you want to do)
THEN Timer #1 = 0

IF Receive X10 Status A/OFF
AND Timer #1 > 0
THEN (whatever else you want to do)
THEN Timer #1 = 0

IF Timer #1 becomes > 4
THEN Timer #1 = 0


You could trigger it by time of day, a timer every so many seconds, etc.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
3 registered (pbir, Bent, Martin in Texas) and 31 anonymous users online.
Recent Posts
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
Today at 08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
Today at 08:34 AM
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Does anyone have a copy of the latest TSE?
by sevenzenith1
01/30/12 05:17 AM
Shout Box

Newest Members
feshh, manu, kuro, chuck214, Funkhauser
2747 Registered Users
Forum Stats
2747 Members
19 Forums
3837 Topics
22713 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29