UART/RS232/RS485 Over Powerline Communication Transceiver Module User Manual
UART/RS232/RS485 Over Powerline Communication Transceiver Module User Manual
User Manual
www.linksprite.com
UART/ RS232/RS485 Over Powerline Communication Transceiver Module
Table of Content
Ⅰ Summary ..................................................................................................................3
1 Introduction............................................................................................................................3
2 Features ..................................................................................................................................4
3 Specifications .........................................................................................................................5
4 Applications ...........................................................................................................................5
Ⅱ Diagram....................................................................................................................6
1 Functional Diagram................................................................................................................6
2 Board Layout..........................................................................................................................6
3 LED........................................................................................................................................7
4 Definition of Pin.....................................................................................................................7
Ⅲ Command Interface..................................................................................................8
1 Command Mode.....................................................................................................................8
1.1 Enter command mode .................................................................................................8
1.2 Exit command mode ...................................................................................................8
2 Arguments and Responses .....................................................................................................8
2.1 Arguments and Responses ..........................................................................................8
2.2 Commands without Arguments...................................................................................9
2.3 Modified arguments ....................................................................................................9
3 Command List......................................................................................................................10
Ⅳ Repeater Function ..................................................................................................13
1 Introduction..........................................................................................................................13
2 Function Setting ...................................................................................................................14
2.1Start repeater function ................................................................................................14
2.2Turn off repeater function ..........................................................................................15
2.3 Setting Illustration.....................................................................................................15
3 Repeater Grade.....................................................................................................................15
Ⅴ Logic Address ........................................................................................................17
1 Logic Address ......................................................................................................................17
2 Address Setting ....................................................................................................................18
Ⅵ Application Illustration ..........................................................................................20
Ⅰ Summary
1. Introduction
2 Features
●Fully transparent mode, plug and play coming out of the box without
the need to do any programming.
● Built-in error correction codes.
● Built-in repeater function to extend the coverage.
●Physical and logic address
●AT commands used for advanced configuration.
● UART, RS232 interface and RS485 bus
●FSK(Frequency Shift Keying)modulation used in physical layer
● Low power
● RoHS
● Small module size, and easy to be implemented into existing
products.
3 Specifications
4 Applications
●AMR
●Industry manufacture and control
●Safeguard, fire alarm, smoke alarm
●Collect and transmit instrument data
●Safeguard and monitor
●Home automation
Ⅱ Diagram
1 Functional Diagram
Power Carrier
lines signal
Power Power
Coupling
lines lines
circuit
carrier
module
RS485
RS485
Bus
Driver
RS232 RS232
Serial data
Interface Driver
2 Board Layout
VAC
LN
VAC
18V +
P0
18V –
PU-R232A/R485A Module
RS485 B
RS485 A
GND
J4
RS232 TXD
RS232 RXD
L1 L2 L3
3 LED
4 Definition of Pin
Ⅲ Command Interface
1 Command Mode
The module can be put into command mode by sending “+++” through
serial port. The module will respond with an “ok”. In order to prevent the
situation where the user data” +++”mistakenly triggers the command mode,
there must be no serial port data input one second before and after the
receiving of "+++". At the same time, the gap between the three”+” should
not be more than one second, otherwise, it will be considered as a data
rather than a command.
There are two approaches to exit command mode. One way is to input
command “ATEX”. The other is to timeout and automatically exit. In either
case, the modules will response "exited". The timeout value can be set by
command "ATTO"
For all the commands with arguments: if the parameters are correct,
the module will respond with an “ok”. Otherwise, the modules will response
with an “invalid para”. If there are no arguments associated with the
commands, it will be treated as polling modem and the module will
respond with the existing arguments residing in the module.
3 Command List
Control Class
Enter command
+++ none
mode
Timeout value,
ATTO Time out 1-30 5
unit: second
Network class
Function class
Relay function, Y is
ATRP Repeater Y,N Y
on, N for off
A string
ATNM Name with length Set the name of the PU-R485A
less than 15 module
Communication class
1200, 2400,
ATBD Baud Rate 4800, 9600, Baud Rate 9600
19200
, E = even
Debug class
Support compatible
issue with Ariane
MIO-RS232 format.
ATMI MIOpattern Y,N N
The header of the
data package will be
"A3 04".
Ⅳ Repeater Function
1 Introduction
A C
A B C
Note: Due to the fact that repeaters will resent the received data
packets, if the number of repeater is too large, a number of repeaters will
seize the channel, and lead to increased communication time. When
deploying the repeater, one should take full account of the balance of
reliability and real-time.
2 Function Setting
3 Repeater Hops
A data packet could at most pass through third repeater three times. It
is shown as follows:
A B C D E F
Ⅴ Logic Address
1 Logic Address
A
1:1
B
H C
10:8
10:8787 2002:1998
F
G D
10:59
2002:65500 E 10:1000
1:299
2 Address Setting
Ⅵ Application Illustration
Intelligent instruments widely adopt RS485 bus to communicate. For
example, the power meter automatic meter reading systems, data
concentrator through the RS485 bus read the message from power meter.
RS485
A B
Power
Meter Power
Meter
Power
Meter
Power
Meter
Power
Meter
Power
Meter
Data
concentrator
Power lines
PU- Power
Power PU- R485A meter
meter R485A
PU- Power
Power PU- R485A meter
meter R485A
PU- Power
Power PU- R485A meter
meter R485A
PU-R485A
Data
concentrator