Side panel

Manual for MIDI Agente Relay Uno

The control of MIDI Agente Relay Uno switcher is very simple. This manual is somewhat comprehensive because it describes all the possibilities of using the switch, even the less used ones.

If your module contains a smaller number of relays, the module responds as if it contained all the relays, only the non-existent ones do not switch, of course.

The switchers can be operated in the following ways:

1. Simultaneous control: the sum of the bit weights of relay using MIDI commands Program Change or Control Change

These commands can be used to set all relays simultaneously. Using our MIDIConfig web tool can be configured the command that the switcher responds on: Program Change or Control Change or none of them.

The same way can be configured the channel number ch and a global CC number cc.

The default settings sre:

  • Control by Program Change command
  • Channel number ch: 1

The value is the sum of the bit weights:

value = weight(relay1) + weight(relay2) + weight(relay3) + weight(relay4) + weight(relay5) + weight(relay6) + weight(relay7)

<Program Change channel=ch value=value>

or

<Control Change channel=ch CC_number=cc value=value>

Relay

Weight of a relay for sum

Switch OFF

Switch ON

1

0

1

2

2

3

4

4

8

5

16

6

32

7

64

Table 1: Binary weights for relays 1 - 7

All combinations: see Table 3.

Example:

<Program Change channel=ch value=3> switches relays 1 and 2 on, relays 3 to 7 off. (3=1+2)

<Program Change channel=ch value=0> switches relays 1 to 7 off.

<Program Change channel=ch value=65> switches relays 1 and 7 on, relays 2 to 6 off. (65=1+64)

<Control Change channel=ch CC_number=cc value=127> switches relays 1 to 7 on.

 

2. Control individual relays by Control Change command

Each relay can have assigned individual Control Change. It can be assigned in MIDIConfig web tool. For example, in case of 7 relays, CCs #16 to #22 can be assigned sequentially for each relay, they usually have no special function in MIDI devices. There is an option to globally switch the simultaneous control off (see paragraph 1) to be able to control the realys only individually (not simultaneously) if it suits to the user.

<Control Change channel=ch CC_number=cc value=value>

Relay

CC number

Value

Switch OFF

Switch ON

1

ex. 16

any value in range 0 – 63

any value in range 64 – 127

2

ex. 17

3

ex. 18

4

ex. 19

5

ex. 20

6

ex. 21

7

ex. 22

Table 2: Valeus for switch off and on using Control Change command

Example:

<Control Change channel=ch CC_number=19 value=0> switches the relay 4 off.

<Control Change channel=ch CC_number=22 value=127> switches the relay 7 on.

 

By default, there are no individual CCs assigned for any relay.

 

Table of values for combinations of relays 1 – 7

0 = switch off, 1 = switch on; the values in parentheses are valid for numbering from 1 to 128 - it is usually used for Program Change commands while Control Change commands always use real numbering from 0 to 127.

Relay Value   Relay Value   Relay Value   Relay Value
7 6 5 4 3 2 1   7 6 5 4 3 2 1   7 6 5 4 3 2 1 7 6 5 4 3 2 1
0 0 0 0 0 0 0 0 (1)   0 1 0 0 0 0 0 32 (33)   1 0 0 0 0 0 0 64 (65)   1 1 0 0 0 0 0 96 (97)
0 0 0 0 0 0 1 1 (2)   0 1 0 0 0 0 1 33 (34)   1 0 0 0 0 0 1 65 (66)   1 1 0 0 0 0 1 97 (98)
0 0 0 0 0 1 0 2 (3)   0 1 0 0 0 1 0 34 (35)   1 0 0 0 0 1 0 66 (67)   1 1 0 0 0 1 0 98 (99)
0 0 0 0 0 1 1 3 (4)   0 1 0 0 0 1 1 35 (36)   1 0 0 0 0 1 1 67 (68)   1 1 0 0 0 1 1 99 (100)
0 0 0 0 1 0 0 4 (5)   0 1 0 0 1 0 0 36 (37)   1 0 0 0 1 0 0 68 (69)   1 1 0 0 1 0 0 100 (101)
0 0 0 0 1 0 1 5 (6)   0 1 0 0 1 0 1 37 (38)   1 0 0 0 1 0 1 69 (70)   1 1 0 0 1 0 1 101 (102)
0 0 0 0 1 1 0 6 (7)   0 1 0 0 1 1 0 38 (39)   1 0 0 0 1 1 0 70 (71)   1 1 0 0 1 1 0 102 (103)
0 0 0 0 1 1 1 7 (8)   0 1 0 0 1 1 1 39 (40)   1 0 0 0 1 1 1 71 (72)   1 1 0 0 1 1 1 103 (104)
0 0 0 1 0 0 0 8 (9)   0 1 0 1 0 0 0 40 (41)   1 0 0 1 0 0 0 72 (73)   1 1 0 1 0 0 0 104 (105)
0 0 0 1 0 0 1 9 (10)   0 1 0 1 0 0 1 41 (42)   1 0 0 1 0 0 1 73 (74)   1 1 0 1 0 0 1 105 (106)
0 0 0 1 0 1 0 10 (11)   0 1 0 1 0 1 0 42 (43)   1 0 0 1 0 1 0 74 (75)   1 1 0 1 0 1 0 106 (107)
0 0 0 1 0 1 1 11 (12)   0 1 0 1 0 1 1 43 (44)   1 0 0 1 0 1 1 75 (76)   1 1 0 1 0 1 1 107 (108)
0 0 0 1 1 0 0 12 (13)   0 1 0 1 1 0 0 44 (45)   1 0 0 1 1 0 0 76 (77)   1 1 0 1 1 0 0 108 (109)
0 0 0 1 1 0 1 13 (14)   0 1 0 1 1 0 1 45 (46)   1 0 0 1 1 0 1 77 (78)   1 1 0 1 1 0 1 109 (110)
0 0 0 1 1 1 0 14 (15)   0 1 0 1 1 1 0 46 (47)   1 0 0 1 1 1 0 78 (79)   1 1 0 1 1 1 0 110 (111)
0 0 0 1 1 1 1 15 (16)   0 1 0 1 1 1 1 47 (48)   1 0 0 1 1 1 1 79 (80)   1 1 0 1 1 1 1 111 (112)
0 0 1 0 0 0 0 16 (17)   0 1 1 0 0 0 0 48 (49)   1 0 1 0 0 0 0 80 (81)   1 1 1 0 0 0 0 112 (113)
0 0 1 0 0 0 1 17 (18)   0 1 1 0 0 0 1 49 (50)   1 0 1 0 0 0 1 81 (82)   1 1 1 0 0 0 1 113 (114)
0 0 1 0 0 1 0 18 (19)   0 1 1 0 0 1 0 50 (51)   1 0 1 0 0 1 0 82 (83)   1 1 1 0 0 1 0 114 (115)
0 0 1 0 0 1 1 19 (20)   0 1 1 0 0 1 1 51 (52)   1 0 1 0 0 1 1 83 (84)   1 1 1 0 0 1 1 115 (116)
0 0 1 0 1 0 0 20 (21)   0 1 1 0 1 0 0 52 (53)   1 0 1 0 1 0 0 84 (85)   1 1 1 0 1 0 0 116 (117)
0 0 1 0 0 1 1 21 (22)   0 1 1 0 1 0 1 53 (54)   1 0 1 0 1 0 1 85 (86)   1 1 1 0 1 0 1 117 (118)
0 0 1 0 1 1 0 22 (23)   0 1 1 0 1 1 0 54 (55)   1 0 1 0 1 1 0 86 (87)   1 1 1 0 1 1 0 118 (119)
0 0 1 0 1 1 1 23 (24)   0 1 1 0 1 1 1 55 (56)   1 0 1 0 1 1 1 87 (88)   1 1 1 0 1 1 1 119 (120)
0 0 1 1 0 0 0 24 (25)   0 1 1 1 0 0 0 56 (57)   1 0 1 1 0 0 0 88 (89)   1 1 1 1 0 0 0 120 (121)
0 0 1 1 0 0 1 25 (26)   0 1 1 1 0 0 1 57 (58)   1 0 1 1 0 0 1 89 (90)   1 1 1 1 0 0 1 121 (122)
0 0 1 1 0 1 0 26 (27)   0 1 1 1 0 1 0 58 (59)   1 0 1 1 0 1 0 90 (91)   1 1 1 1 0 1 0 122 (123)
0 0 1 1 0 1 1 27 (28)   0 1 1 1 0 1 1 59 (60)   1 0 1 1 0 1 1 91 (92)   1 1 1 1 0 1 1 123 (124)
0 0 1 1 1 0 0 28 (29)   0 1 1 1 1 0 0 60 (61)   1 0 1 1 1 0 0 92 (93)   1 1 1 1 1 0 0 124 (125)
0 0 1 1 1 0 1 29 (30)   0 1 1 1 1 0 1 61 (62)   1 0 1 1 1 0 1 93 (94)   1 1 1 1 1 0 1 125 (126)
0 0 1 1 1 1 0 30 (31)   0 1 1 1 1 1 0 62 (63)   1 0 1 1 1 1 0 94 (95)   1 1 1 1 1 1 0 126 (127)
0 0 1 1 1 1 1 31 (32)   0 1 1 1 1 1 1 63 (64)   1 0 1 1 1 1 1 95 (96)   1 1 1 1 1 1 1 127 (128)

Table 3: Combinations of binary weights for relays 1 - 7

 
 
Nahoru