DMX Commands
Moog Animatics Class 5 SmartMotor™ DMX Guide, Rev. C
Page 27 of 46
The following diagram shows how COMCTL(3,value) is useful in applications with multiple
motors.
DMX Network Packet
Start
code
First
data
Last
data
Byte:
0
1
2
3
4
…
512
Data configuration motor 1:
COMCTL(1,1), COMCTL(2,1)
Selected
data
Data configuration motor 1:
COMCTL(1,2), COMCTL(2,1)
Selected
data
Data configuration motor 1:
COMCTL(1,3), COMCTL(2,1)
Selected
data
Data configuration motor 1:
COMCTL(1,4), COMCTL(2,1)
Selected
data
Status bit B(12,2), e.g., when
COMCTL(3,4) in all motors
Bit
set
a,b,c
a) Bit set when this byte is complete.
b) All motors see the bit at the same time.
c) All motors have received their data at this point.
DMX Commands
The following sections describe the DMX-specific commands that are available on the
SmartMotor. The commands are organized by function.
Select DMX Channels
The following commands are used to select the DMX channels:
NOTE:
If the input is out of range, these commands will be ignored and issue a
command error. They do not retain any settings between power cycles.
l
COMCTL(1,value)
Set base channel [value] (1 through 512); default is 1 at power-up.
l
COMCTL(2,value)
Set number of channels [value] to read starting with base channel
(1 through 102); default is 1 at power-up.
l
COMCTL(3,value)
Sync on channel, where value is the channel number 1-512; default
is 512 at power-up. User bit 2 is set when that channel is received. Therefore, a full 512
channel packet will set this bit at the end of the packet.
l
COMCTL(4,value)
Allows for the selection of the aw[ ] register where the DMX data
begins loading; default is 0 at power-up. For example, COMCTL(4,10) will start loading
DMX data at aw[10].