MIDI Solutions R8 8-output MIDI-controlled Relay Array User Manual

Page 5

Advertising
background image

NOTE

To program the R8 to respond to a Note message, send it the following System Exclusive programming command:

(

is optional)

All bytes must be in Hexadecimal format (see hexadecimal conversion table at end)

= Relay (00 for Relay1 ... 07 for Relay8)

is set as follows:

if

is omitted then:

= 00: relay OPENS for Note-Ons and Note-Offs

= 01: relay CLOSES for Note-Ons and Note-Offs

= 02: relay CLOSES for Note-Ons, OPENS for Note-Offs

= 03: relay OPENS for Note-Ons, CLOSES for Note-Offs

if

is included then:

= 00: relay produces CLOSED pulse for Note-Ons

= 01: relay produces CLOSED pulse for Note-Offs

= 02: relay produces OPEN pulse for Note-Ons

= 03: relay produces OPEN pulse for Note-Offs

= MIDI Note number

= MIDI channel (see MIDI channel table at end)

= Pulse width in 8 ms increments, or 1 s increments if preceded by 00

The R8 will accept a combined total of 10 Note or Control Change settings per relay.

To program the R8 to close Relay6 for 10 seconds when Note-On middle C is received on any MIDI channel, set

(Relay6),

(relay produces CLOSED pulse for Note-Ons),

(middle C is Note number 60, 3C is the

hexadecimal value for 60),

(7F specifies all MIDI channels), and

(0A is the hexadecimal value for

10, preceded by 00 to specify 1s increments). These values result in the following System Exclusive programming
command:

F0 00 00 50 26 01

F7

F0 00 00 50 26 01 rr aa nn cc (pp) F7

pp

rr

aa

pp

aa

aa

aa

aa

pp

aa

aa

aa

aa

nn

cc

pp

Example

rr =

05

aa = 00

nn = 3C

cc = 7F

pp = 00 0A

05 00 3C 7F 00 0A

5

Advertising