The message format looks like this:
F0 7F Device ID 02 Command Format Command Data F7
F0 7F is the header that identifies the message as "universal system exclusive" and a "real time" message.
Device ID is the device or group number.
02 is a hex octet specifying that the message is MSC.
Command Format is an octet that specifies the equipment type.
Command is an octet that defines the command type
Data is the actual data. This might change depending on the command type.
F7 is a closing octet finishing the message.
Device ID
The device ID is an octet actually divided into three different sections:
00 to 6F:
This is the 112 different specific devices that can be identified.
70 to 7E:
This is the 15 group numbers.
7F:
This is a broadcast ID that all devices listen to.
In dot2 the device ID and group ID can be set for both incoming and outgoing messages.
For transmitting MSC it can only transmit one octet in the Device ID location. The Send to setting (described
above) selects which one of the three different sections ID that should be transmitted.
Command Format
The command format octet denotes the type of equipment that should receive the message (or at least respond).
dot2 only transmit and respond to three different formats:
01:
This is the General Lighting format
02:
This is Moving Lights format.
7F:
This is an All format that all equipment should respond to.
Command
The command octet denotes the type of command in the message. The command type will dictate the data
information.