ETC Cobalt Family v7.0.0 User Manual

Page 253

Advertising
background image

251

Serial COM data

In an Action Macro, this data is started with the word COM. Two parameters are used after the COM
type.

• Group number (group 0 is the local console) followed by a comma.

• The parameter values (hexadecimal or ASCII)

RULES

• You can mix ASCII and hexadecimal values.

• The data bytes are separated by a space character.

• A hex byte is always written as two hexadecimal characters (like AE) followed by a space.

• An ASCII character is written as a single character followed by a space.

• Carriage return is written 0D.

• Line feed is written 0A.

• Tab is written 09.

Examples

COM 1 ,ee 0e 00 00 40 M a c r o 1 . E X E C 00 00 (ETC Unison system example string)

COM 1 ,41 42 43 sends a serial string with three bytes (all values in hex)

COM 1 ,P L A Y 1 sends a serial string with the value PLAY1 (ASCII data)

COM 1 ,P L A Y 1 0D sends a serial string with the value PLAY1 followed by Carriage Return.

MIDI Data

You can send an arbitrary data string on the console MIDI port, or through MIDI on a Net3 Gateway.

In an Action, this data is started with the word MIDI followed by port, comma and data.

RULES
When specifying data for a MIDI port trigger or Action, you enter the string with hexadecimal values.

• Group number (group 0 is the local console) followed by a comma.

• The data bytes are separated by a space character.

• A hex byte is always written as two hexadecimal characters (like 7E) followed by a space.

• Basically any type of MIDI message can be sent from an Action Macro. Note On, Note Off,

Program Change and System Exclusive (including Midi Show Control) messages are most
frequently used.

Advertising