UART/RS232/RS485 Over Powerline Communication Transceiver Module. User Manual

Similar documents
BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

Using Xbee in Serial Communication

[WIR-1186] 865MHz-869MHz Wireless Module(version 3.0) (3.3V)

Single channel data transceiver module WIZ2-434

Step-by-Step Tutorial For Using LinkSprite UART- WIFI Module Model LS_UART_WIFI

APR-PRT3 Printer Module: C-Bus Programming Instructions

PRT3 Printer Module: ASCII Protocol Programming Instructions

1-Port R422/485 Serial PCIe Card

F2103 GPRS DTU USER MANUAL

Process Control and Automation using Modbus Protocol

USB TO SERIAL ADAPTER

Manual Serial PCI Cards

RS232 Programming and Troubleshooting Guide for Turbo Controls

Network-wide Diagnostics

Modbus and ION Technology

PCS0100en Persy Control Services B.V. Netherlands

Omron I/O Driver (Series 2) Programmable Serial Interface Card

WHQL Certification Approval...2 User Interface...3 SUNIX s COMLab..4

HAC-LM Series Low Power Data Radio Module

User Manual. AS-Interface Programmer

Programming and Using the Courier V.Everything Modem for Remote Operation of DDF6000

RS-422/485 Multiport Serial PCI Card. RS-422/485 Multiport Serial PCI Card Installation Guide

Introduction: Implementation of the MVI56-MCM module for modbus communications:

MCB3101 (Class I) WiRobot Serial Bluetooth Wireless Module User Manual

Quectel Cellular Engine

How To Use An Adh8012 Gsm Gprs Module With A Gsm (Gsm) Gpros (Gsp) Gpls (Geo) Gsp (Gpl) Gs

RN-XV-RD2 Evaluation Board

s!nus-elektrotechnikai bt. Industrial IT & Automation

A RF18 Remote control receiver MODULE

1.1 Connection Direct COM port connection. 1. Half duplex RS232 spy cable without handshaking

Modbus Communications for PanelView Terminals

Modbus and ION Technology

Bluetooth to Serial Adapter

Testing Data Radio Modem with Serial Port Tool V1.20

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

Advanced Data Capture and Control Systems

Troubleshooting and Diagnostics

RC2200DK Demonstration Kit User Manual

ALL-USB-RS422/485. User Manual. USB to Serial Converter RS422/485. ALLNET GmbH Computersysteme Alle Rechte vorbehalten

RS-485 Protocol Manual

How To Connect A Directsofl To A Powerpoint With An Acd With An Ctel With An Dm-Tel Modem On A Pc Or Ipad Or Ipa (Powerpoint) With A Powerline 2 (Powerline

LINDY ELECTRONICS LIMITED & LINDY-ELEKTRONIK GMBH - SECOND EDITION

PCMCIA 1 Port RS EDITION OCTOBER 1999

How to setup a serial Bluetooth adapter Master Guide

Software User Guide UG-461

16-Port RS232 to USB2.0 High Speed Multi Serial Adapter (w/ Metal Case) Installation Guide

DSX Master Communications

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

LTM-1338B. Plus Communications Manual

User s Manual TCP/IP TO RS-232/422/485 CONVERTER. 1.1 Introduction. 1.2 Main features. Dynamic DNS

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

3.1 RS-232/422/485 Pinout:PORT1-4(RJ-45) RJ-45 RS-232 RS-422 RS-485 PIN1 TXD PIN2 RXD PIN3 GND PIN4 PIN5 T PIN6 T PIN7 R+ PIN8 R-

Measurement and Analysis Introduction of ISO7816 (Smart Card)

Bluetooth Serial Adapter

T3 Mux M13 Multiplexer

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

LS-101 LAN to Serial Device server. User s Manual

MEMOBUS/Modbus Communications

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

USR-TCP232-T Hard Version: V2.0 Doc Version: V

RS232C < - > RS485 CONVERTER S MANUAL. Model: LD15U. Phone: / 97 / 98 (M)

IntesisBox ASCII Server - LON

Industrial Multi-port Serial Cards

WHQL Certification Approval...2 User Interface K software FIFO 4 Universal PCI Interface...5 Ready for 64-bit System...5

Objectives. Basics of Serial Communication. Simplex vs Duplex. CMPE328 Microprocessors (Spring ) Serial Interfacing. By Dr.

HAC-UM Series SHENZHEN HAC TECHNOLOGY CO., LTD. HAC-UM Series. Version 2.3C SHENZHEN HAC TELECOM TECHNOLOGY CO., LTD

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

SMS GSM Alarm Messenger

NMEA 0183 INSTALLATION AND OPERATING GUIDELINES

Quick Installation. A Series of Intelligent Bar Code Reader with NeuroFuzzy Decoding. Quick Installation

The Answer to the 14 Most Frequently Asked Modbus Questions

DECT Module UM-9802 Datasheet

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

4511 MODBUS RTU. Configuration Manual. HART transparent driver. No. 9107MCM100(1328)

ACU-1000 Manual Addendum Replacement of CPM-2 with CPM-4

User Manual Revision English Converter / Adapter Ethernet to RS232 / RS485 (Order Code: HD HD M HD HD M)

Technical Manual. For use with Caller ID signaling types: Belcore 202, British Telecom, & ETSI

1.Eastron SDM220Modbus Smart Meter Modbus Protocol Implementation V1.0

IP Link Device Interface Communication Sheet

Section TELEPHONE AUTOMATIC DIALER SYSTEM

Wifi Web Server Module w TF Socket User s Guide

Bluetooth UART/RS232 Module

CP2110-EK CP2110 EVALUATION KIT USER S GUIDE. 1. Kit Contents. 2. Relevant Documentation. 3. Software Setup

SIM808 V2.2.5 user manual V1.2. Electrodragon.com

Kepware Technologies Optimizing KEPServerEX V5 Projects

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0

CNC File Transfer Box. Connecting the CNC File Transfer. CNC Transfer Program

Application/Connection Examples

Technical Manual. FAN COIL CONTROLLER COOLING or HEATING ANALOG or PWM Art A

Application Note 2. Using the TCPDIAL & TCPPERM Commands to Connect Two TransPort router Serial Interfaces Over TCP/IP.

SETTING UP A REMOTE MODEM CONNECTION Application Note 27

GSM ATT Modules Simply effective remote control

Remote control circuitry via mobile phones and SMS

s!nus-elektrotechnikai bt. Industrial IT & Automation

Ethernet 241 (USB/Serial) Quick Start Guide

RFD radio modem software manual For RFD900A, RFD900u, RFD900+ radio modems

Different Ways of Connecting to. 3DLevelScanner II. A.P.M Automation Solutions LTD. Version 3.0

TCP/IP Converter DDS EX-9132 Operation Manual for 8051 Series

RockBLOCK+ Developer guide

ENET-710. ENET Ethernet Module ENET-710 JAN / 06 FOUNDATION

Transcription:

UART/RS232/RS485 Over line Communication Transceiver Module User Manual. LinkSprite Technologies, Inc July, 2008 www.linksprite.com

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 LinkSpriteTechnologies, Inc. 2 www.linksprite.com

Ⅰ Summary 1. Introduction UART/RS232/RS485 are widely used in industrial control and instrument fields. PLC-UART, PLC-RS232/RS485 transceiver modules from LinkSprite (LinkSprite modules) are transceiver modules designed to send/receiver UART/RS232/RS485 data over the powerline network. PLC-RS232/RS485 is designed to transparently move serial data over the powerline network, and achieves the target of replacing RS232/RS485 cables by the ubiquitous powerline network. LinkSprite modules have the built-in packet-level repeater function. This feature can greatly extend the coverage of the powerline communication. LinkSprite modules has both physical and logic addresses. In a network, both physical and logic addresses can be used to address different nodes in the network. LinkSpriteTechnologies, Inc. 3 www.linksprite.com

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. LinkSpriteTechnologies, Inc. 4 www.linksprite.com

3 Specifications Product name PLC-UART/RS232/RS485 Transceiver Module Interface Operating Voltage Modulation Carrier frequency Error Correction Data rate on line Maximum packet data length Repeater Hops Transmission distance UART, RS232 or RS485 230VAC/50Hz,110VAC/60Hz FSK(Frequency Shift Keying) 262K/144KHz FEC(Forward Error Correction) 30Kbps 320bytes 3 Hops 300 feets(no repeater) Support nodes number 65535 LED Line Activity LED system LED serial port LED 4 Applications AMR Industry manufacture and control Safeguard, fire alarm, smoke alarm Collect and transmit instrument data Safeguard and monitor Home automation LinkSpriteTechnologies, Inc. 5 www.linksprite.com

Ⅱ Diagram 1 Functional Diagram lines RS485 Bus lines Coupling circuit RS485 Driver Carrier signal lines carrier module RS232 Interface RS232 Driver Serial data 2 Board Layout VAC VAC LN 18V + 18V RS485 B RS485 A GND RS232 TXD RS232 RXD P0 J4 PU-R232A/R485A Module L1 L2 L3 LinkSpriteTechnologies, Inc. 6 www.linksprite.com

3 LED L1 PLC LED: green mans module is sending data to PLC; red means module is receiving data from PLC L2 L3 System LED,green means system is in normal Serial port LED,green means module is receiving data from aerial port; red means module is sending data to serial port 4 Definition of Pin 1 VAC 220VAC/50Hz or 110VAC/60Hz lines 2 VAC 220VAC/50Hz or 110VAC/60Hz Module 3 18V+ +18VDC power 4 18V- -18VDC RS485 5 RS485 B RS485busB bus 6 RS485 A RS485 bus A GND 7 GND GND RS232 interface 8 RS232TXD RS232 data transmission should link to PC s RXD 9 RS232 RXD RS232 data receiving should link to PC s RXD LinkSpriteTechnologies, Inc. 7 www.linksprite.com

Ⅲ Command Interface 1 Command Mode 1.1 Enter 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. 1.2 Exit command mode 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" 2 Arguments and Responses 2.1 Arguments and Responses 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. LinkSpriteTechnologies, Inc. 8 www.linksprite.com

2.2 Commands without Arguments UART/ RS232/RS485 Over line Communication Transceiver Module There are four commands without arguments. + + +: enter command mode; will directly return ok. ATEX: exit the command mode, return exited. ATRS: software reset, will reset the module immediately, no return. ATSR: in search for other modules on the power lines, this will return the name of the found module. Please wait for two seconds after sending a command. The name of module received in two seconds will be shown in the serial port, otherwise, the name received after two seconds will be ignored. Note: In the course of searching, all bytes input from serial port also will also be ignored. 2.3 Modified arguments Except for serial arguments, the modified arguments will be immediately saved into eeprom and take effect. The serial arguments won t take effect immediately after being modified to avoid user from modifying PC serial arguments before inputting command. Serial arguments will take effect through automatically resetting module when exiting the command mode. LinkSpriteTechnologies, Inc. 9 www.linksprite.com

3 Command List Command Description Arguments Description Default Control Class +++ none Enter command mode ATEX Exit none Exit command mode ATTO Time out 1-30 Timeout value, unit: second 5 ATRS Reset none Software reset Network class ATDA Domain Address 1-32767 Domain Address of Logic Address 1 ATNA Node Address 1-65535 Node Address of logical address 1 LinkSpriteTechnologies, Inc. 10 www.linksprite.com

Function class ATRP Repeater Y,N Relay function, Y is on, N for off Y 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 ATDB Data Bit 5,6,7,8 Data bit 8 Parity bit,n = no, O ATPA Parity N, O, E = odd, E = even N ATST Stop Bit 1,2 Stop bit 1 Debug class LinkSpriteTechnologies, Inc. 11 www.linksprite.com

The raw data for debugging. The module will output sent raw packets ATRW Raw Y,N from host to the module, and not just the payload. Y means turn on this function, N means turning off. N ATMI MIOpattern Y,N Support compatible issue with Ariane MIO-RS232 format. The header of the data package will be "A3 04". N ATSR Search none Search for peer module on the power line network LinkSpriteTechnologies, Inc. 12 www.linksprite.com

Ⅳ Repeater Function 1 Introduction function. To extend the coverage, Linksprite modules have built-in repeater When the module's repeater function is turned on (ON is the default setting), the module echos the data packet from the power line, while entertaining the data sent by host through the serial port. A C Because of far distance, data transmission can not be reached. A B C After adding repeater function to proper locations, the data can be transmitted farther. Transceiver function is not influenced by repeater function, that is to say, each module can be used as a separate repeater or can be seen as repeater when sending and receiving data. It can not only send and receive data from the power line, but also repeat other data packets. In order to prevent network congestion, the module is smart enough to know the data were sent or repeated by itself and will discard the data LinkSpriteTechnologies, Inc. 13 www.linksprite.com

packets when receiving the duplicated ones. 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 AT command ATRP is designed to set up the repeater function. 2.1Turn on repeater function Steps input response description 1 +++ ok Enter command mode 2 ATRP Y or N Poll current repeater status, Y is on, N for off 3 ATRP Y ok Turn on repeater function 4 ATRP Y Check present repeat status, ON 5 ATEX exit Exit command mode LinkSpriteTechnologies, Inc. 14 www.linksprite.com

2.2Turn off repeater function steps input response description 1 +++ ok Enter command mode 2 ATRP Y or N Check current repeater status, Y is on, N for off 3 ATRP N ok Turn off repeater function 4 ATRP N Check current repeater status, OFF 5 ATEX exit Exit command mode 2.3 Setting Illustration Repeater function is available in the factory. Once repeater function is modified; it will immediately take effect and be preserved permanently, even if the module is restarted. 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 The first time The second time The third time No re-transition LinkSpriteTechnologies, Inc. 15 www.linksprite.com

Data packet is sent from module A to module B. From module B to module C is the first time, to module D is the second time, and to module E is the third time. Module F is the termination. Therefore, data packet won t be sent to module F. LinkSpriteTechnologies, Inc. 16 www.linksprite.com

Ⅴ Logic Address 1 Logic Address Module data packets are transmitted in the way of broadcasting in power lines. All modules will receive the data packets issued by the module and sent them, through the serial port under carrier signals area. When multiple modules are installed on the same power line network, however, one does not want them to communicate directly; thus, the networks can be addressed by the logic address. Logic address is composed of two parts: domain and nodes. For example, the logic address (10:200) means that the domain value is 10, node value is 200. Logic address is the default setting (1:1). Module data packets can only be received and processed by the module at the same domain. Other modules, even detecting the carrier signal will not receive, nor to transmit to the serial port or repeater. LinkSpriteTechnologies, Inc. 17 www.linksprite.com

H 10:8787 A 1:1 B 10:8 C 2002:1998 F G 10:59 2002:65500 E 1:299 D 10:1000 On the above figure, A, E are at the same network, their domain values are 1; B, D, F, H are at the same network, its domain values are10; C, G are at the same network, their domain values are 2002. Although in the physically speaking, all the modules are in a power line network, the packet issued by A, will only be received and processed by E, other modules will not respond. Similarly, packet issued by F, only B, D, H will receive and process packet issued by F, other modules will not work. 2 Address Setting step input response description 1 +++ ok Enter command mode 2 ATDA 1-32767 Check domain values of present logic address. Default factory setting is 1. 3 ATNA 1-65535 Check nodes values of present logic address. Default factory setting is 1. 4 ATDA 2 ok Set domain value of logic address as 2 LinkSpriteTechnologies, Inc. 18 www.linksprite.com

5 ATNA 45 ok Set nodes of logic address as 45 6 ATDA 2 Check domain values of logic address 7 ATNA 45 Check node values of logic address 8 ATEX exited Exit command mode LinkSpriteTechnologies, Inc. 19 www.linksprite.com

Ⅵ 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 Meter Meter Meter Meter Meter Meter Data concentrator In order to automatically meter reading, RS485 bus needs to be deployed. Here, using PU-R485A module, one can use the existed power lines to directly complete data transmission. LinkSpriteTechnologies, Inc. 20 www.linksprite.com

lines meter PU- R485A PU- R485A meter meter PU- R485A PU- R485A meter meter PU- R485A PU- R485A meter PU-R485A Data concentrator LinkSpriteTechnologies, Inc. 21 www.linksprite.com

LinkSprite Technolgies, Inc. 1410 Cannon Mountain Dr. Longmont, CO 80503 (Voice) 720-949-4-932 (Email) sales@linksprite.com http://www.linksprite.com LinkSpriteTechnologies, Inc. 22 www.linksprite.com