background image

Index

Index-3

GFK-1044A

W

Watchdog timer, 1-4

Writing initialization data, 2-9

Summary of Contents for VME DLAN

Page 1: ...ÎÎ Programmable Control Products VME DLAN DLAN Interface Module User s Manual GFK 1044A March 2010 GE Intelligent Platforms ...

Page 2: ...e the information contained herein does not purport to cover all details or variations in hardware or software nor to provide for every possible contingency in connection with installation operation or maintenance 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 resp...

Page 3: ...l Support Email 8H9Hsupport ip ge com Customer Care Email 10H11Hcustomercare ip ge com Primary language of support English Europe the Middle East and Africa Online Technical Support 12H13Hwww ge ip com support Phone 800 1 433 2682 EMEA Direct Dial 352 26 722 780 if toll free 800 option is unavailable or if dialing from a mobile telephone Technical Support Email 14H15Hsupport emea ip ge com Custome...

Page 4: ......

Page 5: ...ion 2 is now Section 3 Content of this Manual This manual contains the following chapters Chapter 1 Introduction describes the features of the VME DLAN Interface module The basic operation of DLAN applications is also introduced in this chapter 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...

Page 6: ...come 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 Henry A Konat Senior Technical Writer ...

Page 7: ... DLAN Interface module Hardware 2 2 Overview 2 2 Setting the Address Select Jumpers 2 2 Installing a VME DLAN Interface Module 2 3 Section 2 DLAN Jumper Configuration 2 5 DLAN Configuration Jumpers 2 5 Selecting the DLAN Network Type 2 6 Selecting RS 485 Termination Resistors 2 6 Section 3 Initializing the VMEbus Interface 2 8 Required Initialization Data 2 8 The Initialization Process 2 9 Address...

Page 8: ...Contents vi GFK 1044A VME DLAN DLAN Interface Module User s Manual August 1995 ...

Page 9: ...ntended to do is contained in the CPU program VME DLAN Applications Hardware Requirements The minimum hardware configuration for a VME DLAN or DLAN application requires these components 1 A VME based computer system that includes at least a rack power supply and CPU module to run the application program 2 One or more VME DLAN Interface modules installed in another slot or slots 3 A DLAN or DLAN ne...

Page 10: ...ng figures are mounted along the top front edge of the DLAN Interface module a47040 Î Î Î Î Î Î Î Î Î Î Î JP1 JP2 JP3 JP4 H L ADDRESS SELECT JUMPERS DLAN CONNECTOR DATA IN BEM 764 Î Î MODULE OK Î COMMAND OUT Î DATA IN ON OK ACTIVE MODULE IC697BEM764 LABEL 44A726758 141R01 MODULE FUNCTION GE DRIVES DLAN INTERFACE PUSH TO RESTART COMMUNICATION DOOR MODULE OK COMMAND OUT DLAN NETWORK CONNECTOR RESTAR...

Page 11: ...ND OUT LED The center LED indicator referred to as COMMAND OUT on the module door label has two functions It flashes on briefly during the self test that occurs when the VME rack is powered on or the module Restart pushbutton is pressed During normal operation it flashes whenever a command from the CPU application program is sent to a network drop DATA IN LED The lower LED indicator referred to as...

Page 12: ...Jumpers These jumpers are used to configure the network connection when the Network Type is specified as DLAN JP2 through JP4 are used to select either the optically isolated LAN network or an RS 485 LAN network If the RS 485 LAN network is selected JP5 and JP6 are used to select whether the RS 485 network termination resistors are IN or OUT Battery The DLAN Interface module does not use a battery...

Page 13: ...description of the physical installation of the DLAN Interface module in a VME rack A description of the module hardware is also included Step 2 DLAN Jumper Configuration Section 2 describes how to set the DLAN configuration jumpers located on the DLAN daughter board when a DLAN network rather than DLAN network is used Step 3 Software Initialization of the DLAN Interface Module Bus Interface Secti...

Page 14: ... be external to the rack built into the rack or installed in a specific slot DLAN Interface modules may be placed in any unused slot in the rack However there may be restrictions on empty slots between the CPU and other VME modules that use hardware interrupts Refer to the manufacturer s installation instructions for information on such restrictions The VME DLAN module does not use hardware interr...

Page 15: ...ÁÁÁÁÁÁÁ 1000 17FF ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ H ÁÁ ÁÁ H ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ 1800 1FFF ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ H ÁÁÁ ÁÁÁ L ÁÁ ÁÁ L ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ 2000 27FF ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ H ÁÁÁ ÁÁÁ L ÁÁ ÁÁ H ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ 2800 2FFF ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ H ÁÁÁ ÁÁÁ H ÁÁ ÁÁ L ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ 3000 37FF ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ H ÁÁÁ ÁÁÁ H ÁÁ ÁÁ H ÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁ 3800 3FFF ÁÁÁ ÁÁÁ H ÁÁÁ ÁÁÁ L ÁÁÁ ÁÁÁ L ÁÁ ÁÁ L ÁÁÁÁ...

Page 16: ...e module is fully seated you will hear and or feel clicks from the latches on the top and bottom of the module faceplate 7 Mount the DLAN DLAN network connection block to the VME rack where the DLAN Interface module is installed Connect the ground wire from the connection block securely to one of the ground screws on the VME rack Connect the cable from the connection block to the DLAN Interface mo...

Page 17: ...tions of these jumpers configure the DLAN module connections to a DLAN network JP6 JP5 JP4 JP3 JP2 a47078 Figure 2 3 Detail of DLAN Configuration Jumpers From Figure 1 1 Figure 2 4 shows the two possible positions for jumpers JP2 through JP6 All of the jumpers are installed in the 1 2 position at the factory If you need to change one or more jumper positions use this procedure Each jumper has a th...

Page 18: ...DLAN Module optically isolated and RS 485 The DLAN network type is selected by setting jumpers JP2 JP3 and JP4 as shown in Table 2 1 At the factory these jumpers are set to select the optically isolated network Table 2 2 Jumper Positions For Selecting DLAN Network Type Jumper Optically Isolated LAN RS 485 LAN JP2 JP3 JP4 1 2 1 2 1 2 2 3 2 3 2 3 Caution If the DLAN modules is powered on while conne...

Page 19: ...5 networks but more than five sets of termination resistors will overload the drivers Accordingly no more than five drops on a network should have the termination resistors IN Table 2 2 shows the jumper settings for termination resistors At the factory these jumpers are set for termination resistors IN Table 2 3 Jumper Positions For RS 485 Network Termination Resistors Termination Resistors Jumper...

Page 20: ...le 2 4 Required Setup Data ÁÁÁÁÁÁ ÁÁÁÁÁÁ ÁÁÁÁÁÁ ÁÁÁÁÁÁ Zero Based Byte Offset Hexadecimal ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Description ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁ Required Value or Range Hexadecimal ÁÁÁÁÁÁ ÁÁÁÁÁÁ ÁÁÁÁÁÁ 5 ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Bits 16 through 23 of the target module s start address in VME 24 bit standard non privileg...

Page 21: ...is now available Caution With some VME CPU modules failure to use 8 bit D8 data transfers when writing initialization data to the DLAN module will cause the byte order of the data in the DLAN module to be reversed When this condition occurs module initialization always fails and the Module OK LED continues to flash indefinitely If the data is written too soon after the DLAN module is powered on th...

Page 22: ... ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁ Byte ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Daughter board ID code Hexadecimal ÁÁÁÁ ÁÁÁÁ ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁ ÁÁ ÁÁ 40 ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ No daughter board ÁÁÁÁ ÁÁÁÁ ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁ ÁÁ ÁÁ 5B ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ DLAN communication daughter board ÁÁÁÁ ÁÁÁÁ 0B2 ÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁ NUL terminated ASCII string ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ Power up diagnostics re...

Page 23: ...ME DLAN module GE catalog no IC697BEM764 ifndef _DLANINIT_H_ define _DLANINIT_H_ Return values for vme_setup define SETUP_CMPLT 0 The initialization succeeded define INVALID_SHORT_ADDR 1 specified short non privileged start address is invalid define INVALID_STD_ADDR 2 specified standard non privileged start address is invalid define VME_ERROR 3 Setup data write was not verified define INIT_ERROR 4...

Page 24: ...ÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ dlantest c Program for testing vme_setup in a VME DLAN module include vtos h include stdio h include stdlib h include dlaninit h Default values that may be replaced by command line arguments define SHORT_START_ADDR 0x1800 define STD_ST...

Page 25: ...ETE 0xFF value written by the DLAN module to acknowledge it read and processed the config data Offset values into the 64 byte configuration data array where significant data values are expected define HI_ADR_OFFSET 5 define AM_OFFSET 9 define MOD_TYPE_OFFSET 40 define DATA_AVAIL_OFFSET 63 Other constants define VME_DATA_LEN 64 size of setup data array in bytes define SETUP_OFFSET 0x0040 offset int...

Page 26: ... 70 PCM int vme_read void far dest unsigned short vme_hi unsigned short vme_lo int len unsigned char am int i unsigned short far p unsigned short far q dest FP_SEG p VME_WIN_SEG FP_OFF p vme_lo Set_vme_ctl vme_hi am for i len 2 i 0 i copy the data word by word q p if len 2 len is odd copy the last byte unsigned char far q unsigned char far p return NO_ERROR The implementation of vme_setup is inten...

Page 27: ...es of the setup data area must be zero Since they are cleared starting at the low address check just the last byte Only short non privileged mode works at this time status vme_read read_data 0 short_base_address SETUP_OFFSET DATA_AVAIL_OFFSET 1 short_am if status NO_ERROR return status if read_data 0 return VME_ERROR Next the setup data is passed to vme_write along with the target module s address...

Page 28: ...data if the initialization did not succeed while status CONFIG_COMPLETE Test_ef EF_00 status vme_read read_data hi_adr SETUP_OFFSET VME_DATA_LEN STD_NP_AM Compare the data that was read back with the data that was sent All except the last byte should be the same If one is different try again for i 0 status NO_ERROR i VME_DATA_LEN 1 i if read_data i setup_data i status VME_ERROR If good data was re...

Page 29: ...ion shown below should also be portable except as noted int vme_status unsigned short rack unsigned short slot int status unsigned char read_data unsigned char hi_adr Range check the rack and slot parameters if rack MIN_RACK rack MAX_RACK return INVALID_RACK if slot 2 slot MAX_SLOT return INVALID_SLOT This is Series 90 70 convention for the standard mode base address based on the module s rack slo...

Page 30: ...D indicators 1 3 COMMAND OUT 1 4 DATA IN 1 4 MODULE OK 1 4 restart pushbutton 1 4 watchdog timer 1 4 E Example C program to initialize a BEM764 A 1 F Functional overview DLAN operation 1 1 H Hardware address select jumpers 1 4 COMMAND OUT LED 1 4 DATA IN LED 1 4 DLAN configuration jumpers 1 5 DLAN network connector 1 5 installing a VME DLAN module 2 3 installing the VME DLAN hardware 2 2 LED indic...

Page 31: ...ew system 1 1 P Power up diagnostics result 2 10 R Reading the DLAN modules acknowledgement 2 9 Required inilization data 2 8 Restart pushbutton 1 4 RS 485 termination resistors 2 6 S Selecting DLAN network type 2 6 Selecting RS 485 termination resistors 2 6 Serial connectors not used 1 5 Setup data required 2 8 Status data daughter board ID code 2 10 module error code 2 10 module ID string 2 10 p...

Page 32: ...Index Index 3 GFK 1044A W Watchdog timer 1 4 Writing initialization data 2 9 ...

Reviews: