Example
Moog Animatics Class 5 SmartMotor™ DMX Guide, Rev. C
Page 24 of 46
1 2 3 4 5 ... ... ... ... ... ... 512
1 2 3 4 5 6 ... ... ... ... ... 101
0
DMX network packet
first
COMCTL(1,3)
COMCTL(4,4)
COMCTL(2,3)
Time
aw[ ] registers
last
Data Transfer from DMX to SmartMotor Array
Data from the DMX packet is stored into the SmartMotor user-variable word array. Even
though the channels are 8-bit data, the 16-bit word locations are used for storage in order to
represent the data as unsigned numbers. When stored as words, the values 0 through 255
appear unsigned. (If the values were presented as bytes, they would appear negative to user
programs when larger than half of the scale.)
Typically, most DMX devices (including the SmartMotor) use a "base channel". The
SmartMotor does that using COMCTL(1,x), where x is the base channel: 1-512.
Example
Settings:
l
Base DMX channel = 5
l
Number of DMX channels = 2
DMX
Channel
SmartMotor
Variable
1
2
3
4
5
aw[0]
6
aw[1]
7
...