MPCL STATEMENTS TO CONTROL MAX MR-16 c1998 Anitech Systems, Incorporated 25021 Anza Drive, Valencia, CA 91355 805-257-2184 MR1DRVR.DOC Revision 1.6 R1.0 1-18-98 (Commands listed are implemented) R1.1 1-29-98 (adds comments about MR-16 polling) R1.2 3-11-98 (title, copyright, check for presentation, LEVEL_DB -> DBLEVEL, % linear table) r1.3 4-17-98 (note about 1-based display, about + in cue statements, and including the button operation notes with top pages.) R1.4 4-21-98 (changes references in cues to be 1-based for patches, groups, inputs, and outputs; also added note about menu reports not reflecting message-induced changes immediately.) r1.5 4-27-98 (adds the RESET command to the list; it had been left out due to fears that it would reset the baud rate, but clients have been generating it with the SEND command anyway, without ill effect.) r1.6 4-28-98 (adds indications of how driver translates command, to bring the presentation into line with the document for the V4400.) Media Pro Control Language Statements SEM and ICM driver for MR-16 AUDIO MATRIX This summary assumes that the user is familiar with the MR16, its control messaging, and the methods for creating and applying patches and groups within the unit. Note that not ALL features of the MR16 are accessible with MPCL statements. PARAMETER VALUE RANGES (Note that even though the protocol for the unit is 0-based, the driver permits the cue statements to be 1-based ranges for the patch, group, input, and output number, thus making them agree with reports on the MR-16 display. The driver, however, will not change references in SEND commands, which must still be 0-based to align with the unit's protocol.) patch <-- { 1 to 32 } group <-- { 33 to 64 } ii <-- { 1 to 16 } oo <-- { 1 to 16 } preset<-- { 1 to 75 } tt <-- { 10 to 255 } b <-- { 0 to 1 } vl <-- { 0 to 100, percentage, with LEVEL token ) vd <-- { -420 to 60, absolute decibels in tenths, with DBLEVEL token; range 0 to 60 denote +db, but don't put + in cue.} CREATE PATCHES (connect input ii to output oo with level vl/vd) SET @Rr,s,p PATCH patch CHANNEL ii-oo LEVEL vl ; [02 patch ii-oo vl FF] SET @Rr,s,p PATCH patch CHANNEL ii-oo DBLEVEL vd ; [02 patch ii-oo vl FF] SET, RAMP LEVELS (works only on predefined patches and groups) (please see MR16 manual about operation of gain changes on groups) SET @Rr,s,p DEVICE patch/group LEVEL vl ; [00 patch/group vl FF] SET @Rr,s,p DEVICE patch/group DBLEVEL vd ; [00 patch/group vl FF] RAMP @Rr,s,p DEVICE patch/group LEVEL vl IN tt ; [1A patch/group vd FF] RAMP @Rr,s,p DEVICE patch/group DBLEVEL vd IN tt ; [1A patch/group vd FF] MUTE/UNMUTE (b=1 for UNMUTE, b=0 for MUTE) SET @Rr,s,p DEVICE patch/group AUDIO b ; [0F patch/group (1-b) FF) INPUT GAIN (professional vs. consumer) (use ii=16 for global set of all inputs, note that SEM4020 discriminates only neg/ non-neg arguments) SET @Rr,s,p INPUT ii DBLEVEL {-10,4} ; [08 ((+ OR -)01 or 00) FF] PRESETS (internally stored setup configurations) LOAD @Rr,s,p WITH preset ; [0C preset FF] RECORD @Rr,s,p TO preset ; [0B preset FF] LOCK FRONT PANEL (note that this command will be retired soon) (unit cannot be unlocked with any command) SETLOCK @Rr,s,p ON ; [OE FF] GROUP (LOAD adds single patch to group, UNLOAD removes single patch) LOAD @Rr,s,p LIST group PATCH patch ; [04 group patch FF] UNLOAD @Rr,s,p LIST group PATCH patch ; [05 group patch FF] DELETE PATCH OR GROUP, CLEAR THE MATRIX RESET @Rr,s,p DEVICE patch/group ; [((03 patch) or (0D group)) FF] RESET @Rr,s,p ; [01 FF] Level value translation from MPCL cue statements: (Partial table; firmware has complete tables) LINEAR vs ABSOLUTE(db) ================== ABSOLUTE(db) LINEAR(hex) LINEAR(%) -------- ------ ------ 0xF1 +6db 0xFF 100 0xD3 +0db 0x80 50 0xB5 -6db 0x40 25 0x97 -12db 0x20 12 0x79 -18db 0x10 6 0x5B -24db 0x08 3 0x3D -30db 0x04 2 0x1F -36db 0x02 1 0x01 -42db 0x01 1 0x00 -inf 0x00 (off) 0 Notes about button operation with messaging from the SEM or ICM: 1. The [SELECT]/[DOWN] manual lock operation only works if the panel is showing the PRESET MENU. In other menus the [DOWN] button is operative. 2. When the panel is locked with a serial LOCK FRONT PANEL command, the command does not take effect until the PRESET MENU is reached with [MODE]. If the panel is on another menu when the command is received, the field(s) on that menu can still be changed. If the panel IS on the PRESET MENU when the command is received, the 'VER 5.89 PRESET->01' line is not deleted until a front panel button is pressed. 3. Operation of front panel buttons affects the way the unit responds to messages from the RS232 port. When the panel is NOT locked, pressing buttons can delay the response from the unit. When the front panel IS locked, pressing the [UP], [DOWN], or [SELECT] buttons will cause the unit to not answer a 'RETURN'-type message for about two seconds; pressing the [MODE] button will cause the unit to stop answering these messages forever (pressing one of the other buttons will recover to the two-second delay, after which answers resume). It appears that only responses are affected -- a command sent during the two-second period, or during the forever period, is executed. 4. There is evidently an interaction between the 10/s polling and the manual exit from the locked condition. This has not been fully investigated, but noticed so far is that pressing the button sequence too quickly will result in failure, i.e., the panel remains locked. 5. The effect of changes to the unit's configuration and setup are not always immediately posted to menus on the screen. To verify, change menus and return to the menu of interest. MPCL STATEMENTS TO CONTROL MAX MR16 -- Anitech Systems, Incorporated page 1