74
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 0x0
0 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
Reset
Execute
0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x02 0x00 0x5F
Reset Color
Settings
Execute
0x06 0x14 0x00 0x04 0x00 0x34 0x11 0x2A 0x00 0x87
Содержание PJD6235
Страница 90: ......