# Hazer DMX Programming

Discussion in 'Special Effects' started by Jamyo, Dec 11, 2008.

1. ### JamyoMember

Messages:
32
0
Location:
Charlotte, MI
Okay, we have a Magnum Hazer that we are working to program DMX into the board. We have a Leviton Innovator 600 board. I am having trouble with the binary weight calculations and how that is converted to the dip switch. Any suggestions?

Here is the language from the hazer manual that my frazzled brain can't seem to make sense of:

Setting of the base address of the DMX control system via the Dip-switch,
requires the decimal address to be converted to a binary (base 2) number.
Many pocket calculators can perform this conversion, or the user can read
off the settings from a printed conversion table.
An alternative is to use a simple process of subtracting the largest of the
binary weightings that leave a positive result.
Example:
Decimal 289.
Largest subtraction possible is 256, leaving 33.
Now, 33-32 = 1, and 1-1 =0.
So, we need a binary representation with 1’s in the positions corresponding
to weightings of 1,32,256.
Or, 100100001, where 256 is the leading column.
The weighting on the Dip-switch is reversed, so the number 100001001 is
entered from left to right.
The binary weightings on the Dip-switch read as follows: 1,2,4,8,16,32,64,128,256
The remaining 3 switches, marked S1,2,3, are function switches that enable
special operating modes on the machine.
Thanks for any assistance you can offer!!

Messages:
4,445