
DM Series Digital Matrix Processors
LECTROSONICS, INC.
40
Command Description
prgin
Programmable input state
prgindef
Programmable input definition
prginundef
Programmable input un-definition
prgout
Programmable output state
prgoutdef
Programmable output definition
prgoutht
Programmable output hold time
prgoutiv
Programmable output invert
prgoutqt
Programmable output qualification time
NOTE: All commands are terminated with an
ASCII carriage return character (hex code 0x0D),
represented by <CR> in the examples. All
responses are terminated with an ASCII carriage
return, line feed pair (hex codes 0x0D, 0x0A),
represented by <CRLF> in the examples. An
ellipsis (...) represents members of an array that
have been omitted from an example for the sake
of brevity.
prgin (programmable input state)
This command may be used to simulate a momentary
contact closure on a programmable input, or as a query
to read the state of programmable inputs. The program-
mable input is specified by using the address syntax.
Addresses must be in the range 1 to 22.
NOTE: Simulated contact closures have no effect
for programmmable inputs configured for analog
gain control.
The data returned is integer, with the possible values
depending on the nature of the function assigned to
the programmable input. For analog gain functions, the
values are in the range 0 to 255, representing the volt-
age sensed by the programmable input (0 is for 0 Volts,
255 is for 5 Volts). For all other funcitons, the value is
either “1”, meaning that the input is active (closed), or
“0” meaning that it is not active (open). If the channel
address is a wildcard, then the data type is an array of
integer of size 22.
NOTE: Use as a command to simulate a contact
closure is possible only with firmware version 1.3.1
of higher.
Examples:
Request
Response
Command
prgin(3)<CR> OK<CRLF>
Query
prgin(9)<CR>
OK 1<CRLF>
Query
prgin(*)<CR>
OK {0,0,1...0,0,0}
<CRLF>
DM1624F Programmable I/O Commands
prgindef (programmable input definition)
This command may be used as a query to read a pro-
grammable input definition, or as an update to modify
the definition. The programmable input is specified by
using the address syntax. Addresses must be in the
range 1 to 22. The data type is array of integer, with a
variable length. The values contained in the array rep-
resent the definition of a programmable input, using the
following scheme:
• The first integer is a code that specifies the function
that is assigned to the programmable input. It may
be in the range 0 to 16, with the following meanings:
Code Function
0
No Function Assigned
1
Analog input gain control
2
Increment input gain 1 dB
3
Decrement input gain 1 dB
4
Analog output gain control
5
Increment output gain 1 dB
6
Decrement output gain 1 dB
7
Recall preset from memory
8
Toggle mute on input
9
Toggle mute on output
10
Toggle mute on crosspoint
11
Momentary mute on input
12
Momentary mute on output
13
Momentary mute on crosspoint
14
Run a macro on close
15
Run macros on close/open
16
Momentary unmute on input (PTT)
The choice of function determines what happens
when the programmable input is asserted. The
choice of function affects the interpretation of the
subsequent values in the array, which identify the
target of the function.
NOTE: Functions which control matrix crosspoints
are limited to affecting a group of crosspoints that
are members of a single row of the matrix. A row
consists of all crosspoints associated with one
particular input channel.
NOTE: All gain changes made by programmable
input functions affect rear panel gain only.
• The remaining values specify the target of the
function. These values are simply a list of one or
more integers which identifies the thing(s) that are
controlled by the function. The interpretation of the
target values depends on the function that is as-
signed:
Содержание DM812
Страница 2: ...DM Series Digital Matrix Processors LECTROSONICS INC 2 ...
Страница 50: ......