Modbus Plus X-Link Driver User’s Guide Version 1.22 50 Northland Road Waterloo, Ontario, CANADA N2V 1N3 Tel: (519) 725-5136 Fax: (519) 725-1515 www.sstech.on.
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.
Modbus Plus X-Link Driver User’s Guide Contents 1. Introduction........................................................... 39 1.1 1.2 1.3 1.4 What is the Modbus Plus Driver? ............................. 39 Why Do I Need This Manual?.................................. 40 How Do I Use This Manual? .................................... 41 Where Can I Find More Help? ................................. 42 2. Communication..................................................... 43 2.1 Requirements ................
Modbus Plus X-Link Driver User’s Guide 38
Introduction 1 Introduction 1.1 What is the Modbus Plus Driver? The Modicon Modbus Plus X-Link driver allows the X-Link to transfer data to or from devices on the Modicon Modbus Plus network.
Modbus Plus X-Link Driver User’s Guide 1.2 Why Do I Need This Manual? This manual describes the communication requirements and capabilities of the 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.
Introduction 1.3 How Do I Use This Manual? 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.
Modbus Plus X-Link Driver User’s Guide 1.4 Where Can I Find More Help? 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 Email: techsupport@sstech.on.
Communication 2 Communication 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.
Modbus Plus X-Link Driver User’s Guide 2.1 Requirements 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.
Configuration 3 Configuration 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.
Modbus Plus X-Link Driver User’s Guide 3.1 Configuration Parameters 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: Card Segment The memory address for the SA85 card. The card requires 2K of memory in the range of C000 to EF80. Default is D000, second choice is D800.
Mappings 4 Mappings 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.
Modbus Plus X-Link Driver User’s Guide 4.1 Data Types and Lengths 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.
Mappings 4.2 Source Accesses 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.
Modbus Plus X-Link Driver User’s Guide 4.3 Destination Accesses 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.
Mappings 4.4 Local Addresses 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.
Modbus Plus X-Link Driver User’s Guide 4.6 Status Counters 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.
Troubleshooting 5 Troubleshooting 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.
Modbus Plus X-Link Driver User’s Guide 54
Specification 6 Specification 6.
Modbus Plus X-Link Driver User’s Guide 56