Résumé du contenu de la page N° 1
X-Link Driver
User’s Guide
50 Northland Road
Waterloo, Ontario, CANADA
N2V 1N3
Tel: (519) 725- 5136 Fax: (519) 725-1515
www.sstech.on.ca
Version 1.22
Modbus Plus
Résumé du contenu de la page N° 2
Modbus Plus X-Link Driver User’s Guide Publication Revision: 1.22 Publication Date: January 15, 1999 This document applies to the Modbus Plus X-Link Driver (SA85.DRV). Copyright © 1999 SST, a division of Woodhead Canada Limited All rights reserved. No portion of this document may be reproduced in any form without the prior written permission of Woodhead Canada Limited. SST is a trademark of Woodhead Industries , Inc. X-Link is a registered trademark of Woodhead Canada Limited. All other trade na
Résumé du contenu de la page N° 3
Modbus Plus X-Link Driver User’s Guide 1. ................................ ........................... 39 1.1 What is the Modbus Plus Driver? ............................. 39 1.2 Why Do I Need This Manual? ................................ .. 40 1.3 How Do I Use This Manual? ................................ .... 41 1.4 Where Can I Find More Help? ................................ . 42 2. Communication ................................ ..................... 43 2.1 Requirements .................
Résumé du contenu de la page N° 4
Modbus Plus X-Link Driver User’s Guide 38
Résumé du contenu de la page N° 5
Introduction 1 1.1 The Modicon Modbus Plus X-Link driver allows the X-Link to transfer data to or from devices on the Modicon Modbus Plus network. 39 Modbus Plus Driver? What is the Introduction
Résumé du contenu de la page N° 6
Modbus Plus X-Link Driver User’s Guide 1.2 This manual describes the communication requirements and capabilities of Modbus Plus driver, the configuration parameters for the driver and the mappings possible for the Modicon PLCs. It provides troubleshooting information and technical specifications that can be referenced when required. For further information, refer to the SA85 Interface Card User's Guide, Modicon IBM Host Based Devices User's Guide GM-HBDS-001 Rev. D. well, refer to the appropria
Résumé du contenu de la page N° 7
Introduction 1.3 The following conventions will help you better understand and use the material in this manual. Text you type appears in Courier font. For example, “Type mkdir C :\XLINK to make a new X-Link directory.” Menu Names are italicized. You choose menu options. For instance, “Choose the X -Link/New... command.” Dialog Box Names are italicized. For example, “The File to Open dialog box appears.” Dialog Box Options are selected . For example, “From the Ports list, select the COM port you
Résumé du contenu de la page N° 8
Modbus Plus X-Link Driver User’s Guide 1.4 If you have a question or problem that the manuals or on-line help do not address, you can contact X-Link Technical Support by mail, fax or email, or by phone during regular business hours (EST). X-Link Technical Support SST, a division of Woodhead Canada Limited 50 Northland Road Waterloo, Ontario N2V 1N3 Voice: (519) 725-5136 Fax: (519) 725-1515 techsupport@sstech.on.ca X-Link drivers and manuals are also available on the SST Web site, www.sstech.on.
Résumé du contenu de la page N° 9
Communication 2 Once configured, the X-Link emulates a station on the Modbus Plus network. It can send messages to other stations and receive messages from other stations. This section outlines the requirements and compatibilities of this communication. 43 Communication
Résumé du contenu de la page N° 10
Modbus Plus X-Link Driver User’s Guide 2.1 To communicate to the Modbus Plus network, the X-Link requires a Modicon SA85 card. The X-Link Modbus Plus driver supports either the redundant or non-redundant version of the SA85. Installation and cabling requirements are detailed in the SA85 user manual, Modicon IBM Host Based Devices User's Guide GM-HBDS-001 Rev. D. 2.2 The Modbus Plus X-Link driver has been written to conform with the specification in the Modicon IBM Host Based Devices User's Gui
Résumé du contenu de la page N° 11
Configuration 3 When you download a driver to the X-Link, you must set configuration parameters to control the interface between the driver and the required hardware. This section details the configuration parameters for the Modbus Plus driver. 45 Configuration
Résumé du contenu de la page N° 12
Modbus Plus X-Link Driver User’s Guide 3.1 The Modbus Plus driver is distributed in the file SA85.DRV. Once the SA85.DRV is loaded into the X -Link, the following parameters are required: Off. The memory address selected must match the switch settings on the SA85. The memory base address switches are located near the bus connector on the SA85 and are not accessible from the outside of the X-Link. The Modbus Plus node address must also be set on the SA85. The switches to set the station address
Résumé du contenu de la page N° 13
Mappings 4 Once the X-Link has been loaded, you can create mappings to transfer data from one network to the other. This section outlines the mapping options supported by the Modbus Plus driver. For information on what mappings are or how they work, please refer to the X-Link User's Guide . 47 Mappings
Résumé du contenu de la page N° 14
Modbus Plus X-Link Driver User’s Guide 4.1 Data The Modbus Plus Driver supports three X-Link data formats; Bits and Integers, as well as Floats. The Modbus Plus protocol does not support floating point. The driver will truncate any floating point numbers before transmission, and expand the integer numbers to floating point after retrieval when floating points are requested. The type of Modbus Plus command that the driver generates depends on the address type specified. The length of the data po
Résumé du contenu de la page N° 15
Mappings 4.2 The Modbus Plus driver supports four possible source accesses. The first source defines a local address which allows any device on the Modbus Plus network to write the data to the X-Link. This type of source is ideal for data that changes infrequently, but must be forwarded immediately, such as errors or exceptions. Programming must be provided on the remote device to update the data when necessary. The second type of source supported by the Modbus Plus driver is an X -Link initiat
Résumé du contenu de la page N° 16
Modbus Plus X-Link Driver User’s Guide 4.3 The Modbus Plus driver supports three possible destination accesses. The first destination defines a local address which allows any device on the Modbus Plus network to read the data from the X-Link. This type of destination can be used to allow a PLC to read back the data it has written. Programming must be provided on the remote device to initiate the read. The second type of destination access supported by the Modbus Plus driver is an X-Link initiat
Résumé du contenu de la page N° 17
Mappings 4.4 When a mapping is created which allows a PLC to access data within the X -Link, a local address dialog box must be completed. The information required to complete a local address definition is the class of data to access (Coils, Input Status, Input Registers or Holding Registers) and the offset into the data table. If the access is specifying write, Input Status and Input Registers are not available as options. The data type maps to register numbers as: where ' xxxxx' represents a
Résumé du contenu de la page N° 18
Modbus Plus X-Link Driver User’s Guide 4.6 The status counters are maintained within the Modbus Plus driver for logging events and errors. The Status menu allows you to monitor some of these counters. As well, the status counters can be accessed as a data source for mappings. The Modbus Plus driver status counters include counters for each Modbus command type. Refer to the Modicon IBM Host Based Devices User’s Guide for more information on the Status Counters. 52 Status Counters
Résumé du contenu de la page N° 19
Troubleshooting 5 If you cannot communicate with your X-Link, refer to the troubleshooting section in the X-Link User's Guide. If you can communicate with your X-Link, but cannot monitor the status of your Modbus Plus driver, you most likely have the memory address set incorrectly. Refer to your SA85 User Manual to confirm your settings. The configuration software can be used to monitor a set of status counters maintained by the SA85 card. The status counters are standard network statistics for
Résumé du contenu de la page N° 20
Modbus Plus X-Link Driver User’s Guide 54