Kramer Electronics VP-14x1 User Manual

Page of 14
KRAMER:  SIMPLE CREATIVE TECHNOLOGY 
Table of Hex Codes for Serial Communication (Protocol 2000) 
 
10 
                   
 
O6…O0 – “OUTPUT”. 
When switching (ie. instruction codes 1 and 2), the OUTPUT (7 bits) is set as the output number which is to be switched. Similarly, if switching is 
done via the machine’s front-panel, then these bits are set with the OUTPUT NUMBER which was switched. For other operations, these bits are 
defined according to the table. 
 
4
th
 BYTE:   Bit 7 – Defined as 1.  
 
 
Bit 5 – Don’t care.  
 
 
OVR – Machine number override. 
 
      
M4…M0 – MACHINE NUMBER. 
Used to address machines in a system via their machine numbers. When several machines are controlled from a single serial port, they are usually 
configured together with each machine having an individual machine number. If the OVR bit is set, then all machine numbers will  accept 
(implement) the command, and the addressed machine will reply. 
For a single machine controlled via the serial port, always set M4…M0 = 1, and make sure that the machine itself is configured as MACHINE 
NUMBER = 1.  
Table 9: Instruction Codes for the VP-14xl 
INSTRUCTION 
DEFINITION FOR SPECIFIC INSTRUCTION 
NOTE 
DESCRIPTION 
INPUT 
OUTPUT 
2C  CONTROLS THE STATUS OF A 
PORT 
0–close  
1–open 
Output bit: 
O0–O5 = output # or 0 for all outputs 
O6–0 = Tx; 1 = Rx 
1, 2, 4, 5 
2D  READS THE STATUS OF A PORT  0–open 
Output bit: 
O0–O5 = output #  
O6–0 = Tx; 1 = Rx 
2, 3, 4, 5 
Note: All values in the table are hexadecimal, unless otherwise stated. 
 
 
NOTES on 
 
NOTE 1 – When the PC sends this command, if the instruction is valid the unit replies by sending the PC the same 4 bytes that it was sent (except 
for the first byte where the Destination bit is set high). 
 
NOTE 2 – If O6 = 0 (Tx) – This command defines/reads the definition of the output # (1, 2 or3) to pass the RS-232/Direct command from any 
input. In this case the instruction does not modify previously set output numbers, allowing the setting of multiple outputs for the Direct command. If 
O6 = 1 (Rx), the command defines/reads the definition of the output # (1, 2 or 3) to pass the reply from the output to inputs. In this case, the 
instruction resets a previously set output number, preventing the setting of multiple outputs for the reply.  
 
NOTE 3 – The reply to this command is as follows: The same command and output codes as were sent are returned, and the input is assigned the 
value of the parameter that was read. The reply is per the definitions in command 44.  
 
NOTE 4 – At initial power-on or on reception of command 44 or 45, any received bytes are analyzed to see whether it is a command 44 or 45. If 
not, it is transmitted to the output based on the existing setup. If the analyzed bytes are a command 44 or 45, the unit waits for the other 3 bytes and 
interprets them as a Protocol 2000 command. The command is executed if relevant to this machine number or discarded if not. 
 
NOTE 5 – This command works only when the unit is configured for Software mode.   
Table 10: Sample VP-14xl Control Commands 
Command 
Description 
Reply 
2C 80 80 81 
Close all output ports for direct command 
6C 80 80 81 
2C 80 C0 81 
Close all output ports for reply command 
6C 80 C0 81 
2C 81 82 81 
Open port 2 for direct command 
6C 81 82 81 
2C 81 C1 81 
Open port 1 for reply command 
6C 81 C1 81 
2D 80 81 81 
Check status of port 1 for direct command. Port is closed 
6D 
80 81 81 
2D 80 82 81 
Check status of port 2 for direct command. Port is open 
6D 
81 82 81 
2D 80 C1 81 
Check status of port 1 for reply command. Port is open 
6D 
81 C1 81 
2D 80 C2 81 
Check status of port 2 for reply command. Port is closed 
6D 
80 C2 81