User guide

22 HDMI5 Component Video Switch
Q ? Query for current fl ag values.
Q Query for current fl ag values.
Response String:
=Q fl ags
Where ‘fl ags’ is a bitmapped parameter:
Decimal Value +4096 +2048 +1024 +512 +256 +128 +64 +32 +16 +8 +4 +2 +1
Bit Position 12 11 10 9876543210
Name RS2 RS1 RL2 RL1 EQU SWD CTL LMI IRC IRR BTN SEL PWR
Factory Settings: 0 0 0 0000000011
PWR - 1=Power State has changed.
SEL - 1=Selection (Input / Output Mapping) has changed.
BTN - 1=One or more buttons have been pressed.
IRR - 1=A new IR code has been received.
IRC - 1=New IR codes have been learned.
LMI - 1=Lighting Mode or Intensity Level Settings have changed.
CTL - 1=Control Settings have changed.
SWD - 1=Switching delays have changed.
EQU - 1=Equalization or Bandwidth settings have changed.
RL1 - 1=Auxiliary 1’s relay has changed states.
RL2 - 1=Auxiliary 2’s relay has changed states.
RS1 - 1=Auxiliary 1 relay’s parameters have changed.
RS2 - 1=Auxiliary 2 relay’s parameters have changed.
Control Settings
Turn on and off operational modes of the HDMI5.
This command allows control over the following:
Select the Master / Slave or Asynchronous modes of operations.
Enable / Disable the front panel switches.
Enable / Disable the IR control.
Enable / Disable the IR jack.
Enable / Disable appending Checksums or CRC-8’s to responses.
If enabled, choose whether Checksums or CRC-8’s will be appended to responses.
XS settings Set the control bits to ‘settings’
XS +settings Set bits indicated in ‘settings’ to 1.
XS -settings Reset bits indicated in ‘settings’ to 0.
XS settings,$ Set the control bits to ‘settings’, save in EEPROM.
XS +settings,$ Set bits indicated in ‘settings’ to 1, save in EEPROM.
XS -settings,$ Reset bits indicated in ‘settings’ to 0, save in EEPROM.
•
•
•
•
•
•
HDMI5 Command Ref. (Cont’d)
7HDMI5 Component Video Switch
An example with CRC-8 responses enabled is:
LI?:194<CR>
+<CR><LF>
=LI 2,13:87<CR><LF>
Notice that in the fi rst example a checksum was not appended to the “LI?” command. When
issuing a command the checksum and CRC-8 codes are sent on a command by command
basis. Anytime a checksum or a CRC-8 code is appended to a command it will be checked and
validated by the device, regardless of the “Response Checksum / CRC-8” settings.
When Response Checksums, or Response CRC-8 Checkcodes are enabled, Error Response
strings will also have checksum and CRC-8 codes appended to them.
Master / Slave and Asynchronous Modes of Operation
The K.I.S.S.™ protocol can be used in a Master / Slave mode, where responses are only sent
when requested, or in an Asynchronous mode, where responses are sent whenever the opera-
tional state of the device changes, such as a front panel button being pressed.
The Master / Slave Mode of Operation
In the Master / Slave mode, the controller requests information from the device at polled
intervals. The control program assumes the role of the master, and the device is operated in the
slave mode. No information will be sent from the device without fi rst receiving a request from the
controller.
For controllers that cannot handle having information being sent to them in the background, or at
unspecifi ed times, the Master / Slave setting is ideal, since all state changes will be logged but
not sent until requested by the controller.
To allow for more effi cient Master / Slave operations, there is a Query Status command available
to the controller that return the status state of the device as a bitmap of fl ags indicating which
states have changed and need querying. This allows the controller to poll, using a single com-
mand, and then based on those fl ag settings, issue only the commands needed to read the new
state(s) of the device.
The Master / Slave mode also allows for a predictable communications fl ow. A communication
sequence is always started by the controller by issuing a command. The response will always be
either the Acknowledgement Response, or an Error Response, followed by (if a query command
was issued) the Query Response. For instance:
LI ?<CR> Sent: Controller issues a query command.
+<CR><LF> Received: Acknowledgment (or possible Error) Response.
=LI 2,13<CR><LF> Received: Query Response.
In the Master / Slave mode, the Acknowledgement or Error Response will always be the next re-
K.I.S.S.™ (Continued)