background image

RS-232 / RS-485 Communication Protocol 

 

24 

12  RS-232 / RS-485 Communication Protocol 

This RS-232 / RS-485 communication protocol uses four bytes of information 

as defined below. For RS-232, a null-modem connection between the machine 

and controller is used. The default data rate is 9600 baud, with no parity, 8 

data bits and 1 stop bit. 

Table 10: Protocol Definitions 

MSB 

 

 

 

 

 

 

LSB 

 

DESTINATION

 

INSTRUCTION 

N5 

N4 

N3 

N2 

N1 

N0 

1st byte 

 

INPUT 

I6 

I5 

I4 

I3 

I2 

I1 

I0 

2nd byte 

 

OUTPUT 

O6 

O5 

O4 

O3 

O2 

O1 

O0 

3rd byte 

 

 

 

MACHINE NUMBER 

OVR 

M4 

M3 

M2 

M1 

M0 

4th byte 

 

1st BYTE:  Bit 7 – Defined as 0. 

D – “ DESTINATION” : 

0 - for sending information to the switchers (from the PC); 

1 - for sending to the PC (from the switcher). 

N5…N0 – “ INSTRUCTION”  

The function that is to be performed by the switcher(s) is defined by the INSTRUCTION (6 bits). Similarly, if a function is 

performed  via  the  machine’s  keyboard,  then  these  bits  are  set  with  the  INSTRUCTION  NO.,  which  was  performed.  The 

instruction codes are defined according to the table below (INSTRUCTION NO. is the value to be set for N5…N0). 

 

2nd BYTE:  Bit 7 – Defined as 1. 

 

I6…I0 – “ INPUT” . 

When  switching  (ie.  instruction  codes  1  and  2),  the  INPUT  (7  bits)  is  set  as  the  input  number  which  is  to  be  switched. 

Similarly, if switching is done via the machine’s front-panel, then these bits are set with the INPUT NUMBER which was 

switched. For other operations, these bits are defined according to the table. 

 

3rd BYTE:  Bit 7 – Defined as 1. 

                    O6…O0 – “ OUTPUT” . 

When switching (i.e. 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. 

 

4th 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.  

 

 

 

 

Summary of Contents for OMX-SW5x5

Page 1: ...OMX SW5x5...

Page 2: ...ow Video or Breakaway Option 14 8 2 1 Setting the Audio Follow Video Option 15 8 2 2 Setting the Breakaway Option 15 8 3 Switching OUT IN Combinations 15 8 4 Confirming Settings 15 8 4 1 Toggling betw...

Page 3: ...gure 10 OMX SW5x5 Unit Characteristics 14 Figure 11 Storing and Recalling using the Input Output Buttons 17 Tables Table 1 Front Panel OMX SW5x5 5x5 Video Audio Matrix Switcher Features 4 Table 2 Rear...

Page 4: ...llowing typical applications Professional display systems requiring true 5x5 matrix operation Multimedia and presentation source and acceptor selection and remote monitoring of computer activity in sc...

Page 5: ...itter and remotely by RS 485 or RS 232 serial commands transmitted by a touch screen system PC or other serial controller To achieve the best performance Connect only good quality connection cables th...

Page 6: ...Your OMX SW5x5 Video Audio Matrix Switcher 3 Figure 1 OMX SW5x5 Video Audio Matrix Front Panel Figure 2 OMX SW5x5 Video Audio Matrix Rear Panel...

Page 7: ...ent setting 8 12 RCL RECALL Button Pressing the RCL button and the corresponding OUTPUT key recalls a setup from the non volatile memory The stored status blinks Pressing a different OUTPUT button let...

Page 8: ...erminal Block Connectors Connect to the balanced stereo audio acceptors from 1 to 5 7 RS 232 DB 9F Port Connects to the PC or the Remote Controller 8 RS 485 Terminal Block Port Pin G is for Ground con...

Page 9: ...enough air will still flow around the machine 3 The machine is placed straight in the correct horizontal position 4 You do not overload the circuit s When connecting the machine to the supply circuit...

Page 10: ...posite video acceptors2 and connect the corresponding AUDIO OUTPUTS terminal block connectors to the balanced stereo audio acceptors4 3 Set the dipswitches see section 6 5 4 Connect a PC and or contro...

Page 11: ...Null modem adapter with a 9 wire flat cable to the RS 232 DB9 port on your PC To connect a PC to the OMX SW5x5 unit without using a Null modem adapter Connect the RS 232 DB9 port on your PC to the RS...

Page 12: ...SW5x5 unit Connect the B PIN on the RS 485 rear panel port of the remote controller to the B PIN on the RS 485 rear panel port of the OMX SW5x5 unit If shielded twisted pair cable is used the shield m...

Page 13: ...t Output Figure 5 Figure 6 and Figure 7 illustrate how to wire a balanced unbalanced input and or output connection Figure 5 Connecting the Balanced Stereo Audio Input Output Figure 6 Connecting the U...

Page 14: ...MACHINE The MACH determines the position of an OMX SW5x5 unit specifying which OMX SW5x5 unit is being controlled when several OMX SW5x5 units connect to a PC or serial controller Set the MACH on an O...

Page 15: ...t the RS 485 terminal block port on the first OMX SW5x5 unit to the RS 485 port on the second OMX SW5x5 unit and so on connecting all the RS 485 ports 4 Set the dipswitches as section 6 5 describes In...

Page 16: ...Controlling via RS 232 and RS 485 13 Figure 9 Cascading Individual Units in a Control Configuration via RS 232 and RS 485...

Page 17: ...e following information is displayed in the 7 segment Display1 The number of IN and OUT ports shown during the First Display2 The firmware version number and the MACHINE shown during the Second Displa...

Page 18: ...Display relate to the Audio section If the VIDEO button illuminates all switching operations and the 7 segment Display relate to the Video section 8 3 Switching OUT IN Combinations To switch a video...

Page 19: ...user confirmation and the TAKE button illuminates 2 Press the illuminated TAKE button to toggle from the CONFIRM mode back to the AT ONCE mode Actions no longer require user confirmation and the TAKE...

Page 20: ...t configuration do the following 1 Press the RCL button The RCL button blinks 2 Press the appropriate Input Output button the button corresponding to the setup If in the CONFIRM mode that setup config...

Page 21: ...s locked Pressing a button will have no effect except to cause the LOCK button to blink3 To unlock the OMX SW5x5 Press the illuminated LOCK button for more than two seconds until the LOCK button is no...

Page 22: ...O 19dBm BANDWIDTH 3dB VIDEO 70MHz Fully Loaded AUDIO 29kHz DIFF GAIN 0 02 DIFF PHASE 0 44 Deg K FACTOR 0 05 S N RATIO VIDEO 75 1dB AUDIO 74dB CROSSTALK all hostile VIDEO 51 4dB 5MHz AUDIO 105dB CONTRO...

Page 23: ...2 5 3 2 5 4 2 5 5 11 Tables of Hex Codes for Audio Input Output Gain Control Sections 11 1 and 11 2 contain the tables of hex codes for input and output signal gain control adjustment respectively 11...

Page 24: ...5 1 16 0 1 Audio Level 2 16 2 16 2 2 16 3 2 16 4 2 16 5 2 16 0 2 Audio Level 127 16 FF 16 2 FF 16 3 FF 16 4 FF 16 5 FF 16 0 FF F F F F F F Audio Level 128 16 0 16 2 0 16 3 0 16 4 0 16 5 0 16 0 0 F 0 F...

Page 25: ...ction 42 the AUDIO PARAMETER SETTINGS FOR INSTRUCTIONS 22 24 25 is sent1 2A 87 80 81 The command is sent once and the audio outputs gain adjustment mode continues until instruction 42 changes to the a...

Page 26: ...the audio output is physically disconnected from the input Audio Level 2 16 16 2 16 3 16 4 16 5 16 0 Audio Level 127 16 FF 16 2 FF 16 3 FF 16 4 FF 16 5 FF 16 0 FF F F F F F F Audio Level 128 16 0 16 2...

Page 27: ...e set for N5 N0 2nd BYTE Bit 7 Defined as 1 I6 I0 INPUT When switching ie instruction codes 1 and 2 the INPUT 7 bits is set as the input number which is to be switched Similarly if switching is done v...

Page 28: ...ce 3 4 6 7 11 REQUEST BREAKAWAY SETTING Set as SETUP or set to 126 or 127 to request if machine has this function 0 Request audio breakaway setting 1 Request FOLLOW setting 3 4 6 15 12 REQUEST VIDEO A...

Page 29: ...T 0 or with an error invalid instruction code If the INPUT is set to 126 for these instructions then if possible the machine will return the current setting of this function even for the case that the...

Page 30: ...codes 07 80 C0 81 set for delayed switch 01 84 83 81 switch code then after the required delay send HEX codes 07 80 C1 81 execute delayed switch to implement the switch NOTE 17A For clean switching o...

Reviews: