beautypg.com

Doug Fleenor Design 2322DMX User Manual

Page 2

background image

Indicators
The red POWER LED will illuminate when the interface is powered.
The green MIMIC LED has no function at this time
The green SIGNAL LED will flash when an RS-232 command is received while in mode
zero. While in mode one, the SIGNAL LED will turn on when DMX input is present.

Address switches
While in mode one, the address switches select a “channel of interest”. The interface
will report changes in level for the channel of interest in the standard level format
described in the protocol below.

Communication port settings
The RS-232 port is configured with the following settings:

Baud

9600

Start bits

1

Data bits

8

Parity

None

Stop bits

1

No handshake signals are required or provided.

The RS-232 port is full duplex and the receiver has a 256 byte circular buffer.

If you are using a Windows computer, the comm port flow control must be set to None.
The FIFO buffers should be disabled.

Protocol
All commands are sent in plain ASCII format. Each command is terminated with a
carriage return . This is the character used by the interface to trigger any action.
The hexadecimal value for the is 0x0d.

After receiving a carriage return, the interface with respond with the characters received
followed by “OK” if the command was formatted and processed successfully. If there
was any syntax problem, the interface will respond with the characters received
including the error-causing character and “Error”.

Spaces between commands are optional. All letters can be either upper or lower case.
All channel numbers are in the range of 1-512. All channel levels are in decimal in the
range of 0-255. All preset numbers are in the range of 1-20. All times are in the range
of 0-999. Leading zeros are allowed and are optional. The total number of digits must
not be more than is allowed for the given parameter. For example, sending a preset
number as “005" will cause an error because only two digits are allowed in preset
numbers. Sending “05" as a preset number is acceptable. Similarly, a channel number
of “004" is OK while “0004" would cause an error.

One special command is executed immediately without the terminator. Sending
the ASCII dollar sign character ($) will cause the interface to immediately reset. This
feature was added as a fallback in case the input buffer becomes overrun. Any
pending actions are aborted when this character is received.