Bc2000 (for the BCF2000 & BCR2000) group photo

Yahoo Groups archive

Bc2000 (for the BCF2000 & BCR2000)

Index last updated: 2026-04-28 23:16 UTC

Message

Re: Latching controls on and off...

2013-02-24 by Royce

Welcome

> I have some experience with SysEx messages and controlling various devices
with them. I am wondering just how one can program a momentary button, say
those atop the bc's, to latch on and off.
>
Get Mark's editor from his website (mentioned in the files area)
Get the BCL (Behringer Control Language) while you are there.
Have a read of my SecretBC.pdf , again in the files area.

> What I am asking seems simple, but lets get deeper... Say I want to send a
SysEx message from that button to turn a function to "on". I then have to send
a slightly different Sysex chain to turn that same function "off". (changing one
bit of the hex) Let us also say that the device controlled by the BC only
accepts input and does not feed any signal back to the BC.
>
The code you use is
$button 33
.minmax $23 $12
.default $23
.mode toggle ; for latch or 'updown'= momentary
.tx $F0 ... val .. $F7

"val" is the current value assigned to a button, encoder or fader and will be
substituted in the sysex message
On - the max value
F0... 12 ... F7
Off - the min value
F0... 23 ... F7

You can repeat 'val' or use other 'val' types (bits of the 14bit data the BC
uses)

$button 33
.minmax $0023 $3F14
.mode toggle
.default $23
.tx $F0 ... val7.13 ... val0.6 .. $F7

On - the max value
F0... 7E ... 14 ... F7
Off - the min value
F0... 00 ... 23 ... F7


> Can I do this with the same button?
Yes if you can organise the sysex to fit.
It can't do different lengths of sysex for example
Not possible
ON
F0 41 23 34 F7
OFF
F0 41 23 34 13 56 F7


> Can the LED on the button correspond?
The LED matches the state of the button.

> What happens if I turn the BC off and then on again, and the controlled device
hasn't changed?

You can change patches and the BC will remember the state of all the other
patches, but when you power on the BC, it loads the default into the value of
the button

Hope this helps
Royce

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.