GE VME DLAN User Manual

Interface module

Advertisement

Quick Links

GE
Intelligent Platforms
Î Î
Programmable Control Products
VME DLAN/DLAN+
Interface Module
User's Manual
GFK-1044A
March 2010

Advertisement

Table of Contents
loading

Summary of Contents for GE VME DLAN

  • Page 1 Intelligent Platforms Î Î Programmable Control Products VME DLAN/DLAN+ Interface Module User’s Manual GFK-1044A March 2010...
  • Page 2 Features may be described herein which are not present in all hardware and software systems. GE Intelligent Platforms assumes no obligation of notice to holders of this document with respect to changes subsequently made.
  • Page 3 Contact Information If you purchased this product through an Authorized Channel Partner, please contact the seller directly. General Contact Information Online technical support and h ttp://www.ge-ip.com/support 1 H 2 H GlobalCare Additional information h ttp://www.ge-ip.com/ Solution Provider s olutionprovider.ip@ge.com Technical Support...
  • Page 5 Chapter 2. Installation and Initialization: explains how to install and configure the VME DLAN Interface module in a VME computer system. Appendix A. Example C Program to Initialize a VME DLAN Interface Module: shows you how to write application code to initialize the DLAN module.
  • Page 6 Preface We Welcome Your Comments and Suggestions At GE Intelligent Platforms, we strive to produce quality technical documentation. After you have used this manual, please take a few moments to complete and return the Reader’s Comment Card located on the next page.
  • Page 7: Table Of Contents

    ........2-10 Appendix A Example C Program to Initialize a VME DLAN Interface Module Table of Contents viiviii...
  • Page 8 Contents GFK-1044A VME DLAN/DLAN+ Interface Module User’s Manual - August 1995...
  • Page 9: Vme Dlan Interface Module Functions

    VME DLAN Interface Module Functions The VME DLAN Interface module can operate as either a DLAN or DLAN+ controller. However, a single module can not be both a DLAN and DLAN+ controller at the same time. If the application requires both DLAN and DLAN+ devices, two DLAN Interface modules must be used.
  • Page 10: Section 2: Dlan Interface Module Description

    TXB- DLAN TXB+ NETWORK CONNECTOR Î Î (D CONNECTORS NOT USED) DLAN CONFIGURATION Î Î JUMPERS MODULE FUNCTION GE DRIVES DLAN INTERFACE Î MODULE: IC697BEM764 LABEL: 44A726758-141R01 ADDRESS SELECT JUMPERS Figure 1-1. VME DLAN/DLAN+ Interface Module Chapter 1 Introduction GFK-1044A...
  • Page 11: Address Select Jumpers

    Address Select Jumpers The address select jumpers, JP1 through JP4, are used to select the VME base address that the VME DLAN module will respond to in VME short non-privileged mode. See chapter 2, section 1 of this manual for details.
  • Page 12: Dlan Network Connector

    DLAN Network Connector This eight-pin connector provides a means of connecting the DLAN Interface module to the DLAN or DLAN+ network. A connector on the cable from the DLAN network connection block mates to the connector on the module. DLAN Configuration Jumpers These jumpers are used to configure the network connection when the Network Type is specified as DLAN.
  • Page 13: Installation And Initialization

    Before you can begin the installation procedure, you must have the following equipment and software: A VMEbus based computer system that includes (at least) a VME rack, power supply, and CPU module. One or more VME DLAN Interface modules. An application development platform and tools for the VME CPU. GFK-1044A...
  • Page 14: Section 1: Installing The Dlan Interface Module Hardware

    Then, the DLAN Interface module must be installed in a VME rack. Overview Each VME DLAN Interface module must reside in the same rack as the VME CPU. The following illustration shows one possible system configuration for installing a DLAN Interface module in a VME rack.
  • Page 15 a47042 Figure 2-2. Address Selection Jumpers There are 16 possible ways to set the four jumpers, and each one provides a unique range of short non-privileged addresses for the module. Table 2-1 shows the address range for each setting. Table 2-1. Jumper Settings for Short Non-Privileged Address Range Short Non-Privileged Address Range (Hexadecimal)
  • Page 16: Installing A Vme Dlan Interface Module

    1. Power off the VME system. 2. Locate the desired slot. 3. Remove the VME DLAN Interface module from the shipping carton, but leave it in its anti-static plastic bag. Touch an exposed metal surface of the VME rack to discharge any electrostatic charge you may have picked up.
  • Page 17: Section 2: Dlan Jumper Configuration

    Section 2: DLAN Jumper Configuration DLAN Configuration Jumpers When a DLAN network (rather than DLAN+ network) is used, jumpers on the DLAN daughter board must be used to configure the network connection. This section describes how to set the jumpers. If you are using a DLAN+ network, skip this section. Figure 2-3 is an enlarged view of the DLAN configuration jumpers shown in Figure 1-1.
  • Page 18: Selecting The Dlan Network Type

    If the DLAN modules is powered on while connected to an optically isolated network and jumpers JP2, JP3, and JP4 are set to the 2–3 position, the external isolated power supply for the isolated network will be damaged. VME DLAN/DLAN+ Interface Module User’s Manual - August 1995 GFK-1044A...
  • Page 19: Selecting Rs-485 Termination Resistors

    Selecting RS-485 Termination Resistors If the RS-485 network is selected, the drop at each end of the network cable should have the termination resistors IN. This is true for all drop types, both DLAN modules and drives. Adding additional termination resistors will improve the signal to noise ratio of RS-485 networks, but more than five sets of termination resistors will overload the drivers.
  • Page 20: Section 3: Initializing The Vmebus Interface

    Section 3: Initializing the VMEbus Interface Each VME DLAN module must be initialized by writing to its VMEbus memory from the VME CPU or other VME module before the DLAN module can be used. This initialization must occur each time a rack containing a DLAN module is powered on.
  • Page 21: The Initialization Process

    VME short non-privileged mode, but only the first 2K (800 hexadeci- mal) bytes of dual-ported memory may be accessed in this mode. Accordingly, the principal use of short non-privileged mode with VME DLAN modules is to detect their presence and write initialization data to them.
  • Page 22: Status Data Available From A Dlan Module

    ROM CRC is xxxx not yyyy! location U60. Checksum failure of EPROM at board ACC chksum is xxxx not yyyy location U59. RAM failure at xxxx:yyyy! RAM test failure. VME DLAN/DLAN+ Interface Module User’s Manual - August 1995 2-10 GFK-1044A...
  • Page 23 Example C Program to Initialize a VME DLAN Interface Module This example program shows how to initialize a VME DLAN module from application code written in C. See Initializing the VMEbus Interface in chapter 2 of this manual for a discussion of initialization requirements and for suggestions.
  • Page 24 Finally, a non-terminating loop initializes the target module and then monitors its status. * dlantest.c * Program for testing vme_setup() in a VME DLAN module. #include <vtos.h> #include <stdio.h>...
  • Page 25 NO_ERROR when successful. Actually, PCM code is currently unable to detect failures of VMEbus read and write operations. However, some execution environments will provide this information, and functions implemented for them would be able to return VME_ERROR when appropriate. Appendix A Example C Program to Initialize a VME DLAN Interface Module GFK-1044A...
  • Page 26 * The implementation shown below assumes a GE Series 90–70 PCM. int vme_write( unsigned short vme_hi, unsigned short vme_lo, void far* src, int len, unsigned char am ) int i; unsigned short far* p; unsigned short far* q = src;...
  • Page 27 CONFIG_COMPLETE, indicating that a successful initialization was acknowledged by the target module. If the byte contains some other value, vme_setup returns INIT_ERROR. Otherwise, it returns SETUP_CMPLT and exits. Appendix A Example C Program to Initialize a VME DLAN Interface Module GFK-1044A...
  • Page 28 Consequently, another value is also read. The byte at AM_OFFSET is expected to contain STD_NP_AM, which contains four zero bits and four one bits. It is a more reliable status indicator. VME DLAN/DLAN+ Interface Module User’s Manual - August 1995 GFK-1044A...
  • Page 29 If both bytes contain the expected values, vme_status returns SETUP_CMPLT; otherwise, it returns INIT_ERROR when the byte at AM_OFFSET has the expected value, or VME_ERROR if not. Appendix A Example C Program to Initialize a VME DLAN Interface Module GFK-1044A...
  • Page 30 1-4 Acknowledgement, reading the, 2-9 Address select jumpers, 1-4 Example C program to initialize a BEM764, Addressing target VME DLAN module, 2-9 Appendix A, Example C program to initialize a VME DLAN interface module, A-1 Applications, VME DLAN...
  • Page 31 1-4 module start address, standard non-privileged mode, 2-8 Module ID string, 2-10 VME DLAN applications, 1-2 MODULE OK LED, 1-4 VME DLAN interface module, functions, 1-2 Module start address, standard non-privileged mode, 2-8 VME DLAN module dual-ported memory, 2-8 initialization...
  • Page 32 Index Watchdog timer, 1-4 Writing initialization data, 2-9 Index-3 GFK-1044A...

This manual is also suitable for:

Vme dlan+

Table of Contents