Rs-232 übertragungsspezifikationen, Rs-232 communication format, Rs-232-befehlstabelle – AVer F30 user manual Benutzerhandbuch

Seite 37

Advertising
background image

33

R

R

S

S

-

-

2

2

3

3

2

2

Ь

Ь

b

b

e

e

r

r

t

t

r

r

a

a

g

g

u

u

n

n

g

g

s

s

s

s

p

p

e

e

z

z

i

i

f

f

i

i

k

k

a

a

t

t

i

i

o

o

n

n

e

e

n

n

ƒ

Startbit

1 bit

ƒ

Datenbit

8 bit

ƒ

Stoppbit

1 bit

ƒ

Paritätbit

Kein

ƒ

X-Parameter

Kein

ƒ

Baudrate (Übertragungsgeschwindigkeit)

9600bps

R

R

S

S

-

-

2

2

3

3

2

2

C

C

o

o

m

m

m

m

u

u

n

n

i

i

c

c

a

a

t

t

i

i

o

o

n

n

F

F

o

o

r

r

m

m

a

a

t

t

Gerätecode senden (1 Byte)

: 0x52

Typcode (1 Byte)

: 0x0B

Datenlängecode (1 Byte)

: 0x03

Datencode (1 Byte)

: Siehe Befehlstabelle.

Datencode (2 Byte)

: Siehe Befehlstabelle.

Datencode (3 Byte)

: Siehe Befehlstabelle.

Gerätecode empfangen (1 Byte) : 0x53

Prüfsummencode (1 Byte)

: Siehe Befehlstabelle.

Format

: Start + Typ + Datenlänge + Daten + Prüfsumme

Beispiel

: 0x52 + 0x0B + 0x03+ 0x3 + 0x01 + 0x00 + 0x00 +
0x53 + 0x5A (Befehl Ein/Aus)

R

R

S

S

-

-

2

2

3

3

2

2

-

-

B

B

e

e

f

f

e

e

h

h

l

l

s

s

t

t

a

a

b

b

e

e

l

l

l

l

e

e

Sendeformat︰0x52 + 0x0B + 0x03 + Data[0] + Data[1] + Data[2] + 0x53 + Prüfsumme
Empfangsformat︰0x53 + 0x00 + 0x02+ *2 + *3 + 0x52 + Prüfsumme
*1 :Prüfsumme = 0x0B xor 0x03 xor Data[0] xor Data[1] xor Data[2] xor 0x53
*2 :Receive data ok : 0x0B, ID error: 0x01, Prüfsumme error: 0x02, Not Command : 0x03,
Function fail = 0x04
*3 :Data[0], Return 0x00 if error

Funktion

Data[0]

Data[1]

Data[2]

Prüfsumme

POWER OFF

0x01

0x00

0x00

0x5a

POWER ON

0x01

0x01

0x00

0x5b

CAMERA MODE

0x02

0x00

0x00

0x59

PLAYBACK MODE

0x03

0x00

0x00

0x58

PC-1 PASS THROUGH

0x04

0x00

0x00

0x5f

IMAGE CAPTURE TYPE: SINGLE 0x05

0x00

0x00

0x5e

IMAGE CAPTURE TYPE: CONTINUOUS 0x05

0x01

0x00

0x5f

IMAGE CAPTURE CONTINUOUS
INTERVAL INCREASE

0x06 0x00 0x00 0x5d

Advertising