(TTL Output /485 Output /RS232 Output) Wireless

WENSHING®©
RD232
(TTL Output /485 Output /RS232 Output)
Wireless Modem 50mW 902MHz~928MHz
RS232 Interface
RS485 Interface
TTL Interface
Instruction Manual Revision History
Version
Date
Changes
V0.01
Aug. 05, 2009
First Edition
V0.02
Aug. 26, 2009
Second Edition
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.1
Key Feature
 UHF Band Wireless Data Transceiver
 Exclusive Hopping Technology
 RF Output Power up to 50mW



Sensitivity up to -118dBm
RS232、RS485、TTL Interface
Transceiver Data Rate 1.6Kbps~128Kbps
Application
 Wireless Network
 Multi-Channel Home Automation Standard
 Wireless RS232
 Active RFID Base Station Transceiver
Characteristic
Parameter
Min
Type
Max
Unit
+85
℃
Condition
Operating Condition
Operating Temperature Range
-10
Operating Supply Voltage
4.5
5
9
V
RX Mode (TTL 3V)
34
35
mA
TX Mode (TTL 3V)
80
RX Mode (RS485)
34
TX Mode (RS485)
80
RX Mode (RS232)
34
TX Mode (RS232)
80
Current Consumption
mA
35
mA
mA
35
Peak
Peak
mA
mA
Peak
RF Characteristic
Frequency Range
902
928
MHz
Data Rate
1.6
128
Kbps
17
dBm
-118
dBm
2000
V
115.2
Kbps
TX Output Power
16
RX Sensitivity
Modulation
GFSK
GFSK
Other
ESD
Interface Data Rate
Dimension
1.2
102 x 43.3 x 26.8
http://www.wenshing.com.tw; http://www.rf.net.tw
mm
RD232 Data Modem Data Sheet P.2
Block Diagram
View
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.3
Pin Assignment
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.4
Command Summary
COMMAND
0x80
(Product info)
0x81
(Set RF transmission
rate )
Send Value
Back Value
Remark
Please find for
0x80
RD232-V100
firmware version from
our website released.
Correct setting will
0x81+1 byte
return send value;
1 byte setting,
(0x00~07)
incorrect setting will
default value is 0x03.
have no back value.
Correct setting will
0x83
0x83+1 byte
return send value;
1 byte setting,
(Set ID)
(0x00~FF)
incorrect setting will
default value is 0x00.
have no back value.
Correct setting will
0x85
0x85+1 byte
return send value;
(Set RD232 rate)
(0x00~07)
incorrect setting will
have no back value.
Correct setting will
0x86
0x86+1 byte
return send value;
(Set link mode)
(0x00 or 0x01)
incorrect setting will
have no back value.
Correct setting will
0x87
(Set group ID)
0x87+2 bytes
(0x0000~FFFF)
return send value;
incorrect setting will
have no back value.
Correct setting will
0x8D
0x8D+72 bytes
return send value;
(Detect interface rate)
(Only 0x8D)
incorrect setting will
have no back value.
1 byte setting,
default value is
0x07=115200bps.
1 byte setting,
default value is
0x01=RD232 Modem.
2 bytes setting,
default value is
0x0000.
Repeat 0x8D and total
are 72 bytes, repeat
sending and switch
interface rate until it
return send value.
Repeat 0x8F and total
Correct setting will
0x8F
0x8F+72 bytes
return send value;
(Cancel transfer station)
(Only 0x8F)
incorrect setting will
have no back value.
are 72 bytes,if you
received return send
value after sent value,
it is meaning you
already cancel transfer
station.
0xC0
(Preset transfer station)
0xC0+1~11
bytes
(0x00~FF)
http://www.wenshing.com.tw; http://www.rf.net.tw
Correct setting will
return send value;
Min: 1 byte,
incorrect setting will
Max: 10 bytes.
have no back value.
RD232 Data Modem Data Sheet P.5
Please use COM Demo program which WENSHING opened to send Hex code
which format command is 16bytes through RD232(TTL Output/485 Output/RS232
Output) and amend to RD232(TTL Output/485 Output/RS232 Output). When user
amended success, RD232(TTL Output/485 Output/RS232 Output) will automatically
reply parameters for user’s confirmation. After successful setting, user can begin to
use.
Point-to-Point Transmission:
This mode can be used in multi-point transmission. You can specify receive side ID
when you send data. It can receive data when GID and UID of your equipment can
meet using conditions and under effective signal cover range. If you want to specify
transmission path (maximum is 10 transfer stations), please add Address and receive
side ID before every information, but the data which you send every time must be less
than 64 bytes (it must include Address and ID of receive side). If you set preset
transfer station, you can’t use point-to-point transmission; you need to cancel transfer
station so that you can use point-to-point transmission.
Address
ID Byte
0x71~7B
1~11
0x71=1 send 1 receive;0x72=1 send 1 transfer 1 receive;
0x73=1 send 2 transfer and 1 receive
Path order
Preset set process of Point-to-Point Transmission mode
When you use point-to-point transmission mode, please set corresponding
parameters so that it can start to work. Please set according to following steps.
Set RF transmission rateSet equipment UID Set RD232(TTL Output/485
Output/RS232 Output)interface rate Set group IDFinish setting
1.
Set RF transmission rate: suggest you collocate with interface rate to set when
you start to set. Usually, RF transmission rate must be bigger than interface rate
to avoid error data.
2.
Set equipment ID: UID is for identity between equipments. User can specify
point-to-point path through point-to-point transmission.
3.
Set RD232 (TTL Output/485 Output/RS232 Output) interface rate: you can
collocate with equipment rate.
4.
Set group ID: GID is for working group identify. When GID are different,
equipments can ‘t send data or receive data each other.
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.6
Example

If you want to send data 9999 from equipment which UID=01 to equipment which
UID=02, data format which you send is 0x71029999.
GID:D391
UID:03
GID:D391
UID:01
GID:D391
UID:04
Send=71029999
GID:D391
UID:02

Receive=9999
If you want to send data 9999 from equipment which UID=01 to equipment which
UID=03, data format which you send is 0x71039999.
GID:D391
UID:03
Receive=9999
GID:D391
UID:01
GID:D391
UID:04
Send=71039999
GID:D391
UID:02

If you want to send data 9999 from equipment which UID=01 through equipment
which UID=03 to transfer to equipment which UID=04, data format which you send is
0x7203049999.
GID:D391
UID:03
GID:D391
UID:01
Transfer
GID:D391
UID:04
Send=7203049999
Receive=9999
GID:D391
UID:02
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.7

If you want to send data 9999 from equipment which UID=01 through equipment
which UID=03 to transfer to equipment which UID=04 and transfer again to equipment
which UID=02, data format which you send is 0x730304029999.
GID:D391
UID:03
GID:D391
UID:01
Transfer 1
GID:D391
UID:04
Transfer 2
Send=730304029999
GID:D391
UID:02
Receive=9999
Command Description
Product info:
It will automatically reply product corresponding info after sent this command.
Address
Read/Write
Byte
Default
0x80
R
-
RD232-V100
Set RF transmission rate:
We suggest you to collocate with interface rate as setting when you set wireless
transmission rate. Normal setting, RF transmission rate must be bigger than interface
rate to avoid error data.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x81
W
1
03
00~07
Rate
(bps)
1600
3200
6400
12800
25600
51200
76800
128000
Code
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x83
W
1
00
00~FF
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.8
Example:
User just needs to send data from equipment which UID=01 to equipment which
UID=04, it will receive data when UID=04.
GID:D391
UID:03
GID:D391
UID:01
GID:D391
UID:04
GID:D391
UID:02
Set RD232(TTL Output/485 Output/RS232 Output) interface rate:
1200bpbs~115200bps; user can amend RD232 (TTL Output/485 Output/RS232
Output)interface rate according to different application, default value is 115200bps.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x85
W
1
07
00~07
Rate
(bps)
1200
2400
4800
9600
19200
38400
57600
11520
0
Code
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
Set link mode:
RD232(TTL Output/485 Output/RS232 Output) can collocate with RD-800HI and 3C
message receive device. User can amend the link mode through command according
to the product which you allocate with.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x86
W
1
01
00~02
Value
3C Message
Receive Device
RD232(TTL Output/485
Output/RS232 Output)
RD-800HI
RD232 (TTL
Output/485
Output/RS232
Output)
00
01
02
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.9
Set group ID:
GID is for working group identification. When GID is different, both equipments can’t
send or receive data each other.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x87
W
2
0000
0000~FFFF
Example:
When GID=1234 and transmitted side which UID=0A send data to receive side which
UID=2A, GID=0000. But equipment which UID=2A can’t receive any data, only
GID=1234 can receive data from receive side which UID=2A.
GID:1234
UID:2A
Receive data=ABCDEF
GID:1234
UID:0A
Transfer data=ABCDEF
Only GID=1234 Receive
GID:0000
UID:2A
Non receive data
Detect interface rate:
Please switch interface rate and input 72bytes of 0X8D when you can’t make sure the
interface rate. Equipment side will return same 0x8D, total are 72bytes when interface
rate is correct.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x8D
R
72
-
8D8D8D~8D
Cancel transfer station:
Input 72 bytes of 0X8F for one time when you need to cancel transfer station. When
receiver side returns same 0X8F, total are 72 bytes, it is meaning you cancel preset
transfer station. You need to collocate with point-to-point transmission format after you
cancel transfer station so that you just can start to normal working.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0x8F
W
72
-
8F8F8F~8F
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.10
Preset transfer station:
This function needs to preset constant path of data transmission mode. After finish
preset, every data doesn’t need to add any command and path, but the data which
you send every time must be less than 64 bytes. Equipment will automatically transfer
and send data according to preset path. Maximum transfer stations you can set are 10.
Setting way is to add UID number on finial receiver side behind the command. If you
need to go through transfer station, you need to insert UID number of path in the
middle.
Address
Read/Write
Byte
Default(Hex)
Range(Hex)
0xC0
W
1~11
-
00~FF
Example:
There are various path setting ways when user need to sent data from equipment
which UID=01 to equipment which UID=04.
 Method 1: command is 0xC00304 when UID=01→UID=03→UID=04.
GID:D391
UID:03
GID:D391
UID:01
GID:D391
UID:04
GID:D391
UID:02
Or , command is 0xC00204 when UID=01→UID=02→UID=04.
GID:D391
UID:03
GID:D391
UID:01
GID:D391
UID:04
GID:D391
UID:02
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.11
 Method 2: command is 0xC0020304 when UID=01→UID=02→UID=03→UID=04.
GID:D391
UID:03
GID:D391
UID:01
GID:D391
UID:04
GID:D391
UID:02
Or , command is 0xC0030204 when UID=01→UID=03→UID=02→UID=04.
GID:D391
UID:03
GID:D391
UID:01
GID:D391
UID:04
GID:D391
UID:02
Special Purpose
Collocate with our Hi Power Wireless Hopping Controller 16 Loop (RD-800HI),
it can control, monitor all I/O actions, also can modifications every setting within the
RD-800HI the set.
RD-800HI communicated with RD232(TTL Output/485 Output/RS232 Output):
RD(TTL Output) GID=0000、RF rate =12.8Kbps
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.12
Command Summary
Address
UID
Power
0x71EF
00~FF
00~14
Location
ID
Power
consumption
GID
Transfer Station
ID Byte
71~7B
1~11
0000~
FFFF
0x71=1 send 1 Receive;
Group
0x72=1 send 1 transfer 1 receive;
0x73=1 send 2 transfer 1 receive
Path
order
Setting example:
Dial switch from RD-800HI back to adjust to Command Mode, open the power and
press setting key until Link light flashes and then open.
Through RD232(TTL Output/485 Output/RS232 Output) to send
0x71EF0109D39171A, set UID=01 through RD-800HI which power
consumption=22dBm, GID=D391, equipment ID from return information
=AA
Operation Description:
Through the PLC or computer to control and monitory every I/O action of Wireless
Hooping Controller 16 Loop(RD-800HI). Input is RD-800HI input side, output is
RD-800HI output side. You can repeat to type 2 of bytes to avoid the occurrence of
malfunction when you control input and output. (After RD-800HI received control
signal, it will keep around 90 seconds, and then back to no input status. If you want to
constant RD-800HI output, suggest you to send one commend every 60 seconds to
keep output.)
Address
ID Byte
0x71~7B
1~11
FF
Output State
End Code
00~FF
00
0x71=1 receive 1 send;
Path
Type
Type same of
0x72=1 send 1 transfer 1 receive;
order
same of 2
2 Bytes
0x73=1send 2 transfer 1 receive
http://www.wenshing.com.tw; http://www.rf.net.tw
Bytes
RD232 Data Modem Data Sheet P.13
Sample 1:
If equipment UID=0A needs to control 1st Relay action of RD-800HI which is UID=1F,
sending code is 711F0000010100.
Relay switch
1
2
3
GID:D391
UID:0A
Send:711F0000010100
GID:D391
UID:1F
RD-800HI
4
5
6
7
8
Sample 2:
If equipment UID=0A needs to control 1st, 5th and 6th Relay action of RD-800HI which
is UID=1F, sending code is 711F0000313100.
If you need 1st, 5th and 6th Relay keep action of RD-800HI, no close, please send
711F0000313100 every 30~60 seconds.
Relay switch
1
2
3
GID:D391
UID:0A
Send:711F0000313100
GID:D391
UID:1F
RD-800HI
4
5
6
7
8
Sample 3:
If equipment UID=1F needs to control 5th ~8th Relay action of RD-800HI which
is UID=2F, sending code is 712F0000F0F000.
If you need 5th ~8th Relay keep action of RD-800HI, no close, please send
712F0000F0F000 every 30~60 seconds.
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.14
Relay switch
1
2
3
GID:D391
UID:1F
4
GID:D391
UID:2F
Send:712F0000F0F000
5
6
RD-800HI
7
8
Sample 4:
If equipment UID=1F needs to control 2nd Relay action of RD-800HI which is UID=2F,
sending code is 712F0000020200
Relay switch
1
2
3
GID:D391
UID:1F
GID:D391
UID:2F
Send:712F0000020200
RD-800HI
4
5
6
7
8
Samples 5:
If equipment UID=1F needs to go through RD-800HI which is UID=20 as transfer
station to transfer send data to RD-800HI which is UID=2F and control 2nd Relay
action, sending code is 72202F0000020200
Relay switch
1
2
3
GID:D391
UID:1F
GID:D391
UID:20
Send:72202F0000020200 RD-800HI
GID:D391
UID:2F
4
RD-800HI
7
5
6
8
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.15
Example 6:
If equipment UID=1F needs to go through RD-800HI which is UID=30 as transfer
station to transfer send data to RD-800HI which is UID=20 and transfer send the
data to RD-800HI which is UID=2F again, also control 2nd Relay action, sending
code is 72202F0000020200
Relay switch
1
2
3
GID:D391
UID:1F
Send:7330202F0000020200
GID:D391
UID:30
GID:D391
UID:20
GID:D391
UID:2F
RD-800HI
RD-800HI
RD-800HI
4
5
6
7
8
Firmware update
User can update firmware of this product, please download UART_Bootlader program
and newest firmware from website. (Wenshing RD-232 Page )
Please check details as below:
1.
Before you update, please set interface rate from RD232(TTL Output/485
Output/RS232 Output) to 115200bps, please check further details from
Command Description.
2.
Open UART_Bootlader program which WENSHING provided.
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.16
3.
Open Port list and select COM Port which link with RD232(TTL Output/485
Output/RS232 Output).
4.
Click Connect to go into update mode, meanwhile, RD232(TTL Output/485
Output/RS232 Output) lights will be keep flashes, device will display device
name and firmware version.
5.
Click Browse to select the newest firmware version.
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.17
6.
Click Download to start firmware update, it will show successfully loader File
window once you finished update and press Sure.
7.
Click Run to close update mode and press Exit to close UART_Bootlader
program.
http://www.wenshing.com.tw; http://www.rf.net.tw
RD232 Data Modem Data Sheet P.18