Specifications

M1 Control RS-232 ASCII String Protocol Page 26 of 68 Rev. 1.79 July 16, 2009
4.11.2 Reply Change User Code (CU)
0B – Length as ASCII hex
CU – Reply Lighting Device Status data
ccc – 000 = User code change denied due to invalid
authorization code, 001 to 254 indicates user code
that was changed. 255 = new code is a duplicate and
change is denied.
00 – future use
CC Checksum
Example:
09CU005000A User code 005 was changed.
Example:
09CU000000F User code denied due to invalid
authorization code.
Example:
09CU2550003 User code denied due to duplicate
code.
Note: Setting the first future use byte to “1” in the “cu” command will set the user code
restriction which will prevent the code from being used. Setting the first future use byte to
“0”, enables the code to be used.
To M1: 23cu0050000030405060000080807062110BB If you send the first Future
Use byte as a ‘1’, the code will not be programmed, but the restriction on the code will
be enabled.
From M1: 09CU0051009 Response from the M1 that the code is restricted.
To M1: 23cu0050000030405060000080807062120BA Sending a ‘2’ value in the first
Future Use byte takes the code restriction away.
From M1: 09CU005000A Response from M1 with the code restriction cleared.
4.12 Change And Read Counter Values (CV)
This request command allows automation equipment to read and change a
Counter Value stored in the M1. Counter Values are RAM based and may be used as
flags or to hold simple math values. This feature is available in M1 versions 4.1.11,
5.1.6 and later.
4.12.1 Read Counter Value (cv)
08 – Length as ASCII hex
cv – Read counter value command
NN – Which Counter Value to be returned (2 decimal ASCII
digits, 1 based). ie.”16” = counter value 16. Range 1 to
64.
00 – future use
CC Checksum
Example: 08cv0100FE Read counter number 1.
4.12.2 Write Counter Value (cx)
0D – Length as ASCII hex
cx – Write counter value command