13.RS-232 CONTROL
1.To control the
2.The DOS based PC program may be downloaded from the Internet at the Kramer Website / Technical support section. The website address is: www.kramerelectronics.com .The program allows control and monitoring of the
3.The Windows™ based program – the
4.The protocol used for contro1ling the
5.If several machines are used (in a master / slave setup, or if they are connected in parallel to switch together), then the machines should be
13.1Protocol used for RS-232 Communication
Communication with the
MSB | 1st byte | LSB | MSB | 2nd byte | LSB |
N7N6 N5 N4 N3 N2 N1 N0) | N15N14N13N12N11N10N9N8 | ||||
Where |
|
|
|
N6N5N4N3 = 1000 (transmitted by the machine to the PC, but not necessary when transmitting to the machine).
N2N1N0 is the binary value of the machine being addressed (or of the machine sending its data) minus one, e.g., N2N1N0=000 to address machine #1 (the master); N2N1N0=101 to address machine #6.
N15 = 1 (continue bit).
N14 = 0 for all communication to and from the PC.
N13 is high if N12N11N10N9N8 is an op code. The op codes are defined as: N12N11N10N9N8 = 00001 instructs a machine to send its present status. N12N11N10N9N8 = 00010 success code (change in status was performed). N12N11N10N9N8 = 00011
N.B.: -
N13 is low when a change in the machine's status is made (via the front panel switches), or when a change in the status is requested (by
| OUT1 | OUT2 | OUT3 | OUT4 | ALL |
From Inputs | 1 | 2 | 3 | 4 | 21 |
From Input2 | 5 | 6 | 7 | 8 | 22 |
From Input 3 | 9 | 3 0 | 11 | 12 | 23 |
From Input 4 | 13 | 14 | 15 | 16 | 24 |
OFF | 17 | 18 | 19 | 20 | 25 |
For example, to connect input 4 to output 2, N12N11N10N9N8 should be set up as 01110 (=14). To connect input 3 to all the outputs, N12N11N10N9N8 = 10111(=23). To disconnect output 1, N12N11N10N9N5 = 10010 (=17). Similarly, if the front panel switches were pressed to connect input 2 to output 3, then N12N11N10N9N8 would be transmitted as 00111 (=7).
KRAMER ELECTRONICS, LTD. | 7 |