RS-232C Communication (continued)

Communicaion settings

1.Protocol

19200bps,8N1

2.Command format ("h" shows hexadecimal)

Byte Number

0

1

2

3

4

5

6

7

8

9

10

11

12

Command

 

 

Header

 

 

 

 

 

Data

 

 

 

Header

 

Data

CRC

Action

Type

Setting

 

code

Packet

size

flag

code

Action

 

 

 

 

L

H

 

L

H

L

H

L

H

L

H

L

H

<SET>Change setting to

 

 

 

 

 

(aL)

(aH)

01h

00h

(bL)

(bH)

(cL)

(cH)

desired value [(cL)(cH)]

 

 

 

 

 

by [(eL)(eH)].

 

 

 

 

 

 

 

 

 

 

 

 

 

<GET>Read projector

 

 

 

 

 

(aL)

(aH)

02h

00h

(bL)

(bH)

00h

00h

internal setup value

 

 

 

 

 

[(bL)(bH)] .

 

 

 

 

 

 

 

 

 

 

 

 

 

<INCREMENT>

BEh

EFh

03h

06h

00h

(aL)

(aH)

04h

00h

(bL)

(bH)

00h

00h

Increment setup value

[(bL)(bH)] by 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

<DECREMENT>

 

 

 

 

 

(aL)

(aH)

05h

00h

(bL)

(bH)

00h

00h

Decrement setup value

 

 

 

 

 

[(bL)(bH)] by 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

<EXECUTE> Run a

 

 

 

 

 

(aL)

(aH)

06h

00h

(bL)

(bH)

00h

00h

command [(bL)(bH)].

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Header code] [Packet] [Data size]

Set [BEh, EFh, 03h, 06h, 00h] to byte number 0 ~ 4.

[CRC flag]

For byte number 5, 6, refer to RS-232C Communication command table.

[Action]

Set functional code to byte number 7, 8.

<SET> = [01h, 00h], <GET> = [02h, 00h], <INCREMENT> = [04h, 00h] <DECREMENT> = [05h, 00h], <EXECUTE> = [06h, 00h]

Refer to the Communication command table.

[Type] [Setting code]

For byte number 9 12, refer to RS-232C Communication command table.

ViewSonic

67

PJL9371

Page 72
Image 72
ViewSonic VS12680 manual Header code Packet Data size, CRC flag, Action, Type Setting code