Specifications

M1 Control RS-232 ASCII String Protocol Page 32 of 68 Rev. 1.79 July 16, 2009
4.19 Insteon Lighting Systems for the M1XSP Serial Port
Expander (IR)
This command allows programming and reading from the M1XSP Serial Port
Expander the Insteon device addresses. The M1XSP’s jumper configuration is set
for Insteon Operation and the alternate application code in the M1XSP has been
loaded with the Insteon Application. Commands may be sent to program and read
the Insteon device IDs. Lighting device descriptions may also be accessed from the
M1. The connecting PC’s baud rate must be set for 4800 baud, 8 bits, no parity.
Connection is through the 9 Pin, RS-232 connector on the M1XSP module with a
NULL Modem adapter. All data packets are terminated with a carriage return
(0x0D) with a line feed option (0x0A).
4.19.1 Request ASCII Lighting Device Description (sd)
0B – Length as ASCII hex
sd – Request ASCII String Text Descriptions Command
07 – Lighting device description
NNN – Which lighting description to be returned, 1 – 192
00 – future use
CC Checksum
Example: 0Bsd07001005F Request Lighting Device 001 (A1) Name.
4.19.2 Reply With ASCII String Text Descriptions (SD)
Reply format:
1B – Length as ASCII hex
SD – Reply ASCII Lighting Device Command
07 – Lighting device description
NNN – Which lighting device description being returned,
001 – 192
Text[16] – 16 ASCII characters, “space” character
(20 hex) filled if less than 16 characters.
00 – future use
CC Checksum
Example: 1DSD07001Hall Light 0089D2
Lighting Device 001 Description – “Hall Light”
Note: The high bit of the first character in the text string may be set as the “Show
On Keypad” bit. Mask out the high bit for proper ASCII display.
If the first character in a requested name is a “space” or less, then the next
names are searched until a name is found whose first character is greater than
“space” or the “Show On Keypad” bit is set. If no valid names are found, a “000”
for the NNN address is returned. This speeds up the loading of names so that invalid
names are not returned.