Contact HMS Store Manager

Goto HMS-Brightsign Home Page

Contact HMS Technical Support

HMS Home Logo

DMX Scene Format (Protocol)

Scene's are a series of commands separated by 'Pauses'.  The pauses are three bytes (Minutes, Seconds, 10Milliseonds).  IF all 3 bytes are zero, (or the 'Minutes byte = 170) then the next command is executed without delay.  Up to 1024 bytes of Scene data (commands and data) can be programmed for each scene.  Very complex scenes can be recorded/played.  The scene play could last hours or be completed immediately depending on 'Pause Times'.  Every Command is followed by a pause time, or 170 (no pause) or 255 if 'end of Scene' (without exception).

Link: Scene Editor  (Windows Compatible and the file needs to be un-zipped) This Scene Editor will open a file on the computer (saved files) or retrieve a scene from the HMS board, and save a scene to the HMS board or to the computer.  This is a simple 'decimal' editor.  Each byte of the scene (256 bytes or less) is displayed for editing in an 'edit window'. 'Overstrike' does not work.  So, delete a byte and then type in the byte or type in a byte and then delete the byte to keep the file size intact.  If a number greater than 255 is entered, the program will ask for a fix when saving the file.

The format of a Scene is:

Note: The 'Play Scene' format is [32,Scene_Number, Loop Count, 204]

Command Sequence, Pause time (Minutes, Seconds), Command Sequence, Pause Time,....(any number of Commands & Pause Times).........,Command Sequence, 255 

Notes On Commands:

 

Play Scene Examples (Version 4.0 Firmware with new 512 DMX byte control

Scene 28:  Set lower channels 1 to 4 on with fade (sequentially)
[32,28,001,204] (loop or repeat the scene 1 time)

Scene 29:  Set lower channels 1 to 4 on instant (fade = 0)
[32,29,001,204] (loop or repeat the scene 1 time)

Note: For scenes 30 -32 to work, the DMX 512 byte needs to be set to 255.  Do this by using CMD 37 to set this feature [37,255,204]

Scene 30:  Set your DMX box to channel 256.  This uses command 30 (set upper channel)
[32,29,001,204] (loop 1 time)

Scene 31:  Set you DMX box to channel 256.  This uses command 31 to set upper channels (start channels, value, value...204]  For this 'play command to work, the value has to be followed by 204 so that the command can be terminated and then move on to pause or 'end of scene'
[32,31,000,204] (no loops/repeats)

Scene 32:  Set you DMX box to channel 508.  Channels 511 to 508 are sequenced on (one channel at a time).
[32,32,000,204] (no loops/repeats)

Note: View any of these scenes on your computer using Command 40 (say scene)

You can test your 'command strings' using a terminal program and my 'RS232-TTL Adapter' Board.  Then 'record the strings' to your computer and use the terminal program to 'send a 'ascii/binary' to the port.  The first 3 bytes of this 'Scene' are [33, Scene# (1-31) and 254].  I 'cut and paste' my command data from my Terminal Program to an editor that allows me to edit in hex (don't know of any that allow editing in decimal).  Then I modify data by adding in the 'Record Scene' command sequence.  Then save this file to disk.  Then use the Terminal program to send this scene to the HMS Board.  

 

Updated: July 27, 2016