21.06.2013 Views

TECH NOTE X-10 Communications Protocol and ... - X10PRO.com

TECH NOTE X-10 Communications Protocol and ... - X10PRO.com

TECH NOTE X-10 Communications Protocol and ... - X10PRO.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TheTables in figure5.show the Binary Codestobetransmitted for each HouseCode<strong>and</strong>Key Code.The<br />

Start Codeisalways 11<strong>10</strong> which is auniquecode<strong>and</strong> is theonlycode which doesnot followthetrue<br />

<strong>com</strong>plement relationship on alternate half cycles.<br />

Figure 5.<br />

House Code <strong>and</strong>KeyCode Tables.<br />

Hail Request istransmitted toseeif thereareany other<br />

X-<strong>10</strong> PRO transmitters within listening range.This allowsthe<br />

OEM toassign adifferentHousecodeif a"Hail<br />

Acknowledge" is received.<br />

In aPre-Set Dim instruction,theD8bit represents theMost<br />

Significant Bitofthelevel <strong>and</strong> H1,H2,H4<strong>and</strong> H8 bits<br />

represent the4Least Significant bits<br />

TheExtended Data codeisfollowed by8bit bytes which<br />

can represent Analog Data (after Ato Dconversion).There<br />

should benogaps between theExtended Data code<strong>and</strong><br />

theactual data, <strong>and</strong> nogaps between data bytes.The<br />

first8bitbytecan be used tosayhow manybytesofdata<br />

will follow.If gaps areleft between data bytes,these<br />

codes couldbereceivedby X-<strong>10</strong>PRO Modules causing<br />

erroneous operation.<br />

ExtendedCodeis similartoExtended Data:8Bit bytes<br />

which followExtended Code(with nogaps) can<br />

represent additional codes.This allows thedesignerto<br />

exp<strong>and</strong> beyond the256codescurrently available<br />

IMPORTANT<strong>NOTE</strong>S<br />

<strong>NOTE</strong> 1.X-<strong>10</strong>PRO ReceiverModules require a"silence" of<br />

at least3powerline cycles between each pair of 11bit<br />

codetransmissions(nogaps between each pair).The one<br />

exception tothis ruleis bright <strong>and</strong> dimcodes.These aretransmitted continuouslywith nogaps between<br />

each 11bitdimcodeor 11bit bright code. A3cyclegapis necessarybetween different codes,i.e.,<br />

between bright <strong>and</strong> dim,or 1<strong>and</strong> dim,or on <strong>and</strong>bright,etc.<br />

<strong>NOTE</strong> 2.The PSC05Two-WayPowerLineInterfacecannot receiveExtended CodeorExtendedData<br />

because thesecodeshavenogaps between them.ThePSC05can onlyreceive st<strong>and</strong>a rd"pairs" of 11<br />

bit X-<strong>10</strong>PRO codes with3powerline cyclegaps between each pair.<br />

<strong>NOTE</strong> 3.The PSC05can receivedim <strong>and</strong> bright codes but theoutput willrepresent thefirst dimor bright<br />

codereceived,followedby everythirdcodereceived.i.e.theoutput fromthePSC05willnot bea<br />

continuous streamof dimorbrightcodeslikethecodeswhich weretransmitted.<br />

Transmission Timing Diagrams.<br />

Asquare waverepresenting zerocrossing detect is providedby thePSC04/PSC05<strong>and</strong> is within <strong>10</strong>0ms of<br />

thezero crossing point of theAC powerline.Theoutput signal envelope fromtheOEM should bewithin<br />

50ms of thiszerocrossingdetect.Th esignalenvelopeshould be1ms(-50ms +<strong>10</strong>0ms).SeeFigure6.<br />

4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!