Contact HMS Store Manager

Goto HMS-Brightsign Home Page

Contact HMS Technical Support

HMS Home Logo

Scene Format (Protocol)

Scene's are a series of commands separated by 'Pauses'.  The pauses are three bytes (Minutes, Seconds and 10Milliseconds).  IF all three bytes are zero, then the next command is executed without delay.  Also, if the first delay byte = 170 (decimal), then the pause time is skipped.  Up to 256 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 'no pause' of 170, 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:

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

Notes On Commands:

 

Here is an example of some 'Scenes' that has port Data or Color Data (RGBW Board):

1. Turn on Port1 (binary 00000001) and Port2 (binary 10000000) and Pause for 0 minutes and 3 seconds and 0 1/10 seconds

[01, 01, 128, 00, 03,00]

2. Turn on Red, Green and Blue, 50% brightness and medium ramp speed of 10, end of scene (no Pause).

[04,07,128,10,170]

The code would look like this when viewing using a terminal program:  Note: Most 'Terminal Programs' show the data in hex!

[01  01  80  00  03  04  07  80 0A  FF]  (followed by all FF).

The Decimal equivalent is:  [001  001  128  003  004  007 128  010  255]  Because the 'Minutes' of the Pause byte is 255, this signals 'End of Scene'

Note: For Command strings that have '# Bytes' in the command.  Do not include the 'Pause Time' in the #Bytes calculation.  The '#Bytes' is used to count the bytes to be place in the appropriate buffer (mostly DMX bytes).

You can test your 'command strings' using the 'Scene Editor' (link shown above) on a 'Windows' computer and my 'RS232-5V Adapter Board'.  This board can be used to supply any HMS-RS232 board with 5 volts to pin 4 of the DB9 connector..  Then 'record the strings' to your computer and use 'Scene Editor program to send scene file to the RS232 port.

RE: New 512 Channel Commands: (Development of this feature is in progress)
Prior to using command 30 or 31 in a scene command (setting the upper channels) the command for the number of upper channels to sent has to be sent.  This is command 37 and cannot be issued from a scene!  The value of command 37 is recorded in permanent memory and only has to be sent 1 time.

 

Updated: July 26, 2016 Note: The scene commands for the upper channels is in progress.  Consult HMS Electronics Technical Support if you have a question about using the upper channels on a specific board!