background image

AMX Control Module for: MTX5-D Matrix Processor 

Rev.1

4

Module Basics

This 

COMM module

 is an interpreter, translating a clearly understandable API to the unique command structure of 

the MTX5-D.  For instance, to set the volume of input 5 to 50% (using scale of 0-1000):

 

The API accepts:   

 

Input:Volume=5:500

 

Converts Command to: 

’setn MTX:stx_512/60000/0/4/0/0/0 0 0 500’,$0A

 

The status comes back:   

 “

’OK setn MTX:stx_512/60000/0/4/0/0/0 0 0 500 ‘,$22,’-15.57’,$22,$0A

 

The API returns:   

 

Input:Volume=In 5:Vol 500,On 1 (On)

By translating command strings from raw addresses to readable strings, writing and debugging your code is 
dramatically simplified.

The module implements the vast majority of the controls available in the MTX5-D.  “Set it and forget it” features like 
speaker tuning were left off, but otherwise the features set is rather complete.

The 

UI module

 has hard coded buttons and bargraphs for the most common features including:

-  Head Amp Gain, Phantom Power and Metering
-  Input and Output Volume Ramping, Target Level, Status, On/Off and Metering
-  Input EQ bands 1 & 3 Ramping, Status (you can set a treble/bass EQ easily)
-  Output Volume Ramping, Target Level, Status, On/Off and Metering
-  Effect 1 & 2 Patch and Parameter Adjustment

Because the MTX5-D would implement more features than can be hard coded to an AMX panel’s 4,000 buttons 
and 600 levels, we left the rest so you can implement the pieces you need.  Chances are you will be updating 
status as your panel navigation changes, so you need to write your own UI anyway.  To streamline that, the UI 
module has the parsing routine in a DATA_EVENT for every feature supported in the COMM module.  That should 
reduce the amount of time required for status updates.

In general, controlling 

binary values

 (like an on/off or mute button) will use settings of 0, 1 or T (for toggle).  The 

MTX does not have a native toggle command, but our COMM module tracks the status and sends the appropriate 
state for you.  Here are some examples of how a command would be formatted:

 

HeadAmp:48V=4:0  // This turns Input 4 Phantom Power Off

 

HeadAmp:48V=4:1  // This turns Input 4 Phantom Power On

 

HeadAmp:48V=4:T  // This toggles the state of Input 4 Phantom Power

Most 

range values

 operate in a range of 0-1000 and support ramping values with + and -.  The MTX does not 

have a native ramp command, but our COMM module tracks the status and sends the appropriate increase for you.  
There are some exceptions to that rule, such as the Effect Patch which only has 5 values, and some others were 
“ramping” commands didn’t seem appropriate.  Those will be noted in the protocol.

 

Output:Volume=12:500  // This sets Output 12 to 50% (scale is 0-1000)

 

Output:Volume=12:+    // This ramps Output 12 Volume up a step

 

Output:Volume=12:-    // This ramps Output 12 Volume up a step

The 

initial status

 of all features tracked by the module will be scanned when the control port comes online.  For 

IP sockets, this works very well because this means we scan as soon as we connect.  The RS232 port will scan 
as soon as the RS232 port comes online.  So long as the MTX is powered up and ready, this works fine.  If you 
turn the MTX off, we will need to rescan.  To do this, you can use an 

‘Init=1’

 SEND_COMMAND to the COMM 

module and the system will resynchronize all values. 

Содержание MTX5-D

Страница 1: ...AMX Control Module for MTX5 D Matrix Processor Rev 1 Release December 10 2014 ...

Страница 2: ...ion Note Customer must provide the 9 pin connector female housing female pins that is supplied with the lens AMX doesn t currently carry this connector 9 Pin D Sub Female AMX 41 0903 WITH AMX 41 0902 HOOD Revision Rev 1 Legend GND Ground RXD Receive Data TXD Transmit Data Connector Type 9 Pin D Sub Female Type of Control RS 232 2 RXD 3 TXD 5 GND RED WHT BLK TXD 3 RXD 2 GND 5 Revision Rev 1 Legend ...

Страница 3: ... cycled on the MTX5 D this string will need to be resent We have added a routine to automatically send the wake up string after every minute of silent communication between the controller and MTX5 D but if you cycle power on the MTX5 D it may be a short while between the MTX5 D finishing boot up and the serial port becoming available If you prefer to send a command to the module you can send WakeU...

Страница 4: ...o streamline that the UI module has the parsing routine in a DATA_EVENT for every feature supported in the COMM module That should reduce the amount of time required for status updates In general controlling binary values like an on off or mute button will use settings of 0 1 or T for toggle The MTX does not have a native toggle command but our COMM module tracks the status and sends the appropria...

Страница 5: ...f 12dB Oct 6 HPF High Pass Filter 7 LPF Low Pass Filter Audio Source 0 Disconnect 1 8 Analog Mic Line 1 8 9 12 Analog Stereo In 1L 2R 13 14 SD Card Player 15 30 YDIF 1 16 31 46 Dante 1 16 47 62 Card Slot 1 16 Meter Groups to Start Stop 1 Analog Input Meters Mic Line 1 8 St In 1L 2R 2 Input Channels Post EQ Inputs 1 30 3 Input Channels Post On Inputs 1 30 4 Effect Returns Effect 1L 2R 5 Matrix Zone...

Страница 6: ...Delay 1 10 sec HSOFF XOFF SET BAUD 38400 115200 N 8 1 485 DISABLE Sets parameters for the module to connect to the MTX5 D For IP you will want to send in the IP address and other IP settings as shown then turn on channel 250 on vdvCom Whenever channel 250 is on the module tries to keep the IP socket connected If the connection is lost the module will automatically attempt to re establish the link ...

Страница 7: ...s the status of each parameter and sends a discrete command to raise or lower the value by these increments If you want larger steps for these commands you could send this in when the module comes online Set StatusSyncInterval msec default 250 When the control port comes online the module begins a timeline to scan the status of all tracked features on the MTX5 D This adjusts the polling interval o...

Страница 8: ... Input AGC NoiseGate In 0 1 T Input AGC On In 0 1 T Input AGC In 1 8 ResponseTime 0 1000 Level 0 1000 NoiseGate 0 Off 1 On On 0 Off 1 On Input Comp Threshold In 0 1000 Input Comp Ratio In 0 1000 Input Comp Knee In 0 1000 Input Comp Attack In 0 1000 Input Comp Release In 0 1000 Input Comp Gain In 0 1000 Input Comp On In 0 1 T Input Comp In 1 16 25 28 Threshold 0 1000 Ratio 0 1000 Knee 0 1000 Attack...

Страница 9: ... InputDCA Volume In DCA 0 1000 InputDCA Mute In DCA 0 1 T InputDCA In 1 8 Vol 0 1000 Mute 0 UNMUTED 1 MUTED MatrixOutput Volume MatrixOut 0 1000 MatrixOutput On MatrixOut DCA 0 1 T MatrixOutput Out 1 16 Vol 0 1000 On 0 Off 1 On MatrixSend Volume In Send 0 1000 MatrixSend On In Send 0 1 T MatrixSend In 1 34 Send 0 16 Vol 0 1000 On 0 Off 1 On Meters Start Meter Group Level Hold Refresh Interval msec...

Страница 10: ...v 1 10 Send Commands Status Strings Output Volume Out 0 1000 Output On Out 0 1 T Output Out 1 16 Vol 0 1000 On 0 Off 1 On OutputDCA Volume Out 0 1000 OutputDCA Mute Out 0 1 T OutputDCA Out 1 8 Vol 0 1000 Mute 0 UNMUTED 1 MUTED Preset 1 50 Preset 1 50 ...

Отзывы: