![Kramer SG-6005 User Manual Download Page 15](http://html1.mh-extra.com/html/kramer/sg-6005/sg-6005_user-manual_2001032015.webp)
14
KRAMER ELECTRONICS LTD.
When replying:- DATA = front-panel switch number; EXTENDED DATA = LS byte of the front-panel switch
value.
The PC sends this instruction to the machine. The machine replies by sending back a value which relates to that
switch. The relationship between this value and the front-panel 7-segment display is expained below.
INSTRUCTION 5 – READ FRONT-PANEL SWITCH DATA (most significant (MS) byte)
For sending to machine, DATA = front-panel switch number.
When replying:- DATA = front-panel switch number; EXTENDED DATA = MS byte of the front-panel switch
value.
The PC sends this instruction to the machine. The machine replies by sending back a value which relates to that
switch. The relationship between this value and the front-panel 7-segment display is expained below.
INSTRUCTION 6 – WRITE FRONT-PANEL SWITCH DATA (least significant (LS) byte)
DATA = front-panel switch number; EXTENDED DATA = LS byte of the front-panel switch value.
- The PC sends a value directly to the machine. If valid, the machine implements this new value, and replies by
sending the same data back to the PC. Note that the addressed front-panel switch does
not
need to be pressed in
order to change its value via RS-232.
- If the “+” or “-” button is pressed on the machine, resulting in a change in a switch value, then this switch
number and value is sent to the PC.
INSTRUCTION 7 – WRITE FRONT-PANEL SWITCH DATA (most significant (MS) byte)
DATA = front-panel switch number; EXTENDED DATA = MS byte of the front-panel switch value.
- The PC sends a value directly to the machine. If valid, the machine implements this new value, and replies by
sending the same data back to the PC. Note that most switches have only one byte values (LS byte). In this case
an error code would be returned if this instruction was sent. Note further that the addressed front-panel switch
does
not
need to be pressed in order to change its value via RS-232.
- If the “+” or “-” button is pressed on the machine, resulting in a change in a switch value, then this switch
number and value is sent to the PC.
INSTRUCTION 8 – WRITE ENCODER DATA
DATA = encoder sub-address; EXTENDED DATA = data to be written to this sub-address.
The PC sends data directly to the encoder. The machine implements this new value, and replies by sending the
same data back to the PC.
CAUTION – this function was designated for development and testing purposes. Improper use of this function
may cause erratic behaviour of the machine.
INSTRUCTION 9 – WRITE DECODER DATA
DATA = decoder sub-address; EXTENDED DATA = data to be written to this sub-address.
The PC sends data directly to the decoder. The machine implements this new value, and replies by sending the
same data back to the PC.
CAUTION – this function was designated for development and testing purposes. Improper use of this function
may cause erratic behaviour of the machine.
INSTRUCTION 10 – WRITE EEPROM DATA
DATA = EEPROM sub-address; EXTENDED DATA = data to be written to this sub-address.
The PC sends data directly to the EEPROM. The EEPROM stores this new value, and replies by sending the
same data back to the PC.
CAUTION – this function was designated for development and testing purposes. Improper use of this function
may cause erratic behaviour of the machine.
INSTRUCTION 11 – READ EEPROM DATA
For sending to machine, DATA = EEPROM sub-address.
When replying:- DATA = EEPROM sub-address; EXTENDED DATA = requested data.
The PC sends this instruction to the machine. The machine replies by sending back the data of this sub-address.
INSTRUCTION 16 – ERROR
If the machine receives an invalid instruction, it replies by sending this error code.
INSTRUCTION 57 – ENABLE “POWER-DOWN SAVE”
DATA = 0 disables power-down saving; DATA = 1 enables saving. EXTENDED DATA - set to 0.