ViewSonic PJ452 Service Manual - Page 46

RS-232C communication

Page 46 highlights

10. RS-232C communication 98 76 54 3 2 1 CONTROL port of the projector RS-232C cable(Cross) - (1) RD (2) TD (3) - (4) GND (5) - (6) RTS (7) CTS (8) - (9) (1) CD (2) RD (3) TD (4) DTR (5) GND (6) DSR (7) RTS (8) DTS (9) RI 1 23 45 67 8 9 RS-232C port of a computer Connecting the cable (1) Turn off the projector and the computer power supplies. (2) Connect the CONTROL port of the projector with a RS-232C port of the computer by a RS-232C cable(Cross). Use the cable that fulfills the specification shown in the previous page. (3) Turn on the computer power supply and after the computer has started up, turn on the projector power supply. Communications setting 19200 bps, 8N1 1. Protocol Consist of header (7 bytes) + Command data (6 bytes) 2. Header BE + EF + 03 + 06 + 00 + CRC_low + CRC_high CRC_low: Lower byte of CRC flag for command data CRC_high: Upper byte of CRC flag for command data 3. Command Data Command Data Chart byte_0 byte_1 Action low high byte_2 byte_3 Type low high byte_4 byte_5 Setting code low high Action (byte_0 - 1) Action Classification 1 Set 2 Get 4 Increment 5 Decrement 6 Execute Content Change setting to desired value. Read projector internal setup value. Increment setup value by 1. Decrement setup value by 1. Run a command. ViewSonic Corporation Confidential - Do Not Copy PJ452 43

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70

10. RS-232C communication
6
7
8
9
1
2
3
4
5
6
7
8
9
1
2
3
4
5
CONTROL port
RS-232C
cable(Cross)
RS-232C port
of the projector
of a computer
- (1)
(1) CD
RD (2)
(2) RD
TD (3)
(3) TD
- (4)
(4) DTR
GND (5)
(5) GND
- (6)
(6) DSR
RTS (7)
(7) RTS
CTS (8)
(8) DTS
- (9)
(9) RI
Connecting the cable
(1) Turn off the projector and the computer power supplies.
(2) Connect the CONTROL port of the projector with a RS-232C port of the computer by a RS-232C
cable(Cross). Use the cable that fulfills the specification shown in the previous page.
(3) Turn on the computer power supply and after the computer has started up, turn on the projector power
supply.
Communications setting
19200 bps, 8N1
1. Protocol
Consist of header (7 bytes) + Command data (6 bytes)
2. Header
BE + EF + 03 + 06 + 00 + CRC_low + CRC_high
CRC_low: Lower byte of CRC flag for command data
CRC_high: Upper byte of CRC flag for command data
3. Command Data
Command Data Chart
byte_0
byte_1
byte_2
byte_3
byte_4
byte_5
Action
Type
Setting code
low
high
low
high
low
high
Action (byte_0 - 1)
Action
Classification
Content
1
Set
Change setting to desired value.
2
Get
Read projector internal setup value.
4
Increment
Increment setup value by 1.
5
Decrement
Decrement setup value by 1.
6
Execute
Run a command.
ViewSonic Corporation
Co
nfidential
- Do Not Copy
P
J452
43