Home
Easylon PCI Bus Interface
Contents
1. 4 2 Device Status pragma pack 1 define NM_update domain 0x63 define NM_set_ node mode 0x6C define SVC_request 0x60 define niRESPONSE 0x16 define niLOCAL 0x22 define niRESET 0x50 define LDV_OK 0 typedef struct BYTE cmq cmda 7 BYTE len BYTE svc_tag 7 OT BYTE flags BYTE data_len BYTE format rev union struct BYTE dom node BYTE rpt_retry BYTE tx_timer BYTE dnet_grp BYTE nid 6 send struct BYTE snet BYTE snode BYTE dnet_grp BYTE dnode_ nid 7 Bev struct BYTE snet BYTE snode BYTE dnet BYTE dnode BYTE group BYTE member BYTE reserved 4 resp adr BYTE code BYTE data 239 ExpAppBuf ES Gesytec 2 4 Service 6 5 prio path cplcode 5 4 domain 7 message code or selector MSB queue 3 0 auth 4 tag 3 0 expl altp pool resp flex 6 node memb 6 0 retry 3 0 tx timer 3 0 destination subnet or group NEURON ID domain 7 rpt_timer 7 4 source subnet source node destination subnet or group destination node or NEURON ID source subnet source node destination subnet destination node 23 29 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface ExpAppBuf msg_ out ExpAppBuf msg_in ExpAppBuf msg _rsp int ni_handle BYTE my domain 15 0 0 0 0 0 0 int send_local 0x01 Programming Instructions
2. Explicit message buffer for outgoing messages Explicit message buffer for incoming messages Explicit message buffer for response messages 0xC0 0 OxFF OxFF OxFF OxFF OxFF OxFF int len int ldv_err msg out cmg msg out msg out msg out msg out if ldv_write while 1 ldv_err If flags len return 0 int msg out code msg out data l0 amp msg out datall l memcpy TE ldv_read amp amp msg_in ldv_err if msg_in cmq niRESET if msg_in cmq memcpy amp msg_rsp return 1 send local niLOCAL svc_tag SVC_request 8 len 15 data_len len 1 smsg out len 17 return 0 256 LDV OK return 0 Local reset niRESPONSE amp msg in msg in len 2 Ok set config online NM update domain 0 Domain index 0 amp my domain 15 Subnet 1 Node 64 16 return 0 msg out code msg out data 0 msg _out data 1 send_local if NM_set_node_ mode r 4 2 return 0 Change state Configured online return 1 Gesytec Success ES KG ae 24 29 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface 4 3 4 3 1 4 3 1 1 Programming Instructions PCI Bus Interface The PCI bus Interface has been implemented as 32 bit I O Interface according to the specification PCI Local Bus Specification Ve
3. Code fragment for ascertaining the I O adresses and interrupt numbers of the Easylon PC nterface assigned by the PCI BIOS Prerequisites PCI Bus Number 0 Configuration mechanism 1 zf Vendor ID 0x1555 Gesytec GmbH Device ID 0x0002 Easylon PC nterface define GESYTEC_LPP 0x00021555 define BYTE unsigned char define WORD unsigned short define DWORD unsigned long 32 bit I O access functions must not be splitted into two 16 bit accesses extern void _outpd WORD adr DWORD data extern DWORD _inpd WORD adr Globals WORD cs0 I O Adresse of Control Status Byte WORD cs1 1 O Adresse of Neuron Data port WORD cs3 1 O Adresse of Watcher Data port WORD inta TRO Nummer WORD plxird 1 O Adresse of PLX9050 Interrupt Registers DWORD typeladr void setreg BYTE reg DWORD value outpd OxCF8 typeladr reg outpd OxCFC value 5 The Easylon Watcher cannot be used with this interface card version Information is only provided for the sake of complete ness Gesytec z za LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Programming Instructions DWORD getreg BYTE reg _outpd 0xCF8 typeladr reg return _inpd OxCFC int pci_getcfg int slot for slot 0 slot lt 32 slot type
4. Figure 3 1 Block diagram Easylon PCI Bus Interface 3 5 Connector Pin Assignments Attention For EMC reasons the cable used for network connection must be fitted with the ferrite core see chapter 2 1 1 This is independent of which connector on the board is used The Easylon PCI Bus Interface provides a 9 pin D type connector Figure 1 1 for network connection In the TPT XF and FTT variants the card is additionally equipped with a 2 pin screw plug terminal Figure 1 1 which can be used al ternatively PN Gesytec 2 1729 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface 3 6 Technical Description Connector ype Fin Signal Remark 1 data Data 2 data Data 3 Reserved 4 Reserved 5 Reserved 6 Reserved 7 Reserved 8 9 Reserved 2 pin SEEN plug 1 data Data Table 3 1 Connector pin assignments for TPT XF and FTT network con nection 9 pin D type Reserved Reserved Reserved Data RTS Reserved U supply voltage electrically isolated U supply voltage electrically isolated Data RTS Table 3 2 Connector pin assignments for EIA 485 network connection Service LED The service LED Figure 1 1 signals the card status The following signals are defined the service LED Gesytec i 128 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Technical Description Service LED Status Remarks Flash
5. Ippdrv exe The driver file lppdrv exe has to be copied onto the hard disk of your comput er e g into a directory named C easylon ES Gesytec 2 1329 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation 2 2 4 1 The network driver for the Easylon Interface cards requires 1 6 Kbytes of resi dent program code 2 Kbytes of output buffer and 2 4 or 8 Kbytes of input buf fer Installation The network driver will be installed in the system as device with the first free name starting with LON1 by adding in the config sys file the line device path lppdrv exe I D or devicehigh path lppdrv exe I D path is describing the location of the Ippdrv exe file in your system Options The following options can be used D Setting of device number The device number may be in the range from 1 to 9 LONI LON9 If this option is not specified the network driver will be defined as LON1 default If another network driver has already been installed with the same device number this will result in the error message Invalid or duplicate device name If the parameter D is specified without entering a subsequent numerical value the device number will be assigned automatically If all possible de vice numbers have already been assigned to other network drivers this will result in the error message LONI LON9 already defined L Increasing the input buffer The input
6. User Manual Gesytec GmbH Pascalstr 6 52076 Aachen Germany Tel 49 24 08 9 44 0 Fax 49 24 08 94 4 100 email info gesytec de http www gesytec com Doc ID LPP UserDoc LPP3 LPP_Manual E V3 4 doc Version v3 4 Date 2 8 2010 am Gesytec 2 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface User Manual This manual provides you with all the information which you will require to use the Easy lon PCI Bus Interface card However this manual will neither explain aspects of Echelon s LONWORKS technology nor Echelon s Microprocessor Interface Program MIP nor Eche lon s Network Service Interface NSI used on this network interface card nor details concerning the Easylon PCI Bus Interface network drivers which has been designed in accordance with the driver specifications of the Echelon Corpo ration For further information on the LONWoRKS technology please refer to the extensive documentation provided by Echelon Especially Echelon s LON WORKS Host Application Programmer s Guide will be required if applications are to be developed using Gesytec s Easylon PCI Bus Interface as a network in terface After a general presentation of the Easylon PCI Bus Interface card in Chapter 1 Chapter 2 describes the necessary steps to install the card Chapter 3 contains a general technical description Chapter 4 Programming Instructions contains the information which will be of impor
7. Windows XP Vista 7 Server 2003 Server 2008 Server 2008 R2 Windows CE Linux and MS DOS Easylon RNI Software for remote LONWORKS access EasyCheck utility for Easylon Interfaces WLDV32 DLL Documentation in Adobe Acrobat PDF format 1 3 Overview The Easylon PCI Bus Interface is a cost effective link between a PCI bus com puter and the LONWORKS control network The PC plug in card for a PCI bus Gesytec Z 020 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Easvlon PCI Bus Interface Product Information slot provides one interface to the network Variants are available for connection via transformer coupled twisted pair TP XF free topology FTT and Direct Connect transceivers and for EIA 485 serial connection The Easylon PCI Bus Interface card is provided with a service button and LED In the TPT XF and FTT variants the card is equipped with two connectors ei ther of which can be used 9 pin D type connector 2 pin screw plug terminal In OEM versions the D type connector can optionally be replaced by an RJ45 connector and Phoenix connectors can be used instead ofthe usual Weidm ller As an alternative solution to the standard LonTalk adapters described in this do cumentation there is a modern solution available with the Easylon Interfaces Especially in more demanding applications these EIA 709 1 based LonWorks compatible network interfaces offer many advantages Find more information at www gesytec com ES G
8. 1 Hz No driver installed or driver conflict Check the driver settings IRQ or address conflict to other cards Blink 1 2 Hz Driver installed Configure the node node is unconfigured Permanently ON _ Node is applicationless and unconfigured Permanently OFF Installation ok Normal operation Table 3 3 Service LED 3 7 Technical Specification Bus Interface VO addresses Control register Status register Compatibility CPU Coupling Memory MIP PSO NSI 3 boards are delivered m Gesytec 2 32 bit Data I O according to PCI Local Bus Specification Version 2 2 compatible with 3 3 V and PCI X 3 8 Bit 8 Bit LonTalk EIA 709 1 Neuron 3150 10 MHz parallel slave _A mode ROM 32 Kbytes RAM 24 Kbytes ROM 48 75 Kbytes RAM 9 Kbytes 19 29 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Technical Description Network interface Order Network Transmission Network Connector Protection Code Interface Rate P P10201 TPT 78 kbps 9 pin D Type Sparc gaps P P10211 2 pin screw plug P P11201 terminal P P11211 P P10202 TPT 1 25 Mbps 9 pin D Type Sparc gaps P P10212 2 pin screw plug P P11202 terminal P P11212 P P10203 EIA 485 39 kbps 9 Pin D Type Zener Diode P P10213 electr Isol P P11203 P P11213 P P10204 FTT 78 kbps 9 pin D Type Sparc gaps P P10214 2 pin screw plug P P11204 terminal P P11214 P P102
9. VS TEST a Computer Disk drives Display adapters 5 DYD CD ROM drives Floppy disk controllers 9 Floppy disk drives 3 IDE ATAJATAPI controllers Keyboards ES LON Adapters HR Gesytec LONUSB1 1 7 2 2 D En cesytec Mice and other pointing devices 3 Monitors 9 Network adapters a Ports COM amp LPT Sound video and game controllers m System devices Universal Serial Bus controllers er The Advanced TAB allows setting of individual properties 1 For 64 bit systems ES Gesytec 4 112 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation Gesytec LPPO 14 Properties 21x General Advanced Driver Resources The following properties are available for this network adapter Click the property you want to change on the left and then select its value on the right Property Value v Adapter Name Debug Flag Not Present Firmware g Permitted Power Saving Lon Adapter You can assign a name LONI LON9 to the interface board as some ap plications may require ATTENTION The name chosen must not be in use by any other driver The device will not NOTE start if a name is used twice Code 10 Adapter Name Alternatively a name can be chosen freely e g building 7 If names are given in both sections Lon Adapt
10. 05 Direct line length 9 pin D Type Sparc gaps P P10215 Connect dependant 2 pin screw plug P P11205 terminal P P11213 P P10206 FTX 78 kbps 9 pin D Type Sparc gaps P P10216 2 pin screw plug P P11206 terminal P P11216 cf Table 1 1 for variant identifiers on the card Voltage Supply 5 V from PC Power consumption typically 2 W Temperature operational 0 C 50 C non operational 20 C 70 C EMC EN 610 00 6 2 EN 550 22 A B Humidity according to DIN 40040 Class F Dimensions 130 mm x 105 mm incl connectors for 32 Bit PCI Slot ES Gesytec 2 zo LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface 4 4 1 Programming Instructions Programming Instructions LONWORKS Network Node The Easylon Interface card is a network node in the LONWoRKS network It is operated under Echelon s Microprocessor Interface Program MIP P50 or with NSI firmware using the NEURON 3150 Chip as communication processor The appropriate external interface files xif are on the installation CD ROM Which xif file is describing which interface card variant is shown in the following ta ble Network Interface Transmission XIF File Rate TP 78 kbps lolp072f xif TP 1 25 Mbps lolp073f xif EIA 485 electr isol 39 kbps lolp074f xif FTT 78 kbps lolp075f xif Table 4 1 Card variants and xif files Network Interface The various network interface variants are ea
11. 6 permitted power saving 12 power consumption 20 reset 17 scope of delivery 6 screw plug terminal 18 service button 5 16 service LED 5 19 service pin 16 status byte 27 Technical Specification 19 temperature 21 type identifier 5 variants 6 29 29
12. LON Adapters select the Gesytec LPPx yy driver and click de install EasyCheck Test Utility for Windows Drivers In addition to the drivers the test utility EasyCheck can be installed in the re spective program directory default Easylon Lpx The program checks inter face and software environment and displays information from which can be concluded on the reasons for problems in connection with the interface EasyCheck runs an analysis of the system s software It will open the selected in terface check the driver version and display it By sending a query status command the communication with the hardware is tested Using the read mem ory command the utility will show if the device is running MIP or NSI firm ware Properly installed Easylon Interfaces will send a corresponding answer Windows and 16 Bit Applications The Windows driver for the 32 bit Windows versions also provides a 16 bit inter face Unfortunately Microsoft does not support this in the 64 bit versions To use it the following entry has to be made in the file config nt usually found in the windows system32 directory 2 The Easylon Watcher cannot be used with this interface card version Information is only provided for the sake of complete ness Gesytec z 1220 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation Note 2 2 4 Device SystemRoot system32 Ipxdos exe Ll
13. and output buffers of the Easylon Interface network driver are configured as byte level FIFOs i e the space requirement of a message is dependent on its length Consequently a buffer capacity of 2 Kbytes de fault approx 50 100 messages per buffer should be quite adequate in most cases However should it be necessary to store an even larger number of in coming messages the input buffer can be increased Valid values for pa rameter l are 2 4 or 8 Kbytes Instead of the slash it is also possible to enter a dash to identify the options No distinction is made between upper case and lower case characters ES Gesytec 2 Jans LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation 2 2 4 2 Multiple Easylon Interface cards installed The network driver for the Easylon Interface cards only supports one interface card If several of these cards are installed in the computer the network driver must be installed an appropriate number of times in the config sys file The Ea sylon PCI Bus Interfaces are installed according to the sequence of their PCI bus slots If it is established during loading that another network driver has already been installed for the Easylon Interface the copyright message will be suppressed Display of the Network Drivers Installed in the Computer The Ippdrv exe file can be called from the DOS command line in the same man ner as any program to show all the network dri
14. assign ments for connection to the LONWORKS network Driver Installation Drivers for different operating systems are available for the Easylon PCI Inter face Currently these are Windows 2000 XP Vista and 7 and the Windows Server OS 2003 2008 und 2008 R2 The drivers support both the 32 and the 64 bit version of these operating systems Furthermore there are drivers for Win Gesytec z szo LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation 2 2 1 Note 2 2 1 1 dows CCE Linux and MS Dos Latest driver versions you can downloadvia the Easylon Support pages of our web site www gesytec com Installation is described in the following sections Windows operating systems chapter 2 2 1 16 Bit driver under 32 bit Windows chapter 2 2 3 DOS Driver chapter 2 2 4 This section also describes in short the diagnosis utility EasyCheck which can be installed separately from CD A Linux driver is available in source code from the Linux directory on the CD This also contains hint s and comments The Driver and Documentation CD will lead you to the installation of drivers for different operating systems OS However all setups can as well be started manually for each OS and the respective interface card directly from the CD Driver for Windows Operating System WDM Drivers This section describes installation and setup of the Easylon Interface card drivers for the Windows operating sys
15. ch operated directly via the com munications port CP0 CP4 of the NEURON Chip Configuration is done automatically by the MIP P50 firmware The NSI variants are delivered with the correctly configured network interface In case of prob lems they have can be reconfigured with the EasyCheck utility Node CPU The interface node is designed on the basis of the NEURON 3150 Chip The stan dard clock pulse for the processor is 10 MHz Under MIP P50 firmware the pro cessor is equipped with a 32 Kbytes ROM as program memory A 24 Kbytes SRAM serves as the data memory The memory for NSI firmware is 48 75 Kbytes ROM and 9 Kbytes SRAM The 11 I O ports of the NEURON Chip are all used for parallel coupling with the PCI bus interface ES Gesytec 2 ri LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface 4 1 2 1 4 1 2 2 4 1 2 3 Note Programming Instructions The status of the service pin of the NEURON chip is indicated by a LED The ser vice function can be activated via the service button cf fig 1 1 Coupling Neuron Chip lt gt PCI Bus Interface The NEURON Chip is coupled in slave_A parallel mode The handshake bit de fined by the NEURON Chip NHS to control the data flow can be checked via the status byte of the Easylon PCI Bus Interface Please refer to the NEURON 3150 Chip data book with regard to the data communication mechanism in slave _A mode Interrupt Function Neuron Chip lt gt PCI Bu
16. ddiess MP ee 25 4 3 1 1 Signal Assignments Control Byte ceccecsecssecesecsscceescecneceeceseeesscecaeeeaeeees 25 4 3 1 2 Signal Assignments Status Byte ss sen u a 26 432 Example seirinin E eee ae eee 26 4 3 3 Reset PROCS as ehe 27 3 List of Drurss ansehen 28 6 List of Table a aa 28 7 Inder ee 29 ES Gesytec 2 azo LPP UserDoc LPP3 LPP_Manual E V3 4 doc Easvlon PCI Bus Interface Product Information Product Information This manual describes the Easylon Interface Card ES Gesytec 2 Easylon PCI Bus Interface Card for 32 Bit PCI Bus Slots Figure 1 1 Easylon PCI Bus Interface 1 Service button 2 Service LED 3 Screw plug terminal not with EIA 485 variants 4 9 pin D type connector 5 Type identifier on rear side see table 1 1 5 29 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Easvlon PCI Bus Interface Product Information 1 1 Variants The following variants of the Easylon PCI Bus Interface are currently available and are described in this documentation Each variant is identifiable by a type code sticker on the rear of the card Table 1 1 Variants order codes and type identifiers for Easylon PCI Bus Interface cards 1 2 Scope of Delivery PC plug in card with Echelon s MIP P50 or NSI firmware Mounting instruction Drivers amp Documentation CD with network drivers for 32 bit and 64 bit versions of
17. e uuuneiinn 17 6 List of Tables Table 1 1 Variants order codes and type identifiers for Easylon PCI Bus Interface eten na S TET E E N E E AE EA 6 Table 3 1 Connector pin assignments for TPT XF and FTT network connection 18 Table 3 2 Connector pin assignments for EIA 485 network connection 18 Table 3 3 Sevice LED ee ee 19 Table 4 1 Card variants and Kif Ds x55 iicnsiausdvcxiahaaeetads caerenshaaraaunacvaalabaneisaang sansa aasia nitie 21 Table 4 2 NEURON Chip address map of MIP P50 version ceneenseeseensnnnnnn 22 Table 4 3 NEURON Chip address map Of NSI version ein 22 Table 4 4 TO SAG areas map PCL BI een 25 Table 4 5 Signal assignments control hyle asiunnesins nennen 23 Table 4 6 Signal assignments status Bye 26 ES Gesytec 2 zane LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface F Index xif 8 16 bit applications 12 3 3 Volt 16 Adapter Name 11 address map PCI bus 26 address map Neuron MIP P50 23 NSI 23 block diagram 17 connector pin assignment EIA 485 19 TPT XF FTT 18 CPU 20 Debug Flag 11 device number 14 15 driver DOS 13 D type connector 5 EasyCheck 12 22 EMC 17 21 error messages 14 15 ferrite core 17 firmware 12 humidity 21 VO addresses 20 ES Gesytec 2 Index input buffer 14 installation 8 14 Lon Adapter 11 memory 20 MIP P50 16 multiple cards 15 network driver 13 15 network interface 16 NSI 16 PCI Bus Interface 16 PCI X 1
18. er and Adapter Name only the name defined under Lon Adapter will be used Debug Flag This field contains a DWORD in hexadecimal notation of different flags for de bug purposes Usually it is set to 0 not existing By setting the single bits cer tain debug features can be turned on At the moment the bits 0 1 and 2 are used Bit 0 LON telegrams at the interface from and to the application are displayed in the debug output Bit 1 LON telegrams at the interface from and to the Neuron Chip are displayed in the debug output ES Gesytec 2 n LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation NOTE 2 2 1 4 2 2 2 2 2 3 Bit 2 LON telegrams at the interface from and to the Easylon Watcher are displayed in the debug output Bit 3 CREATE and CLOSE of the driver are displayed in the debug output The Debug Output can be displayed using for example the program Debug View available at www sysinternals com Firmware The options MIP NSI or EEBLANK are displayed Permitted Power Saving Usually the Easylon Interfaces allow with applications running the standby mode as well as the hibernate mode However in certain operating conditions prob lems may arise if the PC with a LON application running changes to hibernate or standby mode This can be turned off by selecting None De Installation WDM drivers are de installed using the Device Manager Among
19. esytec 2 129 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation 2 2 1 2 2 Installation Installation of the Easylon PCI Bus Interface Card is carried out in two steps 1 Insertion of the card into the PC 2 Installation of the network driver The Easylon Interface cards are delivered in unconfigured status Prior to using it as a LonWorks network interface it has to be set to configured Standard ap plications available from the market such as network management tools auto matically set this status or offer an appropriate command For specially developed applications which shall use the Easylon Interface cards the status setting has to be taken care of Chapter 4 2 provides further informa tion on this subject The external interface files xif for the different card variants can be found on the accompanying CD ROM Which xif file belongs to which variant can be found in Table 4 1 Insertion of the Card When inserting the Easylon PCI Bus Interface card in your computer please be sure to observe all the computer manufacturer s instructions regarding the in sertion of additional interface cards The Easylon PCI Bus Interface Card is to be inserted into a vacant 32 Bit PCI slot while the computer is switched off The address and the interrupt are automatically assigned by the computer s PCI BIOS Please refer to section 3 5 for information regarding the connector pin
20. ladr slot lt lt 11 0x80000000 _outpd 0xCF8 typeladr if _inpd OxCFC GESYTEC LPP cs0 WORD getreg 0x18 amp OxFFFO csl WORD getreg 0x1C amp OxFFFO cs3 WORD getreg 0x24 amp OxFFFO inta WORD getreg 0x3C amp OxOF plxirq WORD getreg 0x14 amp OxFFFO Ox4C return 1 Success return 0 Interface card not found Switching on the Neuron Interrupt in PLX Chip _outpw plxirg 0x41 Enable IRQ on PLX Switching off the Neuron Interrupt in PLX Chip outpw plxirg 0x00 Disable IRQ on PLX 4 3 3 Reset Procedure The NEURON Chip starts up automatically when the power of the PC is switched on During operation a hardware reset of the NEURON Chip can be initiated via a control bit NRES The NEURON Chip is able to initiate a reset independently during operation An additional reset flip flop is implemented on the NEURON Chip to enable the PC to identify such a reset The status of this flip flop NRF can be checked via the status byte of the interface card The flip flop is reset and deactivated via the control bit NCF When NCF is held low the reset flip flop is deactivated NCF 0 ES Gesytec 2 zs LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Index 5 List of Figures Figure 1 1 Easylon PCL B s Interface nee 5 Figure 3 1 Block diagram Easylon PCI Bus Interfac
21. on of the node the service pin of the NEURON Chip is available in the front panel with service LED and service button to activate the function cf fig 1 1 Bus Interface The PCI Bus interface has been developed as 32 Bit I O interface according to the PCI Local Bus Specification Version 2 2 It can be used in PCI slots pro viding a 3 3 V signal as well as in PCI X slots In PCI X machines it may be ne cessary to enable the Easylon Interface in the BIOS Please refer to the respective computer manual Please do not confound PCI X and PCI express While the first uses a parallel communication the latter uses a serial one The Easylon PCI Bus Interface card will be assigned the I O addresses from the PCI BIOS The necessary addresses consist of one addresses for data transfer be tween the PC and the network interface card one address for status queries and control of the NEURON Chip Reset Procedure System Control Reset of the NEURON Chip of the interface card can be initiated by the PC via a program controlled function After a system reset the NEURON Chip starts up au tomatically Gesytec Z 1020 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Easvlon PCI Bus Interface Technical Description 3 4 Block Diagram 9 pin D type screw plug terminal transceiver module service button LED nee MEERE Neuron memory watcher 3150 Chip ROM SRAM host interface PCI 32 bit data inter PCI slot 32 bit
22. ppwdm0 14 The 32 bit LON device used is specified by the optional L or L parameter Lname name Ivxwdm5 0 Mip0 for device LVX wth PCle bus number 5 PCI device number 0 and instance 0 Ivuwdm 1 2 Mip0 for device LVU at USB host controller 1 and with port number 2 at USB root hub lvpwdm0 14 Mip0 for device LVP with PCI Bus number 0 PCI device number 14 and Instance 0 Ipcwdm340 fiir Device LPC mit I Oport Adresse 340 Ippwdm0 14 fiir Device LPP mit PCI Bus Nummer 0 und PCI Device Nummer 14 lonusb1 2 fiir Device LONUSB an USB Hostcontrol ler 1 und mit der Portnummer 2 am USB Root Hub Ipcdrv f r Device EasyLPC mit der Nummer 1 Ippl f r Device EasyLPP mit der Nummer 1 Two subsequent I characters have to be entered one indicating the parameter L the second as first character of the name LIxxxx The 16 bit LON device used is specified by the following optional parameter Dn with n 1 9 for LONI to LON Without this parameter the interface will be assigned the first unused name start ing with LONI DOS Driver The network driver for MS DOS supplied with the Easylon Interface card has been designed in accordance with the specifications by Echelon Corporation For information on the network driver interface which is required to develop ap plications please refer to the LONWORKS Host Application Programmer s Guide from Echelon The driver can be taken form the CD ROM s DOS directory
23. rivers c cccccceseeeeeeeeteeeteees 9 2 2 1 1 Installation using the Windows Assistant cccccesccesceeseeeseeceseceseeeeeeeeaeeeaeees 9 2 2 1 2 Manual Installation and Update une ee a 10 2 2 1 3 Parameter Settini can 10 2214 Deisalkliin ienna A E a 12 2 2 2 EasyCheck Test Utility for Windows Drivers usenessneonsennssonsennensenossontennsenn 12 2 2 3 Windows and 16 Bit Applications es 12 224 DOS Diver essen 13 3241 selten seele esse 14 2 2 4 2 Display of the Network Drivers Installed in the Computer 15 3 Technical Deseripian anne 16 3 1 Network Interface eisen een 16 3 2 Bus Interlaee asien 16 33 Reset Procedure System Control ine 16 3 4 Block Das an nn 17 3 3 Connector Pin Assignments anne nn na area 17 3 6 Service LED sine 18 3 7 Technical Speaifeation nun a 19 4 Programming Instructions essoesssesssesssesssooesoosssoesssesssocssoossosesosesssesssecssoosssosssossssesssose 21 4 1 LONWORKS Network Noll 21 Al Network Nette ernennen 21 412 TO ee a eee ee EA rere eee 21 4 1 2 1 Coupling Neuron Chip lt gt PCI Bus Interface 0 cece ccceeseeeeeeeeeeeseeeseeeseenees 22 4 1 2 2 Interrupt Function Neuron Chip lt gt PCI Bus eennneennenennennnnn 22 4 1 2 3 Neuron Chip Address Map een inne een inshieenannnes 22 4 2 My Sta US ee neuen 23 Gesytec z 320 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Contents 4 3 PET BIS Interface arena 25 431 VOA
24. rsion 2 2 This card is occupying an address range of three I O addresses The PC uses one 8 bit control and an 8 bit status register on the PCI bus interface for control and status check of the NEURON I O Address Map PLX chipselect CSO amp Write Write control byte CSO amp Read Read status byte CS 1 amp Read Read data NEURON Chip CS1 amp Write Write data NEURON Chip CS3_ amp Read Write Table 4 4 WO Address map PCL bus Signal Assignments Control Byte Clear interrupt flip flop from NEURON Chip D3 NSERV NEURON Chip service pin high active NEURON Chip clear reset flip flop low ac tive WTCRES Watcher reset high active Do NRES NEURON Chip reset high active Table 4 5 Signal assignments control byte The control byte of the interface card is reset on every power on the reset signal to the NEURON Chip and the service pin are not activated 4 The Easylon Watcher cannot be used with this interface card version Information is only provided for the sake of complete ness Gesytec z 2020 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Programming Instructions 4 3 1 2 Signal Assignments Status Byte ie Status of NEURON Chip interrupt flip flop low ac tive Status of NEURON Chip reset flip flop low active DI WTCHS Watcher handshake low active Do Imus NEURON Chip handshake low active Table 4 6 Signal assignments status byte 4 3 2 Example
25. s An interrupt flip flop is set via write access to a defined memory address This interrupt flip flop is reset acknowledged by the host via access to an I O ad dress Reading back the interrupt status by the NEURON Chip is not possible Neuron Chip Address Map Address Range 0000 7FFF amp Read ROM 32 Kbytes program memory 8000 DFFF amp SRAM 24 Kbytes data memory Read Write E000 E7FF amp Write Set Interrupt Flip flop E800 FFFF NEURON Chip internal Table 4 2 NEURON Chip address map of MIP P50 version Address Range 0000 C2FF amp Read ROM 48 75 Kbytes program memory C300 D6FF amp SRAM 9 Kbytes data memory Read Write E700 E7FF amp Write Set Interrupt Flip flop E800 FFFF NEURON Chip internal Table 4 3 NEURON Chip address map of NSI version Setting of the interrupt flip flop is data independent ES Gesytec 2 zane LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Programming Instructions Custom applications which work with the Easylon PCI Bus Interface have to properly control the device status Below we show a code fragment illustrating this The structures used are taken from the so called HOSTAPPLICATION by the Echelon Company and adapted to this example The general basis HOST APPLICATION is available from Echelon s homepage www echelon com
26. tance should you wish to develop your own network driver software for the Easylon PCI Bus Interface This documentation is subject to changes without notice Gesytec assumes no responsibility or liability for any errors or inaccuracies that may appear in this document Gesytec shall have no liability or responsibility to the original purchaser or any other person or entity with respect to any claim loss liability or damage caused or alleged to be caused directly or indirectly by any Gesytec product or the accompanying documentation Easylon is registered trademark of Gesytec GmbH Echelon LON LONWorkKS and NEURON are registered trademarks of Echelon Corporation Windows is a registered trademark of Microsoft Other names may be trademarks of their respective companies The Easylon PCI Bus Interface card incorporates the MIP P50 or NSI programs from the Echelon Corpora tion The aforesaid company holds all S relating to this software Gesytec z 229 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Contents Contents 1 Product Information ucssseneun einen een deunhenke 5 1 1 Variants opassen ienna ERDER LO incase eae loo eek eee 6 1 2 Scop of Delivery esse 6 1 3 VL ee E E E 6 2 Iistalatonaaneiie eat 8 2 1 Insertion of the Card een ee een 8 2 2 Driver MAUS PATTON asic oxaenaiccuswasdaceasepunaveaneacenant oatas entrees wneastaseapsnconcenteensenrtattnnaraerer 8 2 2 1 Driver for Windows Operating System WDM D
27. tem from Windows XP onwards The setup program is using the same WDM driver Windows Driver Model for all operating systems For installation you can either use the Windows assistant or the program FastUpd exe for manual installation The latter is much more directly and espe cially helpful if you have to install several instances of the driver Finally de installation of the driver is explained Installation using the Windows Assistant After the Easylon Interface has been mounted Windows will recognize the new device and start the hardware assistant If Windows should not find the driver on the Drivers and Documentation CD or the driver should be elsewhere please select the appropriate drive and select the setup file LppWdm inf and the driver Gesytec LPP WDM Driver PCI from the LPCLPP directory ES Gesytec 2 ans LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface Installation 2 2 1 2 Manual Installation and Update The easiest way to install the driver is to ignore the hardware assistant and run FastUpd exe or FastUpd64 exe from the LpcLpp folder of the CD ROM The same program you will use to update an existing driver 2 2 1 3 Parameter Setting Certain operating conditions may require special settings for the Easylon Inter faces In the Device Manager select the respective interface board under LON Adapters and modify the settings Device Manager OF x action view e gt Bm AA
28. vers installed in the system the appurtenant device names and their storage requirements R The option R additionally enables modification of the device number Example Ippdrv r13 changes the name LONI to LON3 If the first device number does not exist or ifthe second number has al ready been assigned to another device driver the message Invalid or duplicate device name will appear Renaming device names is not restricted to network interface devices de fined by this Easylon Interface network driver and can also be applied from a Windows DOS box as a global function for the entire system including 16 bit Windows applications ES Gesytec 2 1520 LPP UserDoc LPP3 LPP_Manual E V3 4 doc Fasvlon PCI Bus Interface 3 3 1 3 2 Note 3 3 Technical Description Technical Description Network Interface The Easylon PCI Bus Interface is based on the NEURON 3150 Chip Under MIP P50 firmware the NEURON Chip is operated with up to 32 Kbytes ROM as program memory and 24 Kbytes SRAM as data memory For the NSI firmware versions the memory is 48 Kbytes ROM and 9 Kbytes SRAM It is connected to the PCI bus in slave _A mode For monitoring purposes a reset flip flop is additionally implemented on the NEURON Chip a reset of the NEURON Chip can be identified by the PC via a sta tus byte The same mechanism is implemented for the interrupt flip flop In order to visualize the status and to initiate the service functi
Download Pdf Manuals
Related Search
Related Contents
闘病記リスト ―その他の病気― (2015.9.15現在) SENSOR DE VELOCIDAD RBSS HP Designjet T610 シリーズ製品仕様 Xerox GKLS Language Services (LS) is a Localisation (see For any further information on ADDON product, please visit our Kelly Motor Controller - Ki クリアスコープ・デジタル シリーズ Copyright © All rights reserved.
Failed to retrieve file