TSXCUSBMBP USB Modbus Plus Communications Adapter User Manual 35011984 eng
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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.
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.
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.
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.
Abbreviations & Acronyms 10 35011984 02/2006
Overview 2 At a Glance Subject of 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.
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) 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.
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.
Overview 14 35011984 02/2006
Installation 3 At a Glance Subject of 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.
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.
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.
Installation How to install the TSXCUSBMBP Hardware 18 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.
Establishing a Connection to the TSXCUSBMBP 4 At a Glance Subject of 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.
Establishing a Connection Rescan Adapters Introduction If the TSXCUSBMBP device was not connected to the PC when the TSXCUSBMBP Driver started up, it will be necessary to rescan for a connected TSXCUSBMBP adapter before the driver will detect its presence. A red icon in the system tray will indicate this. How to rescan? To rescan, right click on the icon in the system tray and select Rescan Adapters.
Configuring the TSXCUSBMBP Driver 5 At a Glance Subject of this Chapter This chapter describes how to configure the TSXCUSBMBP driver.
Configuring the TSXCUSBMBP Driver The TSXCUSBMBP Driver Interface Window Introduction The Interface Window is used to configure the TSXCUSBMBP driver and device. It also has a message area where status and error information is displayed. Interface Window Display To display the Interface Window: z right click on the TSXCUSBMBP icon in the system tray and z select Show Interface.
Configuring the TSXCUSBMBP Driver Configuring the Modbus Plus Node Address Address Assignment The TSXCUSBMBP communications adapter must be assigned a Modbus Plus Node Address in order to communicate on the Modbus Plus network.
Configuring the TSXCUSBMBP Driver Configuring the Slave Response Timeout Introduction The Slave Response Timeout is used by the TSXCUSBMBP each time it sends a request from an application out the Modbus Plus network to a slave device.
Configuring the TSXCUSBMBP Driver Timeout Configuration Once the appropriate value has been determined, the Slave Response Timeout is configured as follows: Step Timeout Saving Action 1 Select Settings from the top level menu of the TSXCUSBMBP Driver Interface Window. 2 Type the appropriate timeout value into the field labeled Slave Response Timeout. 3 Click on the Save button to save the new Slave Response Timeout.
Configuring the TSXCUSBMBP Driver Configuring the Virtual Serial (COM) Port Introduction The Virtual Serial Port used by the application to send Modbus requests to the TSXCUSBMBP Driver will default to COM3 during installation. COM3 Assignment If another device is already installed on COM3, the Virtual Serial Port will need to be changed.: If... Then...
Configuring the TSXCUSBMBP Driver Configuring the Modbus Plus Routing Introduction When interfacing to an application through the Virtual Serial Port, the TSXCUSBMBP operates as a serial Modbus to Modbus Plus converter, similar to the BM85 Bridge Multiplexer. The Virtual Serial Port captures serial Modbus RTU messages sent by a Modbus application and redirects them to the TSXCUSBMBP driver.
Configuring the TSXCUSBMBP Driver 1. Explicit Addressing The Explicit Addressing process is described as follows: z Explicit Addressing is used whenever the Modbus ID in a message received through the Virtual Serial Port is present in the Modbus Routing Table, regardless of what range of values the Modbus ID falls into. In Explicit Addressing, the routing path will be the one that was entered into the Modbus Routing Table for the Modbus ID of the received message.
Configuring the TSXCUSBMBP Driver Routing Example 5 TSXCUSB Routing example: 15 16 23 43 PLC PLC Bridge Plus 5 Bridge Plus PLC 6 10 PLC 9 20 1 2 3 20 Bridge Plus PLC PLC PLC The following table shows the routing table entries that must be made to route messages to the PLCs at Modbus Plus Node Addresses 1, 2, 3, 10, 15, and 16. Modbus + Node Address Slave ID TSXCUSBMBP used by Routing Table application Entry Modbus Plus Routing Path 1 231 None Required 23.1.0.0.
Configuring the TSXCUSBMBP Driver Modbus + Node Address 30 Slave ID TSXCUSBMBP used by Routing Table application Entry Modbus Plus Routing Path 15 15 None Required 15.0.0.0.0 as determined through Direct AddressingIf desired, Explicit Addressing could be used by selecting an unused Modbus ID and placing an entry for that Modbus ID into the Routing Table going to 15.0.0.0.0 16 16 None Required 16.0.0.0.
Configuring the TSXCUSBMBP Driver Entering Routing Paths into the Routing Table Use the following procedure to change an entry in the Routing Table: Step Action 1 Select Routing from the top level menu on the TSXCUSBMBP Driver Interface window. 2 Select the entry to be changed in the table by left clicking on it (the entry will become highlighted) 3 Enter the Modbus ID and the associated Modbus Plus Routing Path in the fields below the table.
Configuring the TSXCUSBMBP Driver 32 35011984 02/2006
Connecting to a Modbus Plus Network 6 Modbus Plus Network Status Indicator Introduction The Modbus Plus Network Status Indicator displays the status of the Modbus Plus communications on the TSXCUSBMBP device. During initial monitoring of the network, the Indicator will flash at approximately 1 time/second. If successful Modbus Plus communications are established, it will flash more rapidly, approximately 6 times/second.
Connecting to a Modbus Plus Network 34 35011984 02/2006
Using the TSXCUSBMBP with an Application 7 Overview The TSXCUSBMBP with an Application The TSXCUSBMBP is designed to interface with any Win32 application software that communicates using serial Modbus RTU over a user-selectable COM port. The application must be running under Windows XP or in some cases, Windows 2000. The following general procedure can be used with any applicable application software.
Using the TSXCUSBMBP with an Application Start the TSXCUSBMBP Driver Introduction Before an application can communicate through the TSXCUSBMBP, the TSXCUSBMBP Driver must: z be running, and z be connected to a TSXCUSBMBP device. Note: See Sections 4 and 5 of this User's Guide for more information on installing and setting up the TSXCUSBMBP Driver.
Using the TSXCUSBMBP with an Application Configure the Application Software Introduction Because the software interface to the TSXCUSBMBP uses a Virtual Serial Port, it is relatively simple to configure an application to use it for communications. A Typical Configuration The following steps illustrate a typical configuration: Step Action 1 Determine which serial (COM) port the TSXCUSBMBP Driver is using.
Using the TSXCUSBMBP with an Application 38 35011984 02/2006
Modbus Plus Network Diagnostic Functions 8 At a Glance Subject of this Chapter This chapter describes the Modbus Plus network diagnostic functions. What's in this Chapter? This chapter contains the following sections: 35011984 02/2006 Section Topic Page 8.1 Starting the Diagnostic Functions 41 8.2 Scanning the Modbus Plus Network 42 8.
Modbus Plus Network Diagnostic Functions 40 35011984 02/2006
Modbus Plus Network Diagnostic Functions 8.1 Starting the Diagnostic Functions Procedure for Starting the Diagnostic Functions Introduction This section describes how to start the diagnostic functions of the TSXCUSBMBP. Procedure To start the diagnostic functions of the TSXCUSBMBP proceed as follows: Step Action 35011984 02/2006 1 Right click on the TSXCUSBMBP Icon in the system tray. 2 Select Show Interface. Result: the Interface Window of the TSXCUSBMBP driver opens.
Modbus Plus Network Diagnostic Functions 8.2 Scanning the Modbus Plus Network Procedure for Scanning the Modbus Plus Network Introduction When the Diagnostics screen is first displayed, the only node that will appear in the list of Modbus Plus Network nodes is the TSXCUSBMBP device itself. A Scan function is used to locate other nodes on the network. Scanning Local or Complete Network A scan can be done on either the local Modbus Plus network or the complete Modbus Plus network.
Modbus Plus Network Diagnostic Functions 8.3 Displaying Diagnostic Information At a Glance Introduction This section describes the diagnostic information that can be displayed for each node.
Modbus Plus Network Diagnostic Functions Procedure for Displaying Diagnostic Information Introduction After the Modbus Plus network has been scanned, the nodes are displayed in the Modbus Plus Network Diagnostics screen. Modbus Plus Network Diagnostics Screen Structure of the Modbus Plus Network Diagnostics screen: 1 2 1 2 44 Node Selected for Display field. Diagnostic data types buttons.
Modbus Plus Network Diagnostic Functions Procedure To display the diagnostic information from a node proceed as follows: Step Action 35011984 02/2006 1 Select the node to display diagnostic information from by scrolling to it in the list and clicking the mouse on it. Results: z the node is highlighted, z the routing path for that item is shown in the Node Selected for Display field.
Modbus Plus Network Diagnostic Functions Node Error Statistics Introduction This section describes the Node Error Statistics screen. Node Error Statistics Screen The Node Error Statistics screen displays the error counters that are returned in the Modbus Plus diagnostics data for the selected node: The counters can be cleared by clicking on the Clear Error Counters button.
Modbus Plus Network Diagnostic Functions Node Personality Introduction This section describes the Node Personality screen.
Modbus Plus Network Diagnostic Functions Internal Path Transactions Introduction This section describes the Internal Path Transactions screen.
Modbus Plus Network Diagnostic Functions Token Owner Work Table Introduction Clicking on the Token Owner Work Table button displays the Node Token Owner Bit Map screen. This section describes this screen. Node Token Owner Bit Map Screen The Node Token Owner Bit Map screen shows a bit map reflecting the current token status of each path in the selected node.
Modbus Plus Network Diagnostic Functions Active Station Table Introduction This section describes the Active Station Table screen. Active Station Table Screen The Active Station Table screen shows a bit map reflecting the status of each node on the local network of the selected node.
Modbus Plus Network Diagnostic Functions Token Station Table Introduction This section describes the Token Station Table screen. Token Station Table Screen The Token Station Table shows a bit map reflecting the token passing status of each node on the local network of the selected node.
Modbus Plus Network Diagnostic Functions Global Data Present Table Introduction This section describes the Global Data Present Table screen. Global Data Present Table Screen The Global Data Present Table screen shows a bit map reflecting the Global data status of each node on the local network of the selected node.
Modbus Plus Network Diagnostic Functions Read Global Data Introduction Clicking on the Read Global Data button displays the Global Data screen. This section describes this screen. Global Data Screen The Global Data screen is used to display the Global Data sent by the selected node.
Modbus Plus Network Diagnostic Functions 54 35011984 02/2006
Appendices At a Glance Introduction The following appendices describe the TSXCUSBMBP settings z for Unity, and z for Concept & ProWORX32.
Appendices 56 35011984 02/2006
TSXCUSBMBP Settings for Unity A TSXCUSBMBP Settings for Unity Introduction This section describes how to configure Unity to work the TSXCUSBMBP. Important Information If the serial Modbus driver for Unity comes up before the TSXCUSBMBP driver during system startup, Unity will not work properly. The following steps will prevent this situation from occurring: Step 35011984 02/2006 Action 1 Close the Unity application if it is open.
TSXCUSBMBP Settings for Unity Configuring Unity 58 The following steps are required to configure Unity to work the TSXCUSBMBP: Step Action 1 Configure the USB MBP virtual COM port, as shown in the following window: 2 Set the routing parameters if needed: (With the settings shown I can use 55, 5, or 15 to connect to the same Unity PLC.
TSXCUSBMBP Settings for Unity Step Action 35011984 02/2006 3 Install and make sure the Modbus Driver is running for Unity's Modbus Communication. (This is used by Unity, OFS, etc.) 4 Configure the Modbus Driver to use the USB MBP Virtual port (COM3). 5 Setup Unity's PLC Address setting for Modbus01 (Modbus Driver), and the local Modbus Plus address or the address as defined in the USB MBP routing table.
TSXCUSBMBP Settings for Unity Step Action 7 60 You should now be able to Connect: 35011984 02/2006
TSXCUSBMBP Settings for Concept & ProWORX32 B TSXCUSBMBP Settings for Concept & ProWORX32 Introduction This section describes how to configure Concept & ProWORX32 to work the TSXCUSBMBP. Setting the Optimum Baud Rate in Concept When using serial Modbus communications with Concept, a delay of approximately 50 milliseconds occurs before each Modbus request is transmitted. When using Concept with the TSXCUSBMBP, a serial interface must be selected.
TSXCUSBMBP Settings for Concept & ProWORX32 Configuring Concept & ProWORX32 62 The following steps are required to configure Concept & ProWORX32 to work the TSXCUSBMBP: Step Action 1 Configure the USB MBP virtual COM port, as shown in the following window: 2 Set the routing parameters if needed: (With the settings shown I can use 55, 5, or 15 to connect to the same Unity PLC.) 3 Set Concept's or ProWORX 32's Protocol to Modbus. 4 Set the Device or Port to the port USB MBP Virtual port (COM3).
TSXCUSBMBP Settings for Concept & ProWORX32 Step Action 5 Set the PLC Node or Modbus Address to the local Modbus Plus address or the address as defined in the USB MBP routing table.