Xin/Xout Status Request


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    XOUT translates the codes to be compatible with the BS2. (ugg)

    If you use ...
    Code:
    DEFINE  XOUTXLAT_OFF 1
    It turns off the translation, then you can use the codes from the table you were refering to.

    Note: All the ON/OFF etc. codes will be different too.
    <br>
    DT

  2. #2
    Join Date
    Feb 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    Thanks for the info. Do you know what the conversion factor is? I would rather just have to convert the %11111 instead of converting all of the other codes in my program.

    Thanks

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Well if I've done the backwards translation correct ....

    %11001

    Should be the "Status Request".

    The way it translates is... (suedo code)

    temp = (Keycode + 4) & $0F
    if Keycode.4 = 1 then temp = temp + $10
    if temp.2 = 1 then temp = temp ^ 2

    So by entering %11001 for the KeyCode, it should end up with %11111, which is "Status Request"
    <br>
    HTW,
    DT

  4. #4
    Join Date
    Feb 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    Thanks so much for your help. I will try it tonight and post back.

  5. #5
    Join Date
    Feb 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    Think I am on the right track.

    Sending XOUT X10Out,zCross,[house\unit,House\%11001] returns 517 (1000000101) if the module is on or off. Any ideas why I am getting the same answer for both states?

    Thanks

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Are you sure that module is "Status Request" capable ?

    Not all of them are.
    <br>
    DT

  7. #7
    Join Date
    Feb 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default

    Yes, it is a SmartHome ApplianceLinc 2-way #2002STW. Clearly says 2-way on it. Have also tried to (re)enable 2-way mode through programming.

Similar Threads

  1. Problem with 16f88 steep motor control
    By ken_23 in forum Off Topic
    Replies: 0
    Last Post: - 4th July 2008, 12:25
  2. PIC16F877A - Timer0 won't interrupt
    By WishMaster^ in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 25th April 2007, 08:25
  3. Xin/Xout ideas?
    By KarenSmit in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th March 2006, 11:31
  4. conversion
    By pramodsinha in forum Forum Requests
    Replies: 2
    Last Post: - 19th January 2006, 15:58
  5. STATUS re-curtain W
    By zugvogel1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 13th February 2005, 15:21

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts