M-3581 for OMR-6520 RS-232 to RS-422/RS-485 Converter OMR-6510 RS-422/RS-485 Repeater User’s Guide
Contents 1. INTRODUCTION............................................................................................1-1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9. 1.10. 2. OMR-6520........................................................................................................2-1 2.1. 2.2. 2.3. 2.4 3. INITIALIZE A BRAND-NEW OMR.....................................................4-1 INSTALL A NEW OMR TO A EXISTING NETWORK........................4-3 SOFTWARE UTILITY....................................
1. Introduction 1.1 What is OMR ? OMR is a series of data acquisition modules. It provides a total solution of the data acquisition network and control system. You can remotely control up to 256 OMR modules on RS-485 network. All you need is to use a host computer, like a PC (Personal Computer), with one RS-232 serial port for controlling the whole system. The maximum communication distance is 4000 feet from the host computer.
A surface coating covers on the PCB and electronic components of the OMR. It allows superior resistance to harsh environment such as humidity, salt spry and most harsh chemicals.
1.3 OMR-6000 series products overview The OMR-6000 series provides the complete sets of data acquisition modules, including the communication modules, the analog input modules, the analog output modules, and the digital I/O modules.
1.5 RS-485 on OMR The OMR improves the RS-485 capability for minimizing the user‘s cost. On each OMR module, a half-duplex RS-485 transceiver is used to communicate with other modules. A single twisted pair of wires, which provides standard differential transmission, is used to transmit and receive data between modules. The high input impedance of each OMR receiver allows up to 128 OMR modules on the same RS-485 bus without using a signal repeater. The maximum transfer rate of OMR is 115.
Host OMR-6520 RS-232 to RS-485/RS-422 Converter RS-485 bus RS-232 Terminator OMR-651 0 RS-485 bus OMR Modules Figure 1-2 Branch Topology OMR Modules OMR-6520 RS-232 to RS-485/RS-422 Converter Terminat Host RS-485 bus OMR-6510 Repeater OMR-6510 Repeater OMR Modules Terminat OMR I/O modules OMR I/O modules Figure 1-3 Free Topology 1.7 Constructing a OMR Network Go through the following steps, the user can construct an OMR network easily. 1. 2. 3. 4. 5. 6. 7. Setup an OMR-6520.
1.8 Termination Bus In order to avoid signal reflections on the bus, each bus segment has to be blanked off at its physical beginning and at its end with the characteristic impedance. A termination resister (Rt) is installed for this purpose. The Rt value - 120Ω ± 2% is recommended, and the detailed connection of Rt can be referred from the “Terminator Connection” diagram below. Host Data+ Data+ 120 ohms Data- 120 ohms Data- Terminator Connection 1.9.
1.10. How to Calculate Checksum Value Format of OMR Commands (LeadingCode)(Addr)(Command)(Data)[Checksum] When checksum is enable then [Checksum] is needed, it is 2-character.
2. OMR-6520 2.1. Overview What is OMR-6520 ? OMR-6520 is a RS-232 to RS-422/RS-485 converter, it converts the RS-232 signal to the RS-422/RS-485 signals. The OMR-6520 can be considered as an extension RS-422/RS-485 serial port for the host computer. A standard 9-pin D-type connector is used to connect the host computer and the OMR-6520. Hence, the OMR-6520 can connect with all kinds the PC, IPC or Notebook PC, which install a standard RS-232 interface.
Specifications of OMR-6520 ² Input Interface : standard RS-232 9 pin female D-type connector Speed (bps) : 1200(115.2K 1), 2400, 4800, 9600, 19.2K, 38.4K, RTS • Data Format : 9 bits, 10 bits, 11 bits, or 12 bits • • ² Output • • • ² Interface : RS-485, differential, 2 half-duplex wires RS-422, differential, 4 full-duplex wires Speed (bps) : 1200(115.2K 1), 2400, 4800, 9600, 19.2K, 38.4K, RTS Max RS-485 network bus distance : 4000 ft.
A Look at OMR-6520 & Pin Assignment (RS-232 IN) RS-232 to RS-485 /RS-422Converter Baud Rate (B)GND RTS CTRL 115.2K bps bps 2400 bps 4800 bps 9600 bps 19.2K bps 38.
Pin Definitions Pin # 1 2 4 5 6 7 9 10 -- Signal Name (Y)DATA+ (G)DATATX+ TXRX+ RX(R)+VS (B)GND RS-232 IN Description RS-485 transmission line, positive RS-485 transmission line, negative RS-422 transmission line, positive RS-422 transmission line, negative RS-422 receiving line, positive RS-422 receiving line, negative OMR power supply, +10V~+30V OMR ground 9-pin RS-232 connector Connection Between Host and OMR-6520 Host RS-232 RTS GND TXD RXD OMR-6520 RS-232 ’ • Ž • ‡ … ƒ ‚ RTS GND TXD RXD OMR-6
Functional Block Diagram +5V Isolation +5V Power Regulator & Filter Power Input +10V ~ +30V Isolation GND GND DC to DC Converter SW1 RTS PTC Data+ TXD RXD TVS RS-422/RS-485 RS-232 Receiver / Driver Communication Switching Controller GND DataReceiver/Driver Rx+ RxTx+ Opto-Isolation Communication Tx- Direction Control TVS : Transient Voltage Suppresser PTC : Positive Temperature Coefficient OMR-6520 2-5
2.2. Setup Objective of Setup In normal condition, it is not necessary to setup the OMR-6520. The default configuration of this communication module is 9600 bps and data format of 8 data bits with 1 start bit, 1 stop bit, and no parity check. Note that the data format is reserved to be compatible with other brand‘s communication port; it should not be modified if only OMR is used in a system. The baud rate can be configured according applications’ requirement.
SW2 Setting SW2 Default Setting ON Start Bits : 1 Data Bits : 8 S t o p Bits : 1 Parity : None OFF 1 OFF 2 OFF OFF ON ON OFF ON ON 2.3. 1 2 Start Bit Data Bits Stop Bit 1 7 1 1 6 1 1 8 1 1 7 1 1 9 1 1 8 1 1 10 1 1 9 1 Parity Packet Data Bits 0 9 1 0 10 1 0 11 1 0 12 1 Installation Software Utility Software is not necessary for this module.
Figure 2-1 Application wiring of OMR-6520 2.4 Programming The OMR-6520 is a communication module, it is not necessary to be programmed.
3. OMR-6510 3.1. Overview What is OMR-6510 ? The OMR-6510 is the RS-422/RS-485 signal repeater which is used to extend or to lengthen the network distance. A OMR bus can connect up to 128 modules. The repeater should be used when the numbers of the modules excess 128. In addition, the repeater should also be used when the length of a signal bus is more than 4000 feet.
11 Rx- Rx+ Tx- Tx+ DATA- (G) 20 DATA+ (Y) 10 (B)GND (R)+Vs RX- 115.2K bps 2400 bps 4800 bps 9600 bps 19.2 K bps 38.
Pin Definitions Pin # 1 2 4 5 6 7 9 10 14 15 16 17 19 20 Signal Name (Y)DATA+ (G)DATATXIN+ TXINRXOUT+ RXOUT(R)+VS (B)GND RXINRXIN+ TXOUTTXOUT+ (G)DATA(Y)DATA+ Description RS-485 transmission line, positive RS-485 transmission line, negative RS-422 transmission input line, positive RS-422 transmission input line, negative RS-422 receiving output line, positive RS-422 receiving output line, negative OMR power supply, +10V~+30V OMR ground RS-422 receiving input line, negative RS-422 receiving input line, pos
OMR-6510 Functional Block Diagram +5V Power Input +10V ~ +30V Power Regulator & Filter GND SW1 TVS Data+ Data+ RS-422/RS-485 DataRx+ Rx- Receiver/Driver RS-422/RS-485 Communication Switching Controller Communication Direction Control TVS : Transient Voltage Suppresser PTC : Positive Temperature Coefficient 3-4 OMR-6510 Receiver/Driver DataRx+ RxTx+ Tx+ Tx- PTC Tx-
3.2. Setup Objective of Setup In normal condition, it only needs to setup the OMR-6510 when the OMR bus with more than 128 modules or the distance exceeds 4000 feet long. The default configuration of this communication module is 9600 bps and data format of 8 data bits with 1 start bit, 1 stop bit, and no parity check. Note that the data format is reserved to be compatible with other brand‘s communication port, it should not be modified if only OMR is used in a system.
SW2 Default Setting ON Start Bits : 1 Data Bits : 8 S t o p Bits : 1 Parity : None OFF 1 1 OFF 2 OFF OFF ON ON OFF ON ON 3.3 2 Start Bit Data Bits Stop Bit 1 7 1 1 6 1 1 8 1 1 7 1 1 9 1 1 8 1 1 10 1 1 9 1 Parity Packet Data Bits 0 9 1 0 10 1 0 11 1 0 12 1 Installation Software Utility Software is not necessary. Equipments for Installation A 2-wire RS-485 network or 4-wire RS-422 network. DC Power supply (+10V~+30V) Wires Installation Procedure 1. 2. 3.
Application Wiring OMR module OMR-6510 Repeater DATA + DATA +Vs GND +DATA -DATA +Vs DATA+ DATAGND OMR module + DATA - DATA +Vs GND Local Power Supply +10 V to +30 V +Vs GND Figure 3-1 OMR-6510 wiring. 3.
4. Install a Brand New OMR 4.1 Initialize a Brand-New OMR Objective of Initializing a Brand-New OMR All OMR modules. except OMR-6520 and OMR-6510, in a RS-485 network must have an unique address ID, however, every brand-new OMR has a factory default setting as following: • • • • Baud rate is 9600 bps. Address ID is 01. Checksum is disable. Host watchdog timer is disable. Therefore, to configure the brand-new OMR before using is necessary, otherwise the address ID will conflict with others.
6. 7. Power on the power supply for OMR modules. Use the OMR Administrating utility to configure the address ID, Baud rate and check-sum status of the module. 8. Power of the local power supply. 9. Disconnect the DEFAULT* pin. 10. Configure the OMR-6520 to desired Baud rate. 11. Power on the local power supply 12. Use OMR Administration utility to check the module‘s new setting.
Initialization Wiring New OMR module OMR-6520 RS-232/RS-485 Converter Host Computer DATA + DATA - RS-232 +Vs GND DATA+ DATA Default* +Vs GND Local Power Supply +10 V to +30 V +Vs GND Figure 4-1 Layout for Configuring the OMR module 4.2 Install a New OMR to a Existing Network Equipments for Install a New Module • • • A existing OMR network New OMR modules. DC Power supply (+10 to +30 VDC). Installing Procedure 1. 2. 3. 4. 5. 6. 7. 8.
5. Software Utility 5.1 Software Installation 1. 2. 3. 4. 5.2 Insert “ADLink All-in-one CD” into your CDROM driver. Move cursor on OMR and click. Move cursor on OMR 6000 Admin Utility and click. Select the driver you want to install and follow the setup instructions on screen. How to Execute the OMR Administration What environment you needed? 1. 2. 3. 4. 5. At least one RS-232 communication port. Microsoft Windows (version 3.
5.3 OMR Administration Function Overview Default RS-232 Communication Port Setting. l l l l l Communication Port : COM2 Baud Rate : 9600 Data Bits : 8 Stop Bits :1 Parity : None 5.3.1 Change RS-232 Communication Port Setting. Choose “Network-ComPort” to change setting. 5.3.2 Search all exist OMR modules Choose “Network-Search” to search all exist OMR modules in the current RS-485 network. You can change search addresses range from here.
5.3.3 Using Operations Operation-Terminal : Operation-Configuration : Operation-Monitor: Operation-Diagnostic: Operation-Calibration: Operation-Model Number: Term Terminal Emulation, user can input command and get response message. Select one exist OMR module and select Configuration to do this module‘s common and private setting . Monitor all the module’s function on the network. Diagnostic module‘s function.
Operation-Run Batch : Operation-Step Batch : Operation-Display Batch : Operation-Repeat : Run batch command file in BATCH.CMD user can edit this text file. Run the batch command step by step. Display content of BATCH.CMD Repeat one command n times Diag ICON for Operation-Diagnostic This dialog is different by different-fuction modules.
Software Utility 5-5
Cal ICON for Operation-Calibration This dialog is different by different-fuction modules. 5.3.4 Save and Print OMR modules’ information File-Save File-Print File-Exit : Save all exist OMR modules information as display as in the listbox in the current RS-485 network. : Print the OMR module information in the listbox. : Quit the OMR Administration Utility.
5.3.
5-8 Software Utility
6. Troubleshooting and Maintenance Preventive Maintain • Periodic check for loose connection ATTENTION: To avoid electircal shock or unintended operation of the module, remove incoming power before checking connections. Using the LED Indication The LED provides status information on Modules operation. The troubleshooting about shows LED indicator. It also shows how to use the LED to detect and correct common operating problems. LED What it Means: What to do: OFF 1.