beautypg.com

Rs-232 transmission specifications, 11brs-232 communication format, 12brs-232 send command table – AVer W30 user manual User Manual

Page 37: Rs-232 communication format, Rs-232 send command table

background image

32

ENGLISH

R

R

S

S

-

-

2

2

3

3

2

2

T

T

r

r

a

a

n

n

s

s

m

m

i

i

s

s

s

s

i

i

o

o

n

n

S

S

p

p

e

e

c

c

i

i

f

f

i

i

c

c

a

a

t

t

i

i

o

o

n

n

s

s

Start bit

:1 bit

Data bit

:8 bit

Stop bit

:1 bit

Parity bit

:None

X parameter

:None

Baud rate(Communication speed)

:115200bps

1

1

1

1

B

B

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

Send Device Code(1 Byte)

: 0x52

Type Code(1 Byte)

: 0x0B

DataLength Code(1 Byte)

: 0x03

Data Code(1 Byte)

: See the Command Table for reference.

Data Code(2 Byte)

: See the Command Table for reference.

Data Code(3 Byte)

: See the Command Table for reference.

Receive Device Code(1 Byte) : 0x53
CheckSum Code(1 Byte)

: See the Command Table for reference.

Format

: Start + Type + DataLength + Data + CheckSum

Example

: 0x52 + 0x0B + 0x03+ 0x3 + 0x01 + 0x00 + 0x00 + 0x53 +

0x5A (Command Power)

1

1

2

2

B

B

R

R

S

S

-

-

2

2

3

3

2

2

S

S

e

e

n

n

d

d

C

C

o

o

m

m

m

m

a

a

n

n

d

d

T

T

a

a

b

b

l

l

e

e

Send Format︰0x52 + 0x0B + 0x03 + Data[0] + Data[1] + Data[2] + 0x53 + CheckSum
Receive Format︰0x53 + 0x00 + 0x02+ *2 + *3 + 0x52 + CheckSum

*1 :CheckSum = 0x0B xor 0x03 xor Data[0] xor Data[1] xor Data[2] xor 0x53

*2 :Receive data ok : 0x0B, ID error: 0x01, CheckSum error: 0x02, Not Command : 0x03,
Function fail = 0x04

*3 :Data[0], Return 0x00 if error

Function

Data[0]

Data[1]

Data[2]

CheckSum

POWER OFF

0x01

0x00

0x00

0x5A

IMAGE CAPTURE TYPE: SINGLE

0x02

0x00

0x00

0x59

IMAGE CAPTURE TYPE:
CONTINUOUS

0x02

0x01

0x00

0x58

IMAGE CAPTURE CONTINUOUS
INTERVAL INCREASE

0x03

0x00

0x00

0x58

IMAGE CAPTURE CONTINUOUS
INTERVAL DECREASE

0x04

0x00

0x00

0x5F

IMAGE CAPTURE RESOLUTION:
NORMAL

0x05

0x00

0x00

0x5E

IMAGE CAPTURE RESOLUTION:
3M

0x05

0x01

0x00

0x5F

TIMER START

0x06

0x00

0x00

0x5D