BASIC: Set a S-button for CC (Control Change)

something
on the screen
MENU
Which Function?
Press P1 -> P6
P3 to enter the Button Menu.
Select a Switch 
S1 - S16
S?? to choose your S-button.
If you want a S-button higher than 16, press UP and DOWN at the same time.
Auto Prog CC msg
MIDI Chan = 01
UP/DOWN change it to Midi-channel you want to use (MIDI 1 in my case).
S16 to save and jump to the next step.
Auto Prog CC msg
CC# = 011
UP/DOWN change it to the right CC number (CC11 in my case).
S16 to save and jump to the next step.

REMARK: By using the Auto Programming function, This S-button has now 1 ON-command (CC11 = 127) and 1 OFF-command (CC11 = 000).

Switch Type
Stomp
UP/DOWN untill you get STOMP (which is a normally ON/OFF switch).
S16 to save and jump to the next step.
on 01M01 AXE-FX
C:B  1:011 2:127
Everything is set, we want to leave the MENU.
MENU MENU
something
on the screen

top - menu