beautypg.com

DNF Controls ST400-CP User Manual

Page 10

background image

ST400-CP User Manual

Page 10 of 19

Key Change Status Request Command:

Å Å STX + 01 + ‘S’ + Checksum

STX+ BC + ’S’+ KeyData0 + KeyData1 + … + KeyData5 + Checksum Æ Æ

BC: Byte count = 7

KeyData0 … KeyData5 – state of the keyboard
IF a corresponding bit is set - the key is pressed, if a bit is cleared – he key is released.
See Keyboard Decode Table for bitmap decoding.

ST400

External Control System


Key LED Control:

Å Å STX + BC + ‘L’ + Led Data1 + Led Data2 + … + Led Data5 + Checksum

BC: Byte count = 6

Data1= LED1 (Lsb) to LED8 (Msb)

Data2=

LED9

(Lsb)

to

LED16

(Msb)

Data3= LED17 (Lsb) to LED24 (Msb)

Data4=

LED25

(Lsb)

to

LED32

(Msb)

Data5= LED33 (Lsb) to LED34 (Msb)

STX + 01 + ACK + Checksum Æ Æ

Wheel Mode:

Å Å STX + BC + ‘M’+ Wheel Divide + Min Position + Max Position +
Mode byte + Checksum

BC: Byte count = 5

Wheel Divide = 1 (highest resolution) to 96 (lowest resolution)
Min Position = The lowest number that may be returned as the wheel
position. It’s a signed value that ranges between 0 and –127.
Max Position = The highest number that may be returned as the wheel
position. It’s a signed value that ranges between 0 and +127.
Mode byte:

0= Off

1= Jog

2=

Shuttle

STX + 01 + ACK + Checksum Æ Æ


Wheel Position: (Automatically sent when movement is detected)

STX + 02 + ‘H’ + Wheel Position Byte + Checksum Æ Æ

BC:

Byte

Count

=

2

Wheel Position Byte = -16 Æ +16

Å Å No response required


T-bar Position: (Automatically sent when movement is detected)

STX + BC + ‘T’ + T-bar Position Byte + Checksum Æ Æ

BC:

Byte

Count

=

2

T-bar

Position

Byte

=

0

Æ +64

Å Å No response required