ViewSonic PJD6683ws PJD5126, PJD6223, PJD6253, PJD6553W, PJD5226, PJD5226W, PJ - Page 77

RJ45 response table, RS232 command table

Page 77 highlights

RJ45 response table Status Write Response Normal => ACK Incorrect => ERROR ACK Timeout (>100ms) Response Code 0x03 0x14 0x00 0x00 0x00 0x14 0x00 0x14 0x00 0x00 0x00 0x14 N/A Status Response Code BYTE0 BYTE1 BYTE2 BYTE3 BYTE4 BYTE5 BYTE6 BYTE7~N BYTE N+1 0x05 0x14 0x00 LSB MSB 0x00 0x00 Data Checksum Read Ex1. Read power status: 0x05 0x14 0x00 0x03 0x00 0x00 0x00 0x01 0x18 = On Ex2. Read brightness: 0x05 0x14 0x00 0x04 0x00 0x00 0x00 0x32 0x00 0x4A = 50 Ex3. Read lamp hours: 0x05 0x14 0x00 0x06 0x00 0x00 0x00 0x28 0x00 0x00 0x00 0x42 = 40 • The RJ45 commands can only be received via TCP port 4661. • Please refer to the below RS232 command table for the commands. RS232 command table Pin Description Pin Description 1 NC 2 RX 3 TX 4 NC 5 GND 6 NC 7 RTSZ 8 CTSZ 9 NC Baud Rate Data Length Parity Check Stop Bit Flow Control RS-232 protocol 115200 bps (default) 8 bit None 1 bit None Function Status Action cmd Power Write Read Turn on Turn off Power status (on/off) 0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x00 0x00 0x5D 0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x01 0x00 0x5E 0x07 0x14 0x00 0x05 0x00 0x34 0x00 0x00 0x11 0x00 0x5E 72

  • 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
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89

72
RJ45 response table
The RJ45 commands can only be received via TCP port 4661.
Please refer to the below RS232 command table for the commands.
RS232 command table
<Pin assignment for this two end>
<Interface>
<RS232/RJ45 command table>
Status
Response
Response Code
Write
Normal => ACK
0x03 0x14 0x00 0x00 0x00 0x14
Incorrect => ERROR ACK
0x00 0x14 0x00 0x00 0x00 0x14
Timeout (>100ms)
N/A
Status
Response Code
Read
BYTE0
BYTE1
BYTE2
BYTE3
BYTE4
BYTE5
BYTE6
BYTE7~N
BYTE N+1
0x05
0x14
0x00
LSB
MSB
0x00
0x00
Data
Checksum
Ex1. Read power status: 0x05 0x14 0x00 0x03 0x00 0x00 0x00
0x01
0x18
= On
Ex2. Read brightness: 0x05 0x14 0x00 0x04 0x00 0x00 0x00
0x32 0x00
0x4A
= 50
Ex3. Read lamp hours: 0x05 0x14 0x00 0x06 0x00 0x00 0x00
0x28 0x00
0x00 0x00
0x42
= 40
Pin
Description
Pin
Description
1
NC
2
RX
3
TX
4
NC
5
GND
6
NC
7
RTSZ
8
CTSZ
9
NC
RS-232 protocol
Baud Rate
115200 bps (default)
Data Length
8 bit
Parity Check
None
Stop Bit
1 bit
Flow Control
None
Function
Status
Action
cmd
Power
Write
Turn on
0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x00 0x00 0x5D
Turn off
0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x01 0x00 0x5E
Read
Power status
(on/off)
0x07 0x14 0x00 0x05 0x00 0x34 0x00 0x00 0x11 0x00
0x5E