Schneider Electric TSXCUSBMBP User Manual

TSXCUSBMBP USB Modbus Plus
Communications Adapter User Manual
35011984 eng
2

Table of Contents

Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 Glossary of Abbreviations and Acronyms . . . . . . . . . . . . . . . . .9
Glossary of Abbreviations and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Modbus Plus Communication for Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Modbus Plus Network Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
TSXCUSBMBP Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Chapter 3 Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Installation Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Upgrading From Previous Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Installing the TSXCUSBMBP Driver Software. . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Installing the TSXCUSBMBP Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Chapter 4 Establishing a Connection to the TSXCUSBMBP . . . . . . . . . . 19
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Rescan Adapters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Show Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chapter 5 Configuring the TSXCUSBMBP Driver . . . . . . . . . . . . . . . . . . .21
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
The TSXCUSBMBP Driver Interface Window. . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configuring the Modbus Plus Node Address . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Configuring the Slave Response Timeout. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Configuring the Virtual Serial (COM) Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Configuring the Modbus Plus Routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3
Chapter 6 Connecting to a Modbus Plus Network . . . . . . . . . . . . . . . . . . 33
Modbus Plus Network Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Chapter 7 Using the TSXCUSBMBP with an Application . . . . . . . . . . . . 35
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Start the TSXCUSBMBP Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Configure the Application Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Connect!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Chapter 8 Modbus Plus Network Diagnostic Functions . . . . . . . . . . . . . 39
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.1 Starting the Diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Procedure for Starting the Diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.2 Scanning the Modbus Plus Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Procedure for Scanning the Modbus Plus Network . . . . . . . . . . . . . . . . . . . . . . . 42
8.3 Displaying Diagnostic Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Procedure for Displaying Diagnostic Information. . . . . . . . . . . . . . . . . . . . . . . . . 44
Node Error Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Node Personality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Internal Path Transactions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Token Owner Work Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Active Station Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Token Station Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Global Data Present Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Read Global Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Appendices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
At a Glance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Appendix A TSXCUSBMBP Settings for Unity. . . . . . . . . . . . . . . . . . . . . . . 57
TSXCUSBMBP Settings for Unity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Appendix B TSXCUSBMBP Settings for Concept & ProWORX32 . . . . . . . 61
TSXCUSBMBP Settings for Concept & ProWORX32 . . . . . . . . . . . . . . . . . . . . . 61
4

Safety Information

Important Information
§
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device before trying to install, operate, or maintain it. The following special messages may appear throughout this documentation or on the equipment to warn of potential hazards or to call attention to information that clarifies or simplifies a procedure.
The addition of this symbol to a Danger or Warning safety label indicates that an electrical hazard exists, which will result in personal injury if the instructions are not followed.
This is the safety alert symbol. It is used to alert you to potential personal injury hazards. Obey all safety messages that follow this symbol to avoid possible injury or death.
DANGER
DANGER indicates an imminently hazardous situation, which, if not avoided, will result in death, serious injury, or equipment damage.
WARNING
WARNING indicates a potentially hazardous situation, which, if not avoided, can result in death, serious injury, or equipment damage.
CAUTION
CAUTION indicates a potentially hazardous situation, which, if not avoided, can result in injury or equipment damage.
35011984 02/2006 5
Safety Information
PLEASE NOTE
Electrical equipment should be serviced only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. This document is not intended as an instruction manual for untrained persons.
© 2006 Schneider Electric. All Rights Reserved.
6
35011984 02/2006

About the Book

At a Glance
Document Scope This document provides an installation, setup and usage guide for the Schneider
Automation TSXCUSBMBP (USB Modbus Plus) communications adapter.
It describes the basic procedures required to
z install the hardware,
It describes the basic procedures required to install the hardware, install and configure the driver software, access the TSXCUSBMBP from a software application, and use the Modbus Plus network diagnostics features of the driver software.
z install and configure the driver software, z access the TSXCUSBMBP from a software application, and z use the Modbus Plus network diagnostics features of the driver software.
Validity Note The information in this manual is applicable only for TSXCUSBMBP
communications adapters.
Product Related Warnings
Schneider Electric assumes no responsibility for any errors that appear in this document. No part of this document may be reproduced in any form or means, including electronic, without prior written permission of Schneider Electric.
User Comments We welcome your comments about this document. You can reach us by e-mail at
techpub@schneider-electric.com
35011984 02/2006 7
About the Book
8
35011984 02/2006

Glossary of Abbreviations and Acronyms

1
Glossary of Abbreviations and Acronyms
Introduction This glossary provides an expansion of abbreviations and acronyms used in this
documentation.
Glossary of Abbreviations and Acronyms
The following table lists all abbreviations and acronyms and their respective expansions.
Abbreviation/Acronym Expansion
MBP Modbus Plus
MB+ Modbus Plus
MODBUS+ Modbus Plus
USB Universal Serial Bus
VSP Virtual Serial Port
WinNT Windows NT
WinXP Windows XP
SP2 Service Pack 2
Win2k Windows 2000
35011984 02/2006 9
Abbreviations & Acronyms
10
35011984 02/2006
At a Glance

Overview

2
Subject of this chapter
What's in this Chapter?
The TSXCUSBMBP communications adapter is designed to provide a bridge between a simple and inexpensive USB connection and a Modbus Plus Network. The device is a combination of hardware (TSXCUSBMBP) and software drivers (TSXCUSBMBP Driver and Virtual Serial Port) that operate together as a single entity.
The TSXCUSBMBP has its own Modbus Plus Node Address on the Modbus Plus network, which is set via the TSXCUSBMBP Driver software.
The TSXCUSBMBP provides two areas of functionality. The first one allows software applications using serial Modbus RTU communications to communicate on a highspeed Modbus Plus network. The second one provides diagnostic tools for a Modbus Plus network.
This chapter contains the following topics:
Topic Page
Modbus Plus Communication for Applications 12
Modbus Plus Network Diagnostics 13
TSXCUSBMBP Hardware 13
35011984 02/2006 11
Overview
Modbus Plus Communication for Applications
Introduction Most Win32 applications that support serial Modbus communications can
communicate on a Modbus Plus network with the TSXCUSBMBP.
Virtual Serial Port (VSP)
Modbus Plus Communication­Process
A Virtual Serial Port (VSP) is used as the mechanism for redirecting communications from programs such as Concept, Unity, and ProWorx32 to the TSXCUSBMBP adapter. The VSP presents the same interface as a standard serial port to the software. As such it is indistinguishable from a physical serial port.
The Modbus Plus Communication process is described in the following table:
Stage Description
1 After the VSP is installed, it will create one serial port with the port reference (COM1-
COM12) defined in the TSXCUSBMBP Driver software.
2 When configuring the Modbus application software, this port reference for the VSP
is selected as the serial port for the application to use.
3 The TSXCUSBMBP Driver will then work like a Bridge Multiplexer to redirect serial
Modbus Plus messages onto a Modbus Plus network, but at a much faster rate since no serial communications are actually taking place.
Illustration:
Windows XP
Operating System
Modbus Plus Network
Application
Software
Virtual
Serial Port
Driver
TSX C
USB MBP
Driver
USB-MBP
Driver
USB
Controller
USB
Cable
USB-MBP
Routing Table A routing table similar to that used by Modicon's BM85 Bridge Multiplexer is used to
associate Modbus Slave IDs with 5-byte Modbus Plus routing paths. This allows the application software to communicate with any Modbus Plus device within range on a Modbus Plus network.
12
35011984 02/2006
Overview
Modbus Plus Network Diagnostics
TSXCUSBMBP The TSXCUSBMBP provides a diagnostic tool for Modbus Plus networks. It has the
same basic functionality as the MBPSTAT program but adds the ability to scan a complete Modbus Plus network.
TSXCUSBMBP Hardware
Description The TSXCUSBMBP consists of a box with a USB cable extending from one end for
connection to a PC, and a standard Modbus Plus DB9 connector on the other end for connection to a Modbus Plus network.
LEDs in the top cover of the device indicate the presence of power from the USB port and the status of the Modbus Plus connection. No external power supply is needed.
Illustration
Modbus Plus Cable
ODBUS PLUS STATUS
35011984 02/2006 13
USB
POWER
MODBUS PLUS
PC
USB
Port
Overview
14
35011984 02/2006
At a Glance

Installation

3
Subject of this chapter
What's in this Chapter?
This section describes the procedures required to install the TSXCUSBMBP Driver software and the TSXCUSBMBP communications adapter.
Note: Do not attach the TSXCUSBMBP device to a USB port until installation of the Driver Software is complete.
This chapter contains the following topics:
Topic Page
Installation Requirements 16
Upgrading From Previous Version 16
Installing the TSXCUSBMBP Driver Software 17
Installing the TSXCUSBMBP Hardware 17
35011984 02/2006 15
Installation
Installation Requirements
Installation Requirements list
Installation requirements are as follows:
z Microsoft Windows XP Operating System with Service Pack 2 or greater installed
(Windows 2000 with Service Pack 4 or greater can also be used on most computers),
z 1 MB free disk space, z at least 256 MB RAM, z at least one free USB port or a USB Hub supporting USB 1.1 or greater.
Upgrading From Previous Version
Introduction Currently, if a previous version of the TSXCUSBMBP Driver has been installed, the
Virtual Serial Port component of the driver must be manually uninstalled using
Device Manager before a new version can be installed.
How to uninstall the Virtual Serial Port?
These steps must be followed to uninstall the Virtual Serial Port from your system.
Step Action
1 Close any software applications using the TSXCUSBMBP Driver.
2 Exit the TSXCUSBMBP Driver by right clicking on the Icon at the bottom then
selecting Exit Driver.
3 Unplug the USB Modbus Plus Device from the USB port on the computer (or USB
Hub if using one).
4 Start up the Windows Device Manager.
On most systems, this is done by the following steps.
z Open Control Panel, System, Hardware, then Device Manager. z In Device Manager, left click on the + next to ABT Virtual Device. Virtual Serial
Port will now appear underneath ABT Virtual Device.
z Right click on Virtual Serial Port and select Uninstall. z When prompted, confirm the device removal. z After ABT Virtual Device disappears from the list, close the Device Manager.
16
35011984 02/2006
Installation
Installing the TSXCUSBMBP Driver Software
Introduction The TSXCUSBMBP Driver must be installed before connecting the TSXCUSBMBP
device to the USB port.
How to install the TSXCUSBMBP Driver?
Use the following procedure to install the Driver software.
Step Action
1 Insert the CD-ROM labeled TSXCUSBMBP Driver into your CD-ROM drive.
2 The installation should begin automatically. If not, follow the procedure below to start
the installation manually.
z From the Start menu (Start button on Windows XP task bar), select Run z Type in D:\Setup.exe (if your CD-ROM drive is not D:, substitute the drive letter of
your CD-ROM drive) and press Ok.
3 Follow the on-screen instructions to complete the software installation.
4 The final step of the software installation will display a message window containing
instructions. Please read the instructions carefully.
Installing the TSXCUSBMBP Hardware
Introduction The TSX C USB MBP can be connected directly to a USB port on the PC or
through a USB Hub. The TSXCUSBMBP acquires power from the USB port or Hub, therefore no power connection is required.
Note: Do not connect the Modbus Plus network cable to the Modbus Plus port on the TSXCUSBMBP until after the Modbus Plus Node Address has been configured in the Driver Software. This will avoid the potential for duplicate Modbus Plus node addresses on your network.
35011984 02/2006 17
Installation
How to install the TSXCUSBMBP Hardware
Use the following procedure to install the TSXCUSBMBP hardware.
Step Action
1 After installing the TSXCUSBMBP Driver software, insert the USB cable from the
TSXCUSBMBP into a USB port on the PC or into a USB Hub connected to the PC. Once the TSXCUSBMBP is connected to the PC or Hub, the Power LED on the TSXCUSBMBP will light. This indicates that the TSXCUSBMBP is getting power from the USB port or Hub.
2
If this is the first time the TSXCUSBMBP has ever been connected to the USB port or Hub, the
Found New Hardware
up. If this occurs, follow these steps to complete the hardware installation:
z Select No, not this time when the message Can Windows connect to Windows
Update pops up, then click on Next.
z Select Install the software automatically (Recommended) when the message
What do you want the wizard to do? pops up, then click on Next.
z If the message The software you are installing has not passed Windows Logo
Testing pops up, select Continue Anyway. When finished, click on Finish.
z The Found New Hardware message will pop up again followed by the New
Hardware Wizard.
z Select No, not this time when the message Can Windows connect to Windows
Update pops up, then click on Next.
z Select Install the software automatically (Recommended) when the message
What do you want the wizard to do? pops up, then click on Next.
z If the message The software you are installing has not passed Windows Logo
Testing pops up, select Continue Anyway.
z When the wizard has finished installing the software, click on Finish. z Wait for the Found New Hardware message to pop up with Your new hardware
is ready to use.
3 Restart the computer.
message will pop up and the
New Hardware Wizard
will start
18
35011984 02/2006
At a Glance

Establishing a Connection to the TSXCUSBMBP

4
Subject of this chapter
Status of the Driver
What's in this Chapter?
The TSXCUSBMBP Driver is added to the Startup group during installation. After restarting the computer at the end of the hardware installation, the driver will automatically start and will continue to do so each time the computer is powered up or restarted.
If the TSXCUSBMBP Driver is ever removed from the Startup menu, you will need to start the driver manually by going to the Programs menu and selecting Schneider Electric then TSXCUSBMBP then TSXCUSBMBP Driver. The TSXCUSBMBP Driver allows for only one instance of it to run at any time, so starting it multiple times is not a concern.
When the TSXCUSBMBP Driver is running, an icon will appear in the system tray of the computer to indicate the status of the driver, as shown in the table below.
Icon Color Status of the driver
normal A TSXCUSBMBP was found.
red No TSXCUSBMBP was found.
yellow A TSXCUSBMBP was found, and is in the process of initializing and
connecting to a Modbus Plus network.
This chapter contains the following topics:
Topic Page
Rescan Adapters 20
Show Interface 20
35011984 02/2006 19
Loading...
+ 44 hidden pages