Special Range Checking
Moog Animatics Class 5 SmartMotor™ DMX Guide, Rev. C
Page 28 of 46
Special Range Checking
The following range checks would apply due to a combination of the previously listed
commands:
l
If the value of the base c number of channels exceeds 512, then the additional
channels will be ignored.
l
If the value of the aw[ ] starting c number of channels exceeds 102, then the
additional channels will be ignored.
These checks are performed after commands COMCTL(1,value), COMCTL(2,value) and
COMCTL(4,value).
Open DMX Channel
The following commands are used to open a DMX channel:
l
OCHN(DMX,1,N,250000,2,8,D)
uses COM1 for D-style motors; by default, DMX on
COM1 is disabled (port closed).
l
OCHN(DMX,0,N,250000,2,8,D)
uses COM0 for M-style motors.
Data begins writing into the aw[x] registers as soon as the port is open and valid DMX packets
arrive.
Any other parameters will result in command error, and the state of the port remains
unchanged. DMX specifies these settings: 250 kBd, 8 data bits, 2 stop bits, no parity check.
Close DMX Channel
The following commands are used to close a DMX channel:
l
CCHN(DMX,1)
for D-style motors
l
CCHN(DMX,0)
for M-style motors
These commands:
l
Stop listening for DMX data
l
Clear flags in Status Word 12
l
Values in the aw[ ] array are left as is
NOTE:
Data in the aw[ ] array may be only partially updated if the channel closes
at the moment the DMX data is being loaded.
Содержание Class 5 SmartMotor
Страница 1: ...For the mobile version of this guide see animatics com docs guides html c5_dmx...
Страница 45: ......
Страница 46: ...PN SC80100004 001 Rev C...