Hi Dan,
The following information is from the Internet, I do not have any related devices to test myself.
The mixer understand many control protocols:
* MIDI directly (throw MIDI connectors)
* MIDI throw Ethernet (lets call it XCtrl, that way it can communicated with X-Touch)
* OSC
*
other
AZ Controller speaks MIDI and OSC. XCtrl is planned.
So theoretically all that can play together.
But I have 3 comments for your idea:
1) AZ Controller was written to steer Sonar from something else, not as a bridge between 2 devices. While till some degree that is possible, that is a "wrong gun type" for such "target".
But if you plat to use XL for controlling Sonar and just want assign some knobs from it to control fixed parameters in XR (f.e. input gain), that is a good argument to give it a try.
2) Once of the big advantages of Digitar Mixers is the ability to "instant recall" all settings. So they can be well controlled by devices which also have "install recall", to stay in sync with the mixer. F.e. X-Touch since it has endless encoders and motor faders. LauchControl XL has finite controls only, so it can be used "one way" only, ignoring the mixer current settings.
3) Such project will take quite some time. For sure you can test how that works (see tips below), but assigning all control the way it is really helpful in reality, in other words "designing" the layout, is an iterative creative process. So first think either it worse the benefits.
---------
Possible scenario:
1) Sonar + AZ Controller, LauchControl is enabled in Sonar and set as "input" for AZ Controlelr. Check with "Quick start" tutorial that you can control track volume with some knob.
You will need to learn at least basics of AZ Controller. I attach preset (required Test version of AZ Controller, at least b378, you can find it in Download section).
I have tested that my MPK Mini knob can control TouchOSC fader using that preset. You will have to reassign MIDI for the Knob to some knob from your XL. And then modify OSC parameters.
2) find in internet how to control XR18 by OSC, you will need OSC "name" for parameter in question. Replace "/volume" in the OSC Action for the Knob in AZ Controller to that name. Find IP of XR18, find which OSC port it has. Open OSC options in AZ Controller and set "Client port" to this port and "Fixed client" to XR18 IP. Set "Enable" (leave "No MIDI over OSC" as it is, XR18 probably understand such way as well but we are using direct OSC approach).
With some luck, it should work as expected.
-----------
Do not hesitate to ask questions, but if you have a bit of time, please read "ACT MIDI Explained", try "Startup preset" with your XL, read more about OSC. What you plan requires some background knowledge to not be lost in all that...