Xtdcode
Xtdcode
Bit Encoding
Powerline Cycles
1 2 3 4 5 6 7 8 9 10 11 12 13
*----*----*----*----*----*----*----*----*----*----*----*----*---
11 10 H8H8 H4H4 H2H2 H1H1 D8D8 D4D4 D2D2 D1D1 F1F1 00 00
*---------*-------------------*-------------------*----*--------
STARTCODE * HOUSECODE * ADDRESS/FUNCTION *FUNC* EOM
----------------------------------------------------------------
HOUSECODE SETTINGS H8 H4 H2 H1
A 0 1 1 0
B 1 1 1 0
C 0 0 1 0
D 1 0 1 0
E 0 0 0 1
F 1 0 0 1
G 0 1 0 1
H 1 1 0 1
I 0 1 1 1
J 1 1 1 1
K 0 0 1 1
L 1 0 1 1
M 0 0 0 0
N 1 0 0 0
O 0 1 0 0
P 1 1 0 0
ADDRESS/FUNCTION
CODEWHEEL D8 D4 D2 D1 D16
1 0 1 1 0 0
2 1 1 1 0 0
3 0 0 1 0 0
4 1 0 1 0 0
5 0 0 0 1 0
6 1 0 0 1 0
7 0 1 0 1 0
8 1 1 0 1 0
9 0 1 1 1 0
10 1 1 1 1 0
11 0 0 1 1 0
12 1 0 1 1 0
13 0 0 0 0 0
14 1 0 0 0 0
15 0 1 0 0 0
16 1 1 0 0 0
ON 0 0 1 0 1 (shutters open)
OFF 0 0 1 1 1 (shutters close)
DIM 0 1 0 0 1 (shutters up)
BRIGHT 0 1 0 1 1 (shutters down)
ALL LIGHTS ON 0 0 0 1 1
ALL UNITS OFF 0 0 0 0 1
ALL LIGHTS OFF 0 1 1 0 1
EXTENDED CODE 1 0 1 1 1 1 FOR DATA/CONTROL
HAIL REQUEST 1 0 0 0 1
HAIL ACK. 1 0 0 1 1
EXTENDED CODE 3 1 0 1 0 1 FOR SECURITY MESSAGES
UNUSED 1 0 1 1 1
EXTENDED CODE 2 1 1 0 0 1 FOR METER READ & DSM
STATUS "ON" 1 1 0 1 1
STATUS "OFF" 1 1 1 0 1
STATUS REQUEST 1 1 1 1 1
The full message is sent twice without a gap. That is, the second
Startcode begins on the next mains cycle after the Function bit.
X10 modules do not respond to the Extended code message. This code
enables further bytes to be added to the message without them being
"seen" by Standard X10 modules. Details of the Extended code bytes is
given below. Any message containing Extended bytes must contain the
Extended code command in the
first part of the message.
TYPE = 1 Sensors
DATA TYPE /COMMAND
x x x x x x x x 0 0 0 1 0 0 0 1 Request Average Light
Data from the Unit
addressed in the HC/DC
fields.
x x x x x x x x 0 0 0 1 0 0 1 0 Request Instant
Temperature from the
addressed unit.
x x x x x x x x 0 0 0 1 0 0 1 1 Request Status from
addressed unit.
x x x x x x x x 0 0 0 1 0 1 0 0 Request Instant Light
Data from the addressed
unit.
x x x x x x x x 0 0 0 1 0 1 0 1 Request Average Temp.
Data from the addressed
unit.(16min.average)
I2 I1 P P P P P P 0 0 0 1 1 0 1 1 Ambient Light data
from the sensor in the
HC/DC fields.
T T T T T T T T 0 0 0 1 1 1 0 0 Temperature data from
the sensor in the HC/DC
fields.
S S S S S S S S 0 0 0 1 1 1 0 1 Status data (bit mapped)
from the unit in the
HC/DC field
The unit may be set back to a 'non secure address state' by applying
power to the unit with the MAXDIM key held pressed.
TEMPERATURE DATA
(+/-)T64 T32 T16 T8 T4 T2 T1 Range 0 - 127 in integer values.
(+/-) = '1' for negative integers.
Units are Deg.Celsius.
NOTE : The Ambient Light/Temperature Sensor is capable of reading from
-28 to +50 deg. Celsius.
ACCESS PROTOCOL
With Extended Code systems, the amount and nature of the messages that
are being used requires that Transmitters avoid message collisions
where possible, and that, when a collision does occur, it can be
detected and the conflict resolved. In order to do this, the following
access protocol should be adopted. All messages are assumed to have
equal priority.
After line access has been achieved, the transmitter must check the
line during the transmission of a '0' bit (no carrier) to see that no
other transmitter is transmitting. If a collision occurs, the