background image

CVS4 Component Video Switch 

CVS4 Component Video Switch

Where:

 

b1,bn..  = A variable number of button codes (1 to 16 codes per command).

In the Master / Slave mode, only the last 16 button presses will be logged between queries, 

after that, new button presses overwrite the old ones in the internal buffer and will be lost to the 

controller.
The maximum number of button codes that can be sent  is 16. If more than 16 button codes 

are sent a “parameter count error” will be returned and only the first 16 button codes will be 

accepted.
The Button Codes for the CVS4 are defined as follows:

Button   

 

Press Code   

Release Code

Power   

 

 

1   

 

 

6

Input 1 Select   

 

2   

 

 

7

Input 2 Select   

 

3   

 

 

8

Input 3 Select   

 

4   

 

 

9

Input 4 Select   

 

5   

 

 

10

The “Press Code” is the value returned when a button pressed, and the “Release Code” is the 

value returned when a button is released.
There are also a small number of codes that are unique to this command that cannot be gener-

ated by the keyboard, making this command a bit more useful. These extended codes allow for 

better control of the CVS4.
Some extended button codes are:

Code  Description

0   

When Issued: Exits setup modes.

0   

When Queried: No buttons have been pressed since last the query.

100   

Always toggle power (like Power Toggle without the need of a release code).

101   

Discrete power on (always turns on power).

102   

Discrete power off (always turns off power).

103   

Sequence through inputs.

The ‘0’ code has special meaning. When returned in a Query Response string it means there are 

no keys waiting in the buffer. When issue by the controller, it acts like an Exit key, used to exit 

setup modes, similar to pressing the Power Button, but it will be ignored if the CVS4 is not in the 

setup mode. By issuing ‘0’ codes, the CVS4 can be returned to a known state, regardless of any 

possible setup state it might be in.
The ‘0’ button code is also device independent. It use, and value, does not change between Zek-

tor devices like the other codes may (and most likely will).

Query Status

In the Master / Slave mode of operation, this command is used to poll for any pending state 

changes that are waiting to be read. By issuing this command and testing the returned bit-

mapped value, the controller can determine what has changed in the CVS4 since the last time it 

was polled.
This command allows the controller to quickly poll the CVS4, using only one command, instead 

of issuing a string of commands to check if the power state has changed, or if a new input has 

been selected, a button pressed, etc.. The Query Status command is used to determine if 

any-

thing

 has changed, and then based on the results of the Query Status, only the query commands 

needed are issued to read the new states of the CVS4.
Once the new state is read by issuing the proper query command, the associated flag wll be 

reset.

Q ?     

Query for current flag values.

Q       

Query for current flag values.

Response String:

=Q

flags

Where ‘flags’ is a bitmapped parameter:

Decimal Value

+128 +64 +32 +16 +8 +4 +2 +1

Bit Position

7

6

5

4

3

2

1

0

Name

CTL LMO IRC IRR BTN LIN SEL PWR

PWR - 1=Power State has changed.

SEL  - 1=Selection (Input / Output Mapping) has changed.

LIN  - 1=Lighting Intensity Level Settings have 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.

LMO  - 1=Lighting Mode Settings have change.

CTL  - 1=Control Settings have changed.

Note: For backward compatibility with the HDS4.2, there is no space after the command in the 

response string.

Control Settings

Turn on and off operational modes of the CVS4. 
This command allows control over the following:

Select the Master / Slave or Asynchronous modes of operations.

Enable / Disable the front panel switches.

CVS4 Command Reference 

(Cont’d)

CVS4 Command Reference 

(Cont’d)

Summary of Contents for CVS4

Page 1: ...Z E K T O R Home Theater Switches Digital Video Component Video Multichannel Audio Rev 2 07 25 2006 High Definition Component Video Switch CVS4 Supplement to the CVS4 User Guide...

Page 2: ...ttings 19 Control Settings HDS4 2 Version 20 Extended Control Settings 21 Checksums and CRC 8 s 24 Checksums and CRC 8 Checkcodes Defined 24 Differences between a Checksum and a CRC 8 Checkcode 24 Sou...

Page 3: ...n this case the value defaults to the current setting leaving the value unchanged The K I S S Continued space before the comma is optional Most commands can be queried for their current settings by su...

Page 4: ...wed before the and characters but NOT after them The checksum must immediately follow the character and a CRC 8 checkcode must immediately follow the character anything else including whitespace will...

Page 5: ...R LF Notice that in the first 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 C...

Page 6: ...ghout the com munication sequence First the LI CR command was issued by the controller While looking for an Acknowledgement or Error Response string an unsolicited Query Response is received indicatin...

Page 7: ...Checkcode did not match the calculated one The command will be ingnored Error 5 The number of parameters given does not match the number allowed by this command Error 6 To prevent conflicts between th...

Page 8: ...HDS4 2 there is no space after the command in the response string Note 3 For backward compatibility with the HDS4 2 this response string is sent in the Asyn chronous mode when a channel status has ch...

Page 9: ...Where dim Current DIM level setting bright Current BRIGHT level settings The intensities range from 0 Off to 44 Maximum brightness Note For backward compatibility with the HDS4 2 there is no space af...

Page 10: ...earn they are IR Cmd Description 1 Power Toggle 2 Select Input 1 3 Select Input 2 4 Select Input 3 5 Select Input 4 6 Discrete Power On 7 Discrete Power Off 8 Sequence Through Inputs Setting an ircmd...

Page 11: ...ess of any possible setup state it might be in The 0 button code is also device independent It use and value does not change between Zek tor devices like the other codes may and most likely will Query...

Page 12: ...ro keeps the CVS4 from responding to IR codes however the front panel sensor remains operational and any codes received can still be queried for by using the IR command Disabling the IR jack by settin...

Page 13: ...al Value 128 64 32 16 8 4 2 1 Bit Position 7 6 5 4 3 2 1 0 Name CTL LMO IRC IRR BTN LIN SEL PWR Factory Settings 0 0 0 0 0 0 1 1 PWR 1 Power State has changed SEL 1 Selection Input Output Mapping has...

Page 14: ...Checksum and a CRC 8 Checkcode A CRC is capable of finding many more and different types of errors than a checksum can A good description of its capability is described in the above referenced articl...

Page 15: ...detection characteristics So x 8 x 6 x 3 x 2 1 101001101 14D hex Ignore X 8 01001101 4D hex Reverse bit order 10110010 B2 hex define CRC8_POLY 0xB2 polynomial mask define CRC8_INIT 0xFF initial value...

Page 16: ...28 CVS4 Component Video Switch 29 CVS4 Component Video Switch This page left intentionaly nearly blank This page left intentionaly nearly blank...

Page 17: ...Z E K T O R Z E K T O R 12675 Danielson Ct Suite 401 Poway CA 92064 858 748 8250 www zektor com...

Reviews: