![IPEX PH232Ex1Plus Скачать руководство пользователя страница 24](http://html1.mh-extra.com/html/ipex/ph232ex1plus/ph232ex1plus_user-manual_2088841024.webp)
w
w
w
.i
p
e
le
ctr
o
n
ix.c
o
m
IPEX
(IP Electronix)
PH232Ex1Plus
:
User’s Manual
Page 24 of 25
Doc No. : PH232Ex1Plus-UM-001
1 September 2019
The Command Frame and Device Response as follows:
1)
Change Redirect Setting Command
This command consists of 6 bytes as follows:
Byte 6
Byte 5
Byte 4
Byte 3
Byte 2
Byte 1
status
pn
‘W’
CODE-LSB
CODE-MSB
0x01
And the device response consists of 6 bytes as follows:
Byte 6
Byte 5
Byte 4
Byte 3
Byte 2
Byte 1
status
pn
‘S’
CODE-LSB
CODE-MSB
0x01
These bytes are:
0x01: constant binary value = 0x01
CODE-MSB: Most Significant 8 bits of Security Code
CODE-LSB: Least Significant 8 bits of Security Code
‘W’: ASCII Character ‘W’, Write Command
pn: Port Number, a binary value from 0x00 to 0x03 for PORT1 to PORT4
status: Redirect Status Byte that is consists of 8 bits as follow:
Status Byte:
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
X
X
X
X
P4
P3
P2
P1
X: Don’t Care
P[i] = 1, means redirect to port i is enabled
P[i] = 0, means redirect to Port i is disabled
Security Code is a 16-Bits Integer password that can be a number from 1000 to 9999 (decimal). The default
value is 1111 decimal.