Table 6: instruction set, Communication protocol, 17 table 6: instruction set – Kramer Electronics SP-12HD User Manual

Page 19

Advertising
background image

Communication Protocol

17

17

Table 6: Instruction Set

#

INSTRUCTION

I5

I4

I3

I2

I1

I0

0

Reset

0

0

0

0

0

0

16

Error

0

1

0

0

0

0

32

Read front-panel switch data

1

0

0

0

0

0

33

Write front-panel switch data

1

0

0

0

0

1

34

Recall

1

0

0

0

1

0

35

Store

1

0

0

0

1

1

61

Identify machine

1

1

1

1

0

1

DESCRIPTION OF INSTRUCTIONS

Inst

No

Instruction name

Data

Number

Data Name

Extended

Notes

0

RESET

0

Initialize machine 0

When the machine is initialized, it sends the

RESET code (DATA = 0). If the machine receives
this code, it resets to its “power-up” state.

1

Configure the

machine to its
factory default
state

0

When the machine receives this code, all

programmable parameters are reset to their factory-
default values.

16

ERROR

If the machine receives an invalid instruction, it

replies by sending this error code.

32

READ FRONT

PANEL SWITCH
DATA (send)

Front panel

switch number*

0

READ FRONT

PANEL SWITCH
DATA (reply)

Front panel

switch number*

Front panel

switch value*

33

WRITE FRONT-

PANEL SWITCH
DATA

Front panel

switch number*

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.

34

RECALL

0

0–15

Program

number

Program 0 = Setup 1 … Program 15 = Setup 16

35

STORE

0

0–15

Program

number

Program 0 = Setup 1 … Program 15 = Setup 16

61

IDENTIFY

MACHINE

3

Request software

version number

0

If the software version is requested, the machine

replies with DATA as the version number before
the decimal point, and EXTENDED DATA is the
value following the decimal point. For example, for
version 3.4, the machine replies with DATA = 03
(hex), and EXTENDED DATA = 04 (hex).

* See following table: SWITCH NUMBER AND SWITCH VALUE PARAMETERS






Advertising