Peak RS-232 User Manual

All-in-one usb adapter for communication via can, rs-232, and usb

Advertisement

Quick Links

PCAN-USB Hub
All-in-one USB adapter for
communication via CAN, RS-232, and USB
User Manual
V2.1.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RS-232 and is the answer not in the manual?

Questions and answers

Summary of Contents for Peak RS-232

  • Page 1 PCAN-USB Hub All-in-one USB adapter for communication via CAN, RS-232, and USB User Manual V2.1.1...
  • Page 2 All other product names mentioned in this document may be the trademarks or registered trademarks of their respective companies. They are not explicitly marked by “™” and “®”. © 2012 PEAK-System Technik GmbH PEAK-System Technik GmbH Otto-Roehm-Strasse 69 64293 Darmstadt...
  • Page 3: Table Of Contents

    Scope of Supply Installing the Software and the Adapter Connectors on the Adapter Upstream Port (USB Cable) Power (Voltage Supply) 3.3.1 Supplying External Devices via the CAN Connector RS-232 USB Ports (Downstream) Cabling 3.6.1 Termination 3.6.2 Example of a Connection 3.6.3...
  • Page 4 PCAN-USB Hub – User Manual 5.1.4 Status Bar Linking Own Programs with PCAN-Basic 5.2.1 Features of PCAN-Basic 5.2.2 Principle Description of the API 5.2.3 Notes about the License Technical Specifications Appendix A CE Certificate Appendix B Dimension Drawing Appendix C Quick Reference...
  • Page 5: Introduction

    The PCAN-USB Hub provides several hardware interfaces via a USB connection. The device has connection facilities for one CAN bus, two serial RS-232 connections, and two additional USB devices. Device drivers and programming interfaces exist for different operating systems, so programs can easily access a connected CAN bus.
  • Page 6: System Requirements

    PCAN-USB Hub – User Manual Bit rates up to 1 Mbit/s Time stamp resolution approx. 42 μs Compliant with CAN specifications 2.0A and 2.0B NXP PCA82C251 CAN transceiver 5-Volt and external power supply at the CAN connector connectible by solder bridges, e.g. for external bus converter Extended operating temperature range from -40 to 85 °C (-40 to 185 °F) Note: This manual describes the use of the PCAN-USB Hub...
  • Page 7: Scope Of Supply

    PCAN-USB Hub – User Manual Scope of Supply PCAN-USB Hub in aluminum casing Mating connector for voltage supply Device drivers for Windows 7/Vista/XP (32/64-bit) and Linux (32/64-bit) Device driver for Windows CE 6.x (x86 and ARMv4 processor support) PCAN-View CAN monitor for Windows PCAN-Basic programming interface consisting of an interface DLL, examples, and header files for all common programming languages...
  • Page 8: Installing The Software And The Adapter

    This chapter covers the software setup for the PCAN-USB Hub under Windows and the connection of the hub to the computer. Drivers for the CAN interface as well as the RS-232 interfaces are installed. Setup the driver for the CAN interface before connecting the PCAN- USB Hub to the computer for the first time.
  • Page 9 Dialog boxes appear for the installation of the drivers for the RS-232 interfaces (devices “USB <-> Serial Cable” and “USB Serial Port”). Follow their instructions. Select the search for driver software on CD during this procedure.
  • Page 10 PCAN-USB Hub – User Manual The Device Manager of Windows contains the following new entries: Ports (COM & LPT) > USB Serial Port (COMn Port (COMn CAN-USB-Hardware > PCAN-USB Device Universal Serial Bus controllers > Generic USB Hub Universal Serial Bus controllers > USB Serial Converter A Universal Serial Bus controllers >...
  • Page 11: Connectors On The Adapter

    PCAN-USB Hub – User Manual Connectors on the Adapter Upstream Port (USB Cable) The cable with the USB plug is used for connecting the PCAN-USB Hub to a computer. When a High-speed USB connection (USB 2.0) is established, the LED at the upstream port is on. For a Full-speed USB connection (USB 1.1) the LED stays off.
  • Page 12: Can

    PCAN-USB Hub – User Manual Figure 1: Power socket at the rear of the PCAN-USB Hub for the external voltage supply (self-powered operation) The connection of an external power supply at the power socket is done with the supplied mating connector for fastening cable strands.
  • Page 13: Supplying External Devices Via The Can Connector

    PCAN-USB Hub – User Manual 3.3.1 Supplying External Devices via the CAN Connector By setting solder bridges on the PCB of the PCAN-USB Hub (casing opened) a 5-Volt supply can be routed to pin 1 and the external voltage supply, if available, can be routed to pin 9 of the D-Sub CAN connector.
  • Page 14 PCAN-USB Hub – User Manual Figure 3: Positions of the solder fields JP103 and JP104 5-Volt supply → JP104 External supply → JP103 Attention! Risk of short circuit! If the option described in this section is activated, you may only connect or disconnect CAN cables or peripheral systems (e.g.
  • Page 15: Rs-232

    PCAN-USB Hub – User Manual RS-232 An RS-232 connection is done via a 9-pin D-Sub connector. (view onto connector of the PCAN-USB Hub) USB Ports (Downstream) Further USB devices can be connected to the USB ports 1 and 2. Figure 5: USB ports at the back of the PCAN-USB Hub When using the USB ports, we recommend the voltage supply of the PCAN-USB Hub via the power socket (self-powered operation).
  • Page 16: Cabling

    PCAN-USB Hub – User Manual Cabling 3.6.1 Termination A High-speed CAN bus (ISO 11898-2) must be terminated on both ends with 120 Ohms. Otherwise, there are interfering signal reflections and the transceivers of the connected CAN nodes (CAN interface, control device) will not work. The PCAN-USB Hub does not have an internal termination.
  • Page 17: Maximum Bus Length

    PCAN-USB Hub – User Manual 3.6.3 Maximum Bus Length High-speed CAN networks may have bit rates of up to 1 Mbit/s, where all CAN nodes must be able to process messages simultaneously. The maximum bus length depends primarily on the bit rate.
  • Page 18: Operation

    PCAN-USB Hub – User Manual Operation Status LEDs The PCAN-USB Hub has several status LEDs. Figure 7: Arrangement of the LEDs on the back side, Power Status Power Green Status USB upstream USB upstream / power socket Meaning Supply via upstream port external voltage supply Meaning High-speed USB connection (USB 2.0) with a...
  • Page 19: Unplugging The Hub

    IDs in order to distinguish the adapters in a software environment. Fore more information see section 5.1.3 on page 25. CAN / RS-232 A/B Meaning The CAN interface is initialized. There's a connection to a driver of the operating...
  • Page 20: Using The Software

    PCAN-USB Hub – User Manual Using the Software This chapter covers the provided software PCAN-View and the programming interface PCAN-Basic. CAN Monitor PCAN-View for Windows PCAN-View for Windows is a simple CAN monitor for viewing transmitting, and logging CAN messages. Do the following to start and initialize PCAN-View: If PCAN-View is already installed on the hard disk, open the Windows Start menu, go to Programs >...
  • Page 21 PCAN-USB Hub – User Manual If you haven't installed PCAN-View together with the device driver, you can start the program directly from the supplied CD. In the navigation program (Intro.exe), go to English > Tools, and under PCAN-View for Windows select the link Start.
  • Page 22: Receive/Transmit Tab

    PCAN-USB Hub – User Manual 5.1.1 Receive/Transmit Tab The Receive/Transmit tab is the main element of PCAN-View. It contains two lists, one for received messages and one for the transmit messages. Representation of CAN data is in hexadecimal format. Do the following to transmit a CAN message with PCAN-View: Select the menu command Transmit >...
  • Page 23 PCAN-USB Hub – User Manual Figure 12: Dialog box New transmit message Enter the ID and the data for the new CAN message. The field Cycle Time indicates if the message shall be transmitted manually or periodically. If you want to transmit the message periodically, you must enter a value greater than 0.
  • Page 24: Trace Tab

    PCAN-USB Hub – User Manual 5.1.2 Trace Tab Figure 13: Trace tab On the Trace tab the data tracer of PCAN-View is used for logging the communication on a CAN bus. During this process the CAN messages are cached in the working memory of the PC. Afterwards they can be saved to a file.
  • Page 25: Pcan-Usb Tab

    PCAN-USB Hub – User Manual 5.1.3 PCAN-USB Tab With the PCAN-USB tab you can assign a device ID to the adapter. Then it can be clearly identified during operation of several PCAN-USB Hub adapters on a single computer. Furthermore, the current firmware version of the connected adapter is displayed on the tab.
  • Page 26: Linking Own Programs With Pcan-Basic

    PCAN-USB Hub – User Manual Linking Own Programs with PCAN-Basic On the provided CD you can find files of the programming interface PCAN-Basic in the directory branch Develop. This API provides basic functions for linking own programs to CAN interfaces by PEAK-System and can be used for the following operating systems: Windows 7/Vista/XP (32/64-bit) Windows CE 6.x (x86/ARMv4)
  • Page 27: Features Of Pcan-Basic

    PCAN-USB Hub – User Manual 5.2.1 Features of PCAN-Basic Supports Windows 7/Vista/XP (32/64-bit) and Windows CE 6.x operating system Multiple PEAK-System applications and your own can be operated on a physical CAN channel at the same time Use of a single DLL for all supported hardware types Use of up to 8 channels for each hardware unit (depending on the PEAK CAN interface used) Simple switching between the channels of a PEAK CAN interface...
  • Page 28: Principle Description Of The Api

    PCAN-USB Hub – User Manual 5.2.2 Principle Description of the API The PCAN-Basic API is the interface between the user application and device driver. In Windows operating systems this is a DLL (Dynamic Link Library). The sequence of accessing the CAN interface is divided into three phases: 1.
  • Page 29: Notes About The License

    Notes about the License Device drivers, the interface DLL, and further files needed for linking are property of the PEAK-System Technik GmbH and may be used only in connection with a hardware component purchased from PEAK-System or one of its partners. If a CAN hardware component...
  • Page 30: Technical Specifications

    PCAN-USB Hub – User Manual Technical Specifications Connectors Computer RS-232 Upstream port Downstream ports Specification Bit rates Controller Transceiver Supplying external devices Termination RS-232 Transfer rates Signal levels Continued on the next page USB plug type A D-Sub (m), 9 pins Pin assignment according to specification CiA®...
  • Page 31 PCAN-USB Hub – User Manual Power Supply Supply voltage Power consumption Environment Operating temperature Temperature for storage and transport Relative humidity Ingress protection (IEC 60529) Measures Size Weight 5 V DC via USB port (bus-powered operation) 9 - 36 V DC via Power socket (self-powered operation) At 5 V via USB port: max.
  • Page 32: Appendix A Ce Certificate

    PCAN-USB Hub – User Manual Appendix A CE Certificate...
  • Page 33: Appendix B Dimension Drawing

    PCAN-USB Hub – User Manual Appendix B Dimension Drawing Figure 17: Back and front side with top view PCAN-USB Hub The figure doesn’t show the actual size of the product.
  • Page 34: Appendix C Quick Reference

    USB port at your computer. The hub is recognized by Windows and the drivers are initialized. After the installation process for the CAN interface is finished successfully the red CAN LED on the hub is illuminated. The RS-232 interfaces are accessible as virtual COM ports. Getting Started under Windows...
  • Page 35 PCAN-USB Hub – User Manual Status slow blinking quick blinking RS-232 A/B Green quick blinking High-speed CAN Meaning The CAN interface is initialized. There's a connection to a driver of the operating system A software application is connected to the...

This manual is also suitable for:

Pcan-usb hub

Table of Contents