Theory of operation of two-way lamp and appliance modules

source: x10 web site

 

 

Lamp Module, LM14A

Response to "Standard" X-10 commands
The LM14A responds to the commands ON, OFF, BRIGHT, DIM, ALL LIGHTS ON, ALL UNITS OFF, ALL LIGHTS OFF, and STATUS REQUEST, as detailed in a separate document on X-10's Extended Code Protocol (document XTC798) available upon request from X-10.

The LM14A must be "addressed" before it will respond to ON, OFF, BRIGHT, DIM, or STATUS REQUEST. When the unit turns ON, its brightness level is the MEMORY level - this being the level reached after the last BRIGHT or DIM (or FULL BRIGHT after an initial power up). When the unit is made to turn ON from being OFF, it fades up to the MEMORY level from FULL DIM at the normal dimming rate. When the unit is made to turn OFF, it fades from the MEMORY level to FULL DIM before turning OFF. The MEMORY is saved.

Automatic Message Response
In the default state (after an initial power up) the unit does not automatically answer commands sent to it (except STATUS REQUEST). If the EXTENDED Command CONFIGURE (Hex 3B) (see document XTC798) is sent with the AUTOACK 'STANDARD' bit set in the DATA Byte, the unit automatically answers any message sent in "Standard" X-10 format that requires the unit to be "addressed" and which changes its output state. In practice, this means the unit auto-acknowledges the ON, OFF, BRIGHT, and DIM commands. The response is the EXTENDED OUTPUT STATUS message (Hex 38) with the DATA byte containing the 6-bit brightness level, together with the LAMP MODULE ID bit ('0' for a Lamp) and the OUT O.K. bit set. The response is not made until the unit has actually reached the output level it was told to go to. This could result in a response delay of up to 2.75 seconds in the case of a FADEON or FADEOFF from FULL BRIGHT.

Since the unit has no permanent (nonvolatile) memory, after a power loss the unit performs a memory check and if memory has been lost it transmits the EXTENDED REQUEST for STATUS (Hex 37) with a DATA byte (xx01xxxx). The CM11A Two-Way Computer Interface then issues a command to reconfigure the Module and reset its output state.

Output Status Byte
This byte contains 3 pieces of information. Bits 5-0 give the current brightness level as a number between 0 and 63, bit 6 set to '0' indicates the unit is a Dimmer. Bit 7 = '1' means that the bulb is connected and the Triac is performing correctly. Hardware restrictions limit this check only to be made on a negative half Mains Cycle, but, being a dimmer, the Triac output is tested both in the Off and On state.

Sense (Local Control)
If the Load Switch is opened then closed, the unit Fades on to its MEMORY brightness level. If either of the AUTOACK bits are set in the CONFIGURATION byte (command Hex 3B) the unit automatically sends its OUTPUT STATUS ACKNOWLEDGE message in EXTENDED format (Hex 38). The message is not sent until the output level reaches the MEMORY value. This can take up to 2.75 seconds.

Response to "Extended" X-10 commands
The LM14A responds to the extended messages described in document XTC798. When a message results in the unit altering its OUTPUT level, the change is made smoothly at the normal dimming rate. In the default state the unit does not acknowledge EXTENDED messages, but if the AUTOACK "EXTENDED" bit is set in the CONFIGURE byte (command Hex 3B), any EXTENDED message that is not Broadcast (i.e. specific to that Housecode and Unit Code) and which alters the output status causes the unit to automatically acknowledge with the STATUS ACK message (Hex 38). The response is not made until the unit achieves the output level indicated by the command. This may take several seconds (see earlier). In practice, the unit only automatically acknowledges the PRESET OUTPUT message (Hex 31). Although not used for EXTENDED messages, the MEMORY is always the current OUTPUT BRIGHTNESS level if the output is ON, and can be used by subsequent "STANDARD" X-10 messages. EXTENDED messages reset the "ADDRESSED" status of the unit.

Groups
In order to do Scene Dimming the unit can be made to belong to a group or groups. When a Broadcast message is sent to activate that group response, all units in that group simultaneously fade to the brightness level assigned previously to each individual Module. The unit can belong to 4 groups simultaneously. The groups can be GLOBAL, in which case there are only 4 available, or can be relative to a GROUP REFERENCE no. (1-16) in which case there are 4 x 16 available. A unit can only belong either to Global groups or Relative groups at any one time (not both simultaneously). A unit can be programmed into a Global group at a predetermined output state using the INCLUDE IN GROUP command (Hex 32) or at its current output level using the INCLUDE command (G1G0 00 xxxx) (Hex 30). However, it can only be put into a RELATIVE group at its current output level by using the INCLUDE command (G1G0 11 S3S2S1S0) (Hex 30). In effect, the GROUP REFERENCE is the unit code of an X-10 Mini Controller (Model MC460) or a Leviton Wall Controller (Cat. No. 16400) and would allow each controller to control its own set of 4 groups.

Line Access and Collisions
The unit waits for 9+(0-3) power line cycles clear of signal before commencing a transmission. For the REQUEST for OUTPUT STATUS message (xx01xxxx) (Hex 37) sent after any power up that results in memory loss, the access time is doubled to allow time for the internal power supply to fully stabilize. The (0-3) randomizer is calculated from the Housecode/Unit Code setting, the OUTPUT STATUS and the particular message requiring a response. It is not truly random in that the same message to the same Housecode/Unit Code for a unit with a particular OUTPUT STATUS will always result in the same Access Time. If there is interference on the AC line due to genuine X-10 messages, the Line Access procedure always applies. After access is achieved, during the transmission of Zero bits the unit performs Collision Detection and aborts that transmission attempt if a collision occurs. Subsequent attempts are made using the Line Access procedure. If the interference is not genuine X-10 codes, after 256 power line cycles the unit times out its Noise Wait and transmits with Line Access and Collision Detection bypassed.

The LM14A is rated for incandescent lamps only, up to 300 watts.

Appliance Modules, AM14A - 2 pin polarized and AM15A - 3 pin grounded

The operation is essentially the same as the Lamp Module, but with the difference that the Output Status is either Zero or Non-Zero and bit 6 of the Data Byte of the OUTPUT STATUS message (Hex 38) is set to '1'.

Other differences are:

  • A: Bit 7 of the Data Byte is set to '1' if the Relay is open and the Load is connected, or if the Relay is closed. It is obviously not possible to test the state of the load when the relay is closed.
  • B: There is no response to the STANDARD X-10 messages BRIGHT, DIM, ALL LIGHTS ON, and ALL LIGHTS OFF.

In the Auto-acknowledge mode, the unit doesn't answer back until the relay has achieved its intended state.

The AM14A and AM15A are rated at:

  • 15A resistive (for coffee pots, electric blankets, etc).
  • 1/3 HP for motors, etc.
  • 500W for incandescent lamps (because of the inrush current from a cold lamp)
  • 400W UL TV rating.