http://www.wenshing.com.tw; http://www.rf.net.tw
RD-232HI-HP9M Series Instruction Manual P.7
Command Communication Mode
Modifying internal parameters through RS-485 or RS-232 interface
Enter set-up mode
Transmit value =0x01+0x02+
~
+7E+0x7F, altogether 127 bytes
Receive value=
0x01+0x02+
~
+7E+0x7F, altogether 127bytes
It is only allowed at set-up mode to read or modify all parameters.
Exit set-up mode
Transmit value=0xFF FF FF 55 CC
Receiver value=
0xFF FF FF 55 CC
It is only allowed to exit set-up mode to transmit or receive data.
Read product name and version
Transmit value=0xFF FF FF 55 AA BB FD
Receive value for output power at 5W (character)=WS-4M5WV101
There will be altogether 11 bytes, the former 6 character stands for
product name, while the latter 4 characters stands for firmware version.
Restore to default parameter
Transmit value=0xFF FF FF 55 AA BB FF
Receive value=N/A
It is to delete previous setting parameters in order to return to
original default values.
Read internal parameter
Transmit value=0xFF FF FF 55 AA BB FE
Receive value=0x03 00 00 00 00 05
06 9B 68
07 00 00 FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF (This is original default value)
There will be altogether 31 bytes, showing the current internal parameters.
Setup internal parameters
Transit value=0xFE 03 00 00 00 00 05
06 9B 68
07 00 00 FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF
,
altogether transmitting 32 Bytes
Receive value=0xFD 03 00 00 00 00 05
06 9B 68
07 00 00 FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF
,
altogether receiving 32 Bytes. The first byte
shows FD standing for completed the setting; while it shows FE standing for the same
value as internal parameter.
There are altogether 31 bytes allowing the modification of all parameters.
1
st
byte: The starting character, fixed value=0xFE
2
nd
byte: checksum, stop bits, interface speed rate, set up ranged 00 ~ 07;
the default rate: 9600bps
Bit 7:
0~ 8bits format (8,1,N/7,1,O/7,1,E/7,2,N)
1~9 bit format (8,1,O/8,1,E/8,1,S/8,2,N(8,1,M)
Remark: N/O/E/M/S stands for None check (None), Odd parity check (Odd),
Even parity check (Even), 1 check (Mark) and 0 check (Space)
Bit6~5 :
00 None check/1 check (Mark)
01 Odd parity check
10 Even parity check
11 0 check (Space)
Bit 4~3:
fixed as 0
Bit2 ~0:
interface rate
Value
0
1
2
3
4
5
6
7