Specifications

M1 Control RS-232 ASCII String Protocol Page 25 of 68 Rev. 1.79 July 16, 2009
cw – write custom value
NN – Which Custom Value to be written (2 decimal ASCII
digits, 1 based). ie.”16” = custom value 16. Range
1 to 20.
DDDDD – 16 bit Custom Value to write ( 5 decimal ASCII
digits)
If the Custom Value Format = 2, Time of day, place
the hours in bytes 3 and 4 as a hexidecimal value and
the minutes in bytes 1 and 2 as a hexidecimal value.
Then convert that value to decimal and place in the
DDDDD value.
00 – future use
CC Checksum
Example:
0Dcw050012300F7 Written value = 123 into Custom Value 5.
The “Reply With Custom Value” (CR command above) string will be returned after
the EEprom has been written.
Example: 0Dcw010541600F1 Write 9:40 PM to Custom Value 1 which
was previously set as a Time of day format. Convert time to 24 hour format:
21:40. Convert the hours and minutes to hexidecimal 15 28. Convert entire
value to decimal: 5416. Place in DDDDD value.
4.11 Change User Code (CU)
This command allows automation equipment to change a user code. The data
packet must include a Master User Code or the current user code of the user code to
be changed. 4.3.9 and after.
4.11.1 Request Change User Code (cu)
23– Length as ASCII hex
cu – Request change user code
ccc – User code to change
abababababab – Master or current user authorization code.
Upper and lower nibble of code. For user code the “a”
will be an ASCII zero (0). For Prox codes the “a”
expressed in ASCII, will be the upper nibble of the byte
of the Prox code. Right justified.
anananananan – New user code to change to. “a” is the
upper nibble of the user code in ASCII. Normally set to
zero(0). If a Prox code the value will be the upper
nibble of the Prox code byte in ASCII. Right justified.
NN – Areas code may be used in. Two ASCII Hex characters,
0-9,A-F, using the Hex value of each character as the
mask for 4 areas. Right most character is areas 1 to 4
with bit 0 equal to Area 1. Authorization code must be
valid in areas requested. If Area value = “00” then no
area change is made.
00 – future use, first byte used for Code Restriction
set/clear.
CC Checksum
Example:
23cu0050000030405060000090807062100BB
Request user code 5 to be changed to 009876,
authorized by user code 003456. Code is valid in Areas
1 and 6 if authorization code is valid in Areas 1 and 6.