Home

LPC / LP4 User Manual

image

Contents

1. message code or selector MSB auth 4 queue 3 0 tag 3 0 4 expl altp pool resp ode memb 6 0 4 retry 3 0 tx timer 3 0 subnet or group et subnet or group node or NEURON ID et subnet node 4 2 Device Status the so called HOST APPLICATION of the Echelon Corp This application is available from the Echelon web site www echelon com 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 cmd 7 4 BYTE len BYTE svc_tag O 7 Service 6 5 BYTE flags prio path cplcode 5 BYTE data_len BYTE format rev domain 7 flex 6 union struct BYTE dom node domain 7 n BYTE rpt retry rpt timer 7 BYTE tx timer 8 BYTE dnet grp destination BYTE nid 6 NEURON ID send struct BYTE snet source subn BYTE snode source node BYTE dnet grp destination BYTE dnode nid 7 destination rev struct BYTE snet source subn BYTE snode source node BYTE dnet destination BYTE dnode destination BYTE group BYTE member BYTE reserved 4 resp adr BYTE code BYTE data 239 Exp
2. OS Version Windows NT 1 0 Address 0 340 DI IRQ E 5 v Cancel Here you can adjust the I O address of the Easylon Interface card and the allo cated interrupt IRQ This driver does not support multiple Interfaces in one computer De installation De installation of the drivers is done via the system control software For this first choose the item Easylon ISA Bus Interface and then click Insert Delete After the de installation the system has to be restarted 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 con cluded 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 memory command the utility will show if the device is running MIP or NSI firmware Properly installed Easylon Interfaces will send a corresponding an swer ES Gesytec 2 zs V3 9 June 2014 Archiv 96A0016E01 Fasvlon ISA Bus Interface User Manual Installation 2 3 4 Note 2 3 5 Note Windows and 16 Bit Applications The Windo
3. ISA Bus Interface The ISA bus interface is implemented as an 8 bit I O interface in accordance with Personal Computer Bus Standard P996 Draft D2 01 This module is assigned four I O addresses For timing reasons the data flow control information NEURON Chip and data driver is not derived from the read and write strobes of the ISA bus but is implemented on an address related basis Two I O addresses are thus reserved for this purpose The PC employs one 8 bit control and status register each in the ISA bus in terface for control and status checking of the NEURON Chip respectively Gesytec S ns V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual 4 3 1 1 O Address Map 002 amp Read Table 4 4 I O address map ISA bus Attention Special addresses for LP42 LP43 Programming Instructions Read data NEURON Chip 002 amp Write Reset interrupt flip flop from NEURON Chip 003 amp Write Write data NEURON Chip 003 amp Read Base address Device 002 amp Write Reset interrupt flip flop from NEURON Chip For NSI write 0 for MIP write 1 Signals for resetting the Interrupt Flip Flop As the bit combination at the same time sets the firmware mode MIP or NSI a special byte must be written when resetting the interrupt flip flop Data bit Description D7 D2 reserved must be written as 0 D1 DO Piesi 10 reserved
4. eee eee eeeeeeeeeeneeceneeneeeneeeeeneees 24 Block diagram Easylon PC 104 Interface rues nets 25 External LED connection for KE oeren 29 External LED connection for LP une ententes 30 of Tables Variants order codes and type identifiers for Easylon ISA Bus Interface 8 Variants order codes and type identifiers for Easylon PC 104 Interface 9 Setting the c rd Ee 12 Connector pin assignments for TP XF and FTT network connection of Easylon ISA Bus ue ide 26 Connector pin assignments for EIA 485 network connection of Easylon IC 26 Connector pin assignment for LP4 Easylon PC 104 Interface 27 Connector pin assignment for LP42 Easylon PC 104 Interface 27 Connector pin assignment for LP43 Easylon PC 104 Interface 28 8 pin connector for external signals of LP43 FBB 28 Serice EK ne nena ere et neE ty ee meer nie errr eeters Tae enr se a we neven wer orate 29 Xif files and interface card VAFAMS diese 33 NEURON Chip address map of MIP P50 variant 34 ES Gesytec 2 ss Archiv 96A0016E01 V3 9 June 2014 am ISA Bus Interface Manual Lists of Figures and Tables Table 4 3 NEURON Chip address map of NSI variant 00 eecceeeecceeeseceeseeeeeeeeeeeneeeeneeees 34 Table 4 4 VO address map ISA bus nr Net 37 Table 4 5 Signal assignments control Wyte sienne sets 38 Table 4 6 Bit D7 D4Oof control Dyte EE 38 Table 4 7 Signal assig
5. ISA bus slots Easylon PC 104 Interface ISA bus Interface card in PC 104 format Easylon PC 104 Interface ver sion LP43 NOTE In this manual both cards are generally referred to as Interface cards If differ ences between the two have to be described they are explicitly referred to as Easylon ISA Bus Interface or Easylon PC 104 Interface Gesytec SS sas V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual an GESYTECI Len L LOLPO MIP Neuror Echelon 3150 Chip TT 4 GESYT C LPCOx HT N 6 1 TPT transformer coupled twisted pair FTT free topology transceiver 2 The Easylon Watcher has been discontinued Gesytec S on iii S A A Product Information Figure 1 1 Easylon ISA Bus Interface 1 Service button 2 Service LED 3 Screw plug terminal TP XF and FTT variants only 4 9 pin D type connector 5 ROM with Echelon s MIP P50 or NSI 6 Type identifier on rear side see table 1 1 7 DIP switches for setting card address 8 Connector for Watcher piggyback module Figure 1 2 Easylon PC 104 In terface version LP43 Type code LP43 xxx 1 Service LED 2 Service button
6. 1 6 Kbytes of resi dent program code 2 Kbytes of output buffer and 2 4 or 8 Kbytes of input buff er 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 pcdrv2 exe A port address Q irg nr or devicehigh path pcdrv2 exe A port address Q irg nr path is describing the location to which the of the driver file was copied The port address is the I O address previously set on the card by means of the DIP switches To set the default port address the IRQ 10 OAh and use the path pro posed above the correct entry here would be device C easylon Ipcdrv2 exe A340 QA ES Gesytec SS 204s V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Installation Options The following options can be used IA IQ This parameter specifies the port address in hexadecimal form It must al ways be set if the default address 340h is not used Addresses which are reserved for standard peripherals COM1 COM4 LPT1 LPT3 floppy disk hard disk video adapter and the I O modules on the motherboard must not be used Any attempt to do so will result in the error message No or invalid port address If the address is valid but no Easylon Interface is installed in the computer or configured for the stipulated address the message is Interface card is not re
7. 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 zs V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Technical Description 3 3 1 3 2 Technical Description This chapter describes the ISA Bus interface card and three generations of the Easylon PC 104 Interface The PC 104 cards can be identified by the type codes LP4 LP42 and LP43 Wherever necessary these names are used to discern them Network Interface The Easylon Interface cards are 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 PC bus in Slave_A mode For monitoring purposes a reset flip flop is additionally implemented on the in terface card a reset of the NEURON Chip can be identified by the PC via a status byte The same mechanism is implemented for the interrupt flip flop In order to visualize the status and to initiate the service function of the node the service pin of the NEURON Chip is available in the front panel with service button and service LED cf Figure 1 2 to Figure 1 4 to activate the function ISA Bus Interface The ISA bus interface has been implemented as an 8 bit I O inte
8. be integrated into the Windows CE image the simplest way is a respective entry in the platform bib file This approach is almost the same for all Windows CE versions ES Gesytec 2 zs V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Installation 2 3 6 2 3 6 1 Foe correct operation the driver requires registry entries These can be found in the file lonusb reg In order to integrate the driver into a Windows CE image the contents of this file has to be copied into the file platform reg LONUSB Driver HKEY LOCAL MACHINE Drivers USB LoadClients 3596 Default De fault LonUsb DLL Lonusb d1ll Prefix LON DebugFlag dword 0 ReadTimeout dword FFFFFFFF 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 applica tions please refer to the LONWoRKS Host Application Programmer s Guide from Echelon The driver can be taken form the CD ROM s DOS directory There are two versions Driver without interrupt lpcdrv exe Driver with interrupt Ipcdrv2 exe The driver files lpcdrv exe or lpcdrv2 exe have to be copied onto the hard disk of your computer e g into a directory named C easylon The network driver for the Easylon Interface cards requires
9. currently acts like NSI gpa 11 EEBLANK Gesytec S 37 45 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual Programming Instructions 4 3 1 1 Signal Assignments Control Byte De M2 Interrupt select see Table 4 6 Interrupt select see Table 4 6 Interrupt select see Table 4 6 NSERV NEURON Chip service pin high active INCF 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 at Power On reset the reset signal to the NEURON Chip and the service pin are not activated 0 1 1 1 1 1 1 1 1 ro Fa ba ro OO CO CO CH x ro bo E E ra ta CO CH x me E ro E ra CO ro OX Table 4 6 Bit D7 D4 of control byte Gesytec S ms V3 9 June 2014 Archiv 96A0016E01 Fasvlon ISA Bus Interface Manual 4 3 1 2 4 3 2 4 4 4 4 1 Programming Instructions Signal Assignments Status Byte D bi Read back D6 of Control register D3 NINT Status of NEURON Chip interrupt flip flop low active D2 NRF Status of NEURON Chip reset flip flop low active WTCHS Watcher handshake low active Do JNHS Neuron Chip handshake low active Table 4 7 Signal assignments status byte Reset Procedure The NEURON Chip starts up automatically when the power of the PC is switched on During operation a har
10. for parameter I are 2 4 or 8 Kbytes ES Gesytec 2 ras V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Installation 2 3 6 2 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 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 with different addresses in the config sys file 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 Network Drivers Installed in the Computer The Ipcdrv exe file can be called from the DOS command line in the same man ner as any program to show all the network drivers installed in the system the appurtenant device names and their storage requirements IR The option R additionally enables modification of the device number Example Ipcdrv r13 changes the name LONI to LON3 If the first device number does not exist or if the second number has already 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 defined by this Easylon
11. xif file is de scribing which interface card variant is explained in table 4 1 below Network Interface Transmission rate XIF file TP XF 78 kbps lolpO72f xif TP XF 1 25 Mbps lolpO73f xif RS485 optically isol 39 kbps lolp074f xif FIT 78 kbps lolpO75f xif Table 4 1 xif files and interface card variants Interface to the Network The different variants of the network interface are each operated directly via the communication port CPO CP4 of the NEURON Chip which is to be configured accordingly for the transmission process concerned Node CPU The interface node is designed on the basis of the NEURON 3150 Chip The standard clock pulse for the processor is 10 MHz Under MIP P50 firmware the processor 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 ISA bus interface The status of the service pin of the NEURON Chip is indicated by a LED The ser vice function can be activated via the button cf Figure 1 1 to Figure 1 4 Gesytec S ns V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual 4 1 2 1 4 1 2 2 4 1 2 3 Note Programming Instructions Coupling NEURON Chip gt ISA Bus Interface The NEURON Chip is coupled in Slave_A parallel mode The handshake bit de fined
12. 3 LON traffic LED RX rot TX gr n 4 Connector LON and shield 5 DIP switches for setting card address 6 PC 104 bus connector 7 Type identifier and serial on connect 8 Connector for external signals Figure 1 3 Easylon PC 104 In terface version LP42 Type code LP42 xxx 1 Service LED 2 Service button 3 LON traffic LED optional 4 Shield 5 block terminal for LON bus pin 1 6 DIP switches for setting card address 7 PC 104 bus connector 8 w wm wm Type identifier and serial on connect 6 45 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual 3 The Easylon Watcher has been discontinued Gesytec S Product Information Figure 1 4 Easylon PC 104 In terface version LP4 Type code LP4 xxx 1 2 3 4 5 6 7 Service button Service LED 10 pin block connector DIP switches for setting card address PC 104 connector Type identifier on rear side see table 1 1 Connector for Watcher piggyback module 7 45 V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Product Information 1 1 Variants The following variants of the Easylon Interface cards are currently available and describe in this manual There are further customer specific versions to which this manual only partially applies Each variant is identif
13. AppBuf licit message bu ExpAppBuf msg out Exp ExpAppBuf msg in Exp ExpAppBuf msg rsp Expl licit message bu icit message bu ES Gesytec 2 E E E er for outgoing messages ffer for incoming messages ffer for response messages 35 45 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual Programming Instructions int ni handle BYT int int 4 3 E my domain 15 0 0 0 0 0 0 0x01 OxC0O 0 OxFF OxFF OxFF OxFF OxFF OxFF send local int len int ldv_err msg out cmq niLOCAL msg out svc tag DVC request msg out flags 8 msg out len len 15 msg out data len len 1 if ldv_write amp msg out len 17 return 0 while 1 ldv_err ldv_read amp msg_in 256 Et lov err LDV OK if msg_in cmq niRESET return 0 Local reset if msg_in cmq niRESPONSE memcpy amp msg_rsp amp msg_in msg in len 2 return 1 Ok return 0 set config online msg out code NM update domain msg out data 0 0 Domain index 0 memcpy amp msg out data 1l amp my domain 15 Subnet 1 Node 64 if send_local 16 return 0 msg out code NM set node mode msg out data 0 3 Change state msg out data 1 4 Configured online if send_local 2 return 0 return 1 Success
14. 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 www gesytec com Doc ID 96A0016E01V3 9 Date June 2014 User Manual Easylon ISA Bus Interface Easylon PC 104 Interface De Gesytec SS V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Foreword This manual provides you with all the information which you will need to use the Easylon ISA Bus Interface and Easylon PC 104 Interface cards However this manual will neither explain aspects of Echelon s LONWoRKS technology nor Echelon s Microprocessor Interface Program MIP or Network Service Interface NSTI used on theses network interface cards The interface card network drivers have been designed in accordance with the driver specifications of the Echelon Corporation They are not explained in detail in this manual For further information on the LONWORKS technology please refer to the extensive documentation provided by Echelon Especially Echelon s LONWORKS Host Application Programmer s Guide will be required if applications are to be de veloped using Gesytec s Easylon ISA Bus or PC 104 Interface cards as a network interface After a general presentation of both Easylon Interface cards in Chapter 1 Chapter 2 describes the necessary steps to install the cards Chapter 3 contains a general technical description Chapter 4 Programming Instructions
15. P P10605 FTX 78 kbps IDC Sparc gaps P P10615 P P73106 FT X1 78 kbps IDC bent 90 Isolation up to 1 KV sparc gaps common mode choke cf Table 1 2 for variant identifiers on the card 3 9 Electromagnetic Compatibility The Easylon ISA Bus Interface and the Easylon Interface cards are CE certified products and meet the intent of Directive 2004 108 for Electromagnetic Compat ibility To ensure electromagnetic compatibility under operation in accordance with the above mentioned EEC directive the ferrite core enclosed in the delivery must be mounted around the interface cable to the LON network The ferrite core must be mounted close to the connector on the board end side of the cable The distance between the ferrite core and the connector on the board must not exceed 10 cm ES Gesytec SS 32 45 V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface Manual 4 4 1 Programming Instructions Programming Instructions This chapter gives programming instructions to both the Easylon ISA Bus Inter face and Easylon PC 104 Interface They are generally referred to as interface card or interface node LONWORKS Network Node The Easylon Interface card is a network node in the LON network It is operated under Echelon s Microprocessor Interface Program MIP P50 or with NSI firm ware using the NEURON 3150 Chip as communication processor The appropriate external interface files xif are on the installation disk Which
16. amp rLen NULL Parameter Type Description ni_handle HANDLE file handle of the LON device pMsg void pointer to an explicit message buffer len DWORD length of the buffer bytes rlen DWORD length of the received telegram bytes WriteFile Writes a telegram according to the application layer format This function returns immediately Syntax WriteFile ni handle pMsg len amp rLen NULL Parameter Type Description ni_handle HANDLE file handle of the LON device pMsg void pointer to an explicit message buffer len DWORD length of the buffer bytes rlen DWORD length of the telegram to be send bytes The telegram according to the application layer format contains a length infor mation of the buffer itself That is why we ignore the parameter len in the use of function ReadFile and WriteFile Note Use the maximum length 256 bytes of the buffer while reading a telegram ES Gesytec 2 ss V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual 4 4 5 GetVersion Programming Instructions Returns the version number of the driver as unicode string e g TEXT LPCDRV v1 00 Syntax define IOCTL GE TVERS result Devic szinfo sizeof s Parameter Type zInfo ni_handle HANDLE szInfo TCHAR BytesReturned DWORD Return value Type Result BOOL 4 4 6 Watcher ON 0x43504C00 IoControl ni handle IOCTL GETVERSION amp NULL 0 BytesRetu
17. bit Windows chapter 2 3 4 Windows CE x86 chapter 2 3 5 DOS Driver chapter 0 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 system from Windows XP onwards This setup will install the same driver for all operating systems Windows Driver Model Finally de installation of the driver is explained Installation As these Easylon Interfaces are no Plug and Play devices the driver must be in stalled manually The setup is either started by following the guidance given by the CD or by selecting the directory Lpclpp on the Drivers amp Documentation CD and starting the file FastInst exe ES Gesytec 2 ns Archiv 96A0016E01 V3 9 June 2014 am ISA Bus Interface User Manual Installation The driver will be installed after a few seconds with its standard settings If you want to install more than one board start FastInst exe the appropriate nu
18. by the NEURON Chip NHS to control the data flow can be checked via the status byte of the Easylon ISA Bus Interface Please refer to the NEURON 3150 Chip data book with regard to the data communication mechanisms in Slave_A mode Interrupt Function NEURON Chip ISA Bus 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 accesses to an I O ad dress Read back of 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 Read Write SRAM 24 Kbytes data memory E000 E7FF amp Write Set interrupt flip flop E800 FFFF NEURON Chip internal Table 4 2 NEURON Chip address map of MIP P50 variant Address range 0000 C2FF amp Read ROM 48 75 Kbytes program memory C300 E6FF amp Read Write SRAM 9 Kbytes data memory E700 E7FF amp Write Set interrupt flip flop E800 FFFF NEURON Chip internal Table 4 3 NEURON Chip address map of NSI variant Setting of the interrupt flip flop is data independent Gesytec S ns V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface Manual Programming Instructions Applications have to take care of the status of the Easylon Interface card As an example some parts of code are shown below The structures used are taken from
19. changes to hibernate or standby mode This can be turned off by selecting None 2 3 1 4 De installation De installation uses the Windows Device Manager Select the driver Gesytec LPCxxx under LON Adapters with the right mouse key and choose de install 2 3 2 Windows 95 NT Driver This section describes the driver setup for the Easylon Interface cards for the Windows 95 and Windows NT operating systems The Setup program will automatically install the network driver required by the computer s operating system Finally the de installation procedure of the network driver is explained 2 3 2 1 Installation The setup can be started automatically from the user interface of the Easylon Drivers amp Documentation CD ROM You can as well start the setup from the CDs file system Go to the Setup directory and the sub directory belonging to the Easylon Inter face board Easylon PC PC 104 Interface 95 NT Start the file Setup exe 6 The Easylon Watcher has been discontinued Gesytec S 1746 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Installation NOTE 2 3 2 2 2 3 3 During the installation you will be asked to specify the path for the installation of the utilities and demo sources Optionally you can accept the suggested path or may specify your own At the end of the setup the following dialogue will appear Easylon PC Driver configuration 1 63 xi
20. contains the information which will be of importance should you wish to develop your own network driver software for one of the Easylon Interface cards 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 LONWORKS 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 ISA Bus Interface card and the Easylon PC 104 Interface card incorporate the MIP P50 or NSI programs from the Echelon Le The aforesaid company holds all rights relating to this software Gesytec S d V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Contents Contents 1 Product Information ss eege vcesvassbessscGosecensssesccuesetacesssbetesuudonedsapeostee 5 1 1 KT EE 8 1 2 Scope of ely Ory une une aa ERE aE aE EA aaae 10 1 3 see ee 10 2 Installation sesisn scecssavcnscsssnadeaccvatwaedconscsestasivensasvacssuescneedevasssducasdsensssseesnteessaessevaacaantenesesedsans 11 21 Settin
21. dware 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 con trol bit NCF When NCF is hold low the reset flip flop is deactivated NCF 0 Windows CE Application Interface CreateFile Opens a LON device Syntax ni handle CreateFile szDevName GENERIC READIGENERIC WRITE 0 NULL OPEN EXISTING 0 NULL Parameter Type Description SzDevName TCHAR Device name e g TEXT LON1 ES Gesytec 2 ss V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual 4 4 2 4 4 3 4 4 4 Remark Programming Instructions Return value Type Description ni_handle HANDLE file handle of the LON device or INVALID HANDLE VALUE CloseHandle Closes a LON device Syntax CloseHandle ni_ handle Parameter Type Description ni_handle HANDLE file handle of the LON device that should be closed ReadFile This synchronous function reads a telegram according to the application layer format Synchronous means the function returns only if the NEURON received the telegram Syntax ReadFile ni handle pMsg len
22. ection Code interface mission type rate P P10001 TP XF 78 kbps 9 pin D type plus Sparc gaps P P10011 2 pin screw plug P P11001 terminal P P10002 TP XF 1 25 9 pin D type plus Sparc gaps P P10012 Mbps 2 pin screw plug P P11002 terminal P P10003 EIA 485 39 kbps 9 pin D type secondary protec P P10013 electr isol tion by Zener di P P11003 odes P P10004 FTT 78 kbps 9 pin D type plus Sparc gaps P P10014 2 pin screw plug P P11004 terminal cf Table 1 1 for variant identifiers on the card Easylon PC 104 Interface Dimensions 90 2 mm x 95 7 mm for PC 104 computers Temperature extended range operation storage EMC Compatibility 40 C to 85 C 40 C to 85 C EN 55 022 A B EN 61 000 2 EN 50 155 for versions with extended temperature range must be verified with respect to target sys tem 31 45 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Technical Description Network interface Order code Network Trans Network Protection interface mission connector type rate P P10101 TP XF 78 kbps IDC Sparc gaps P P10111 P P11101 P P10601 P P10611 P P10102 TP XF 1 25 IDC Sparc gaps P P10112 Mbps P P11102 P P10602 P P10612 P P10603 RS485 39 kbps IDC Zener diode P P10613 electr isol P P10104 FTT 78 kbps IDC Sparc gaps P P10114 P P11104 P P10604 P P10614 P P10605 Direct 1 25 IDC Diode P P10615 Connect Mbps
23. ection for LP42 7 boards are delivered Oe Gesytec S 24s V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual 3 8 3 8 1 Technical Description 1 3 470 Q Service Service LED button 77 gelb 2 4 yellow 5 8 470 Q 470 Q Rx LED Tx LED Rot 7 6 red Gr n 10 green hr 8 mA max Figure 3 4 External LED connection for LP43 Technical Specification General Bus Interface T O addresses Control register Status register Interrupts CPU Coupling Memory MIP P50 NSI Voltage SS Gesytec S 8 bit data I O in accordance with Personal Computer Bus Stand ard P996 PC 104 Specification Version 2 3 4 settable via DIP switches 8 bit n8 bit 3 5 7 9 10 11 12 15 software selectable NEURON 3150 Chip 10 MHz LP43 20 MHz parallel Slave_A mode ROM 32 Kbytes RAM 24 Kbytes ROM 48 75 Kbytes RAM 9 Kbytes 5 V from PC 30 45 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual 3 8 2 3 8 3 ES Gesytec SS Power consumption Temperature operational non operational Compatibility Humidity Technical Description typical 1 5 W 0 C to 50 C 20 C to 60 C LonTalk ISO TEC 14908 according to DIN 40040 class F Easylon ISA Bus Interface Dimensions 160 mm x 107 mm for short 16 bit ISA slot EMC ENS5008 1 1 EN50082 1 Network interface Order Network Trans Network connector Prot
24. g the VO E snsspscsvsvanansanveaiacunecasasgcnaateeusacdsnetaveatesvstoatesemagcorvesnacenans 11 2 2 Insertion of the CAM nm des 12 2 2 1 Mounting the Ferrite COM antennes eege 12 27 Installation of the Network EE nent 13 2 3 1 Driver for Windows Operating System WDM Drivers 13 eM Installato EE 13 2 312 e 15 231 3 ue 15 E RE e E 17 23 2 WIDOWS 95 FIN NR Ae 17 Ge e A Installations EE 17 2322 dree 18 2 3 3 EasyCheck Test Utility for Windows Drivers essessesssesrseseerrssrserrsressrsereereess 18 2 3 4 Windows and 16 Bit Applications eseesseeesessessssersseseresressrseresressrnrresresseseresrenes 19 2 35 Windows CE Ke 19 2X0 DOS D VER eebe 20 230 1 EE 20 2 3 6 2 Display of Network Drivers Installed in the Computer 22 3 Technical Description seesseessooesoosssocessecssocesocesooessoessseessccsscosscosesocsssesssocesocesoosssoessseessoee 23 3 1 Network ee ET 23 3 2 ISA Bus MMeTHACS 5 damien neue iid iiaa 23 3 3 Reset Procedure Systeme Gold ui 24 3 4 Block Diagram eee ee Een 24 3 5 Connector EE 26 3 5 1 Easylon ISA Bus Interface ternnennntineniidieerenlenniremitiatusse 26 33 2 Easylon PC 104 tere sonne EEN 27 3 6 Service LED eege 28 3 7 Connecting External C DE ee ee ees 29 3 8 Technical ZER ees either diet una 30 Gesytec S d V3 9 June 2014 Archiv 96A0016E01 Fasvlon ISA Bus Interface User Manual Contents 3891 CO a a tees 30 3 0 2 Easylon ISA Bus Interface sisi svensdacesavseaceuansseave
25. iable by a type code sticker on the rear of the card Type Code Order Code Network Interface em ISA Bus Interface LPCAA Jee ert ween LPC AB eru ert MIP P50 Watchert LPCAC Jee Terre O Table 1 1 Variants order codes and type identifiers for Easylon ISA Bus Interface 4 The Easylon Watcher has been discontinued Gesytec S d V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Product Information Type Code Order Code Network Interface Variants Version LP43 LP43 FBB P P73106 FT X1 MIP P50 ext temp coating Version LP42 LP42 BA Ieren Term MIP P50 LP42 BC ergett se st MIP PSO NSI MIP PSO LP42 EC _ P P10615 LP42 FA __ P P10606 LP42 FC __ P P10616 LA Jam LPAAB rm LPAAC ra LPAAD fepni LPABA rm LPABB remm LPABC rm Im remm Leaca ra LO rm Inc ra NSI LP4 CD P P11112 TP XF 1250 Watcher Table 1 2 Variants order codes and type identifiers for Easylon PC 104 Interface 5 The Easylon Watcher has been discontinued abe AAA EE D EN Gesytec 2 d V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Product Information 1 2 1 3 Scope of Delivery PC plug in card with Echelon s MIP P50 or NSI firmware Installation and Documentation CD including network drivers for 32 bit and 64 bit versions of Windows XP Vista 7 Server 2003 2008 2008 R2 Easylon RNI Software for remote LONWORKS access EasyCheck uti
26. 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 Adapter 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 es V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Installation 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 NOTE The Debug Output can be displayed using for example the program De bugView available at www sysinternals com Firmware The options MIP NSI or EEBLANK are displayed These settings are for future releases and do not have any effects now Permitted Power Saving Usually the Easylon Interface allow the standby mode as well as the hibernate mode In certain operating conditions it can lead to errors if the PC with a LON application running
27. it data inter PC 104 connector Figure 3 2 Block diagram Easylon PC 104 Interface ab Gesytec 2 25 45 V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Technical Description 3 5 NOTE 3 5 1 Connector Pin Assignments For EMC reasons the cable used for network connection must be fitted with the ferrite core see 2 3 This is independent of which connector on the board is used Easylon ISA Bus Interface The Easylon ISA Bus Interface provides 9 pin D type connectors Figure 1 1 4 for network connection In the TP XF and FTT variants the card is addition ally equipped with a 2 pin screw plug terminal Figure 1 1 3 which can be used alternatively 9 pin D type Data Data Reserved Reserved Reserved Reserved Reserved Reserved 1 2 3 4 5 6 7 8 9 Reserved 2 pin screw plug Data Data Terminal Data Data Table 3 1 Connector pin assignments for TP XF and FTT network connec tion of Easylon ISA Bus Interface Reserved N e 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 of ISA Bus Interface Gesytec S 2s V3 9 June 2014 Archiv 96A0016E01 Fasvlon ISA Bus Interface User Manual 3 5 2 Easylon PC 104 Interface Technical Description The Easylon PC 104 Interface has one 10 pin block ter
28. l LEDs Connector Pin Signal Remark External signal 1 dig GND connector Signal Figure 1 2 8 2 Service Tast cf chapter 3 7 er 3 dig GND 4 Service LED cf chapter 3 7 5 dig GND 6 RX LED LON traffic cf chapter 3 7 7 dig GND 8 TX LED LON traffic cf chapter 3 7 9 dig GND 10 VCC 5V Table 3 6 8 pin connector for external signals of LP43 FBB 3 6 Service LED The service LED Figure 1 1 2 and Figure 1 4 1 signals the card status Ad ditional to the service LED signals defined by Echelon following status signals are defined Gesytec S 2s V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Technical Description 3 7 Service LED Status Remarks Flash 1 Hz No driver installed or Check the driver settings IRQ driver conflict 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 7 Service LED Connecting External LEDs This option is available with the LP42 xxx and LP43 xxx types of the Easylon PC 014 Interface The connection type depends on the transceiver used on the card 3 Rx Co FFT 10 5 LED max 20 mA GND 5 V FTX a 3 Rx 5 Tx LED max 8 mA Wei GND Figure 3 3 External LED conn
29. lity for Easylon Interfaces WLDV32 DLL Documentation in Adobe Acrobat PDF format Overview The Easylon Interface cards are a cost effective link between a standard PC or a PC 104 computer and the LON network They provide one interface to the net work Variants are available for connection via transformer coupled twisted pair TP XF free topology FTT FTX smart direct connect transceivers and for EIA 485 serial connection Firmware is alternatively MIP P50 or NSI While MIP is the cheaper solution of fering more memory NSI will only be needed if LNS is used The Easylon ISA Bus Interface card is provided with a service button and LED In the TP XF and FTT variants this card is equipped with two connectors either of which can be used 9 pin D type connector 2 pin screw plug terminal Connection to the Easylon PC 104 Interface is made by a 10 pin block connector Service button and LED are available on this card as well Optionally using LP42 cards the signals can as well be used externally The PC 104 card is as well available in version for extended temperature range Furthermore there are version with a protective coating These versions comply with the standard relevant to railway technology As an alternative solution to the standard LonTalk adapters described in this doc umentation there is a modern solution available with the Easylon Interfacest Especially in more demanding applications these ISO IEC 14908 ba
30. mber of times and change the resources manually The Easylon Interfaces driver will installed with the following standard configu ration I O address range 340 344 IRQ 5 If the Easylon Interface is to use different resources these have to be set manual ly using the PCs device manager Gesytec LPC340 Properties xi General Advanced Driver Resources Ha Gesytec LPC340 Resource settings Resource type Setting M Input Output Range 0340 0343 M Interrupt Request 05 Setting based on Basic configuration 0001 J Use automatic settings Change Setting Conflicting device list Alternative Installation methods Alternatively you may use the Windows Hardware Assistant for driver installa tion However this may require stepping through up to 15 dialog boxes If you are using this method anyway please select the setup file LpcWdm inf and the Gesytec LPC WDM Driver ISA PC 104 driver One advantage you will get using this method resource selection will be made during the installation procedure ES Gesytec 2 nas Archiv 96A0016E01 V3 9 June 2014 am ISA Bus Interface User Manual Installation 2 3 1 2 2 3 1 3 Update In case you want to update an existing driver start FastUpd exe from the Lpclpp directory on the CD ROM A new version will be installed from CD within a few seconds Parameter Setting Certain operating conditions may require special settings f
31. minal for LON network connection some customized version may have different connectors However there are differences with the card generations concerning the signals available pin Pin D OY A J rT e ee oe ne Pin 1 position D IA Un P D 10 pin block Table 3 3 Connector pin assignment for LP4 Easylon PC 104 Interface Reserved Reserved Reserved Reserved Reserved Reserved LON A Reserved LON B Reserved Connector Pin Signal Remark 10pin LON con option external Service LED nector 1 SERVICE 3 3 V 10 mA High ON 2 Reserved option 3 RxLED LON traffic Rx 4 Reserved option 5 TxLED LON traffic Tx 6 Reserved 7 Data LON A 8 Reserved 9 Data LON B 10 Shield Shield Table 3 4 Connector pin assignment for LP42 Easylon PC 104 Interface Gesytec S 27 45 V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Technical Description Connector Pin Signal Remark 10pin LON 1 Data LON A Connector 2 Data LON A Figure 1 2 4 3 nc frei 4 nc frei 5 Data LON B 6 Data LON B 7 nc frei 8 nc frei S EE Protective ground must be conneted 10 shield mes Table 3 5 Connector pin assignment for LP43 Easylon PC 104 Interface The LP43 FBB variant has a connector to lead out external signals Further de tails cf 3 7 Connecting Externa
32. nments status Edge 39 ES Gesytec 2 ss V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface d Index xif file 11 33 Firmware 17 16 bit applications 19 humidity 31 Adapter Name 16 T O address 11 20 30 base address 11 T O address map block diagram 24 ISA bus 37 CE 12 32 T O ports 33 configured 11 input buffer 21 control byte 38 installation 13 17 20 CPU 30 33 Installation 11 Debug Flag 16 interrupt 20 de installation 17 18 interrupt 34 device number 21 22 IRQ 14 dimensions 31 IRQ number 21 DIP switches 6 7 11 ISA bus interface 23 33 driver 13 36 DOS 20 Lon Adapter 16 Windows 95 17 memory 30 Windows NT 17 MIP P50 10 23 D type connector 6 7 26 multiple cards 22 EasyCheck 18 network driver 20 22 EIA 485 26 31 network interface 23 33 electromagnetic NEURON Chip address map compatibility 12 32 MIP P50 34 EMC 26 NSI 34 error messages 21 22 NSI 10 23 FastInst 13 order codes 8 9 FastUpd 15 Permitted Power Saving ferrite core 12 26 17 ES Gesytec SS Index power consumption 31 programming instructions 33 reset 24 39 screw plug terminal 6 7 26 service button 6 7 23 service LED 7 23 28 Service LED 6 service pin 23 33 Service Taster 6 signal assignments 38 39 status byte 39 technical specification 30 temperature 31 extended 31 transmission rate 31 32 type identifier 6 7 unconfigured 11 update 15 variants 8 9 Watcher 6 7 Windows 95 17 CE 39 CE 19 NT 17 45 45
33. ns 31 3 8 3 Easylon PO 104 Interi aCe onenari a E ee 31 3 9 Electromagnetic Compas ennennma teen 32 4 Programming Instructions 0iscsassersseessosssosssvesonsenssonsssonacesssvdsvnasosessnsensdennsonisoonsoonssuessoe 33 4 1 LION WORKS Network Node ia iwg gieesgteegegee ieresdee eenegen ege degen deeg 33 41 1 Interface to the NEEN intenses Age 33 4 1 2 NOUS EE 33 4 1 2 1 Coupling NEURON Chip gt ISA Bus Interface 34 4 1 2 2 Interrupt Function NEURON Chip ISA Bus 34 4 1 2 3 NEURON Chip Address Map iia osccetc2sestpeaiiascciiaedagdeetbedensscteednccce ieee 34 4 2 Device SUIS ane de nent 35 4 3 ISA BUS IntetfaC audience 36 4 3 1 NVO Addre ss rn ea es de aaa ese 37 4 3 1 1 Signal Assignments Control Byte ccesccesececeseeseeceencesneneceeescenteceenneesenteaes 38 4 3 1 2 Signal Assignments Status Bytes 39 43 2 Reset Procede sin added enibi nee 39 4 4 Windows CE Application Interface keen 39 BAA CreateFile sainia a a Ea a a E aaa aie 39 a E E A0 44 3 ET 40 ON TT 40 BAS GOCY COSI OM Hentai islam a 41 446 WON MGR nan nl naine 41 4 4 7 ReadFile with Timeout EE 42 D ASC OT UU E 43 6 Listof KT 43 F AMGEX E EE EEE E E EAE E EAEE EE A SE TTT 45 ES Gesytec SS aas Archiv 96A0016E01 V3 9 June 2014 Fasvlon ISA Bus Interface User Manual Product Information 1 Product Information Two Easylon Interfaces cards are described in this manual Easylon ISA Bus Interface plug in card for short 16 bit
34. o receive a telegram Timeout INFINITE function works as synchronous function see also func tion ReadFile Syntax define IOCTL READ 0x43504C02 result DeviceIoControl ni handle IOCTL READ pMsg len amp timeout 4 amp rLen NULL Parameter Type Description ni_handle HANDLE file handle of the LON device timeout DWORD Timeout Milliseconds pMsg void pointer to an explicit message buffer len DWORD length of the buffers bytes Return value Type Description Result BOOL TRUE if telegram was received was FALSE at timeout Undefined IOCTL Codes will return FALSE ES Gesytec 2 sas V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface Manual Lists of Figures and Tables 5 List Figure 1 1 Figure 1 2 Figure 1 3 Figure 1 4 Figure 2 1 Figure 2 2 Figure 3 1 Figure 3 2 Figure 3 3 Figure 3 4 6 List Table 1 1 Table 1 2 Table 2 1 Table 3 1 Table 3 2 Table 3 3 Table 3 4 Table 3 5 Table 3 6 Table 3 5 Table 4 1 Table 4 2 of Figures Basylon ISA Bus Merad entend a 6 Easylon PC 104 Interface version LP43 siccicici cocci ecteecdnaionedensdecticessansecentietdasees 6 Easylon PC 104 Interface version LP42 AA 6 Easylon PC 104 Interface version LP4 ccscccsseccecasscessscssssscessscnceeasesecacassvancensecs 7 IR e 11 Mount ferrite core close to connector eee eeseeeeeceseeeeeeceseceeeeseeesaeessaeeneensaes 12 Block diagram Easylon ISA Bus Interface 0
35. onnector pin assignment Mounting the Ferrite Core The Easylon Interface cards are CE certified products and meet the intent of Di rective 2004 108 for Electromagnetic Compatibility To ensure electromagnetic compatibility in accordance with Directive for opera tion of the cards the ferrite core enclosed in the delivery has to be mounted around the interface cable to the LON network Please put the ferrite core around the interface cable next to the connector on the board end side see Figure 2 2 The distance between the ferrite core and the connector on the board must not exceed 10 cm Ensure if necessary that it will stay in place Figure 2 2 Mount ferrite core close to connector ES Gesytec SS 124s V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Installation 2 3 2 3 1 2 3 1 1 Installation of the Network Driver 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 dows CCE Linux and MS Dos Latest driver versions you can download via the Easylon Support pages of our web site www gesytec com Installation is described in the following sections Windows operating systems chapter 2 3 1 Windows 95 NT chapter 2 3 2 16 Bit driver under 32
36. or the Easylon Inter faces In the Device Manager select the respective interface board under LON Adapters and modify the settings B Device Manager Of x Action view e ol Reg ag m Computer Disk drives Display adapters 4 DYD CD ROM drives 3 Floppy disk controllers 9 Floppy disk drives SS IDE ATA ATAPI controllers Keyboards ES LON Adapters ES Gesytec LONUSB1 1 1 G 6 6 6 6 6 6 6 ER Gesytec LPPO 14 T Mice and other pointing devices Monitors 89 Network adapters d Ports COM amp LPT g Sound video and game controllers m System devices Universal Serial Bus controllers BB The Advanced TAB allows setting of individual properties ES Gesytec SS zs Archiv 96A0016E01 V3 9 June 2014 am ISA Bus Interface User Manual Installation Gesytec LPC340 Properties EI 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 Cc Ge Not Present Permitted Power Saving Lon Adapter You can assign a name LON1 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 start NOTE
37. rface in accord ance with Personal Computer Bus Standard P996 Specialties of the PC 104 In terface are covered by the PC 104 Specification Version 2 3 The Easylon Interface cards are assigned four I O addresses on the ISA bus The base address of this I O range is set via DIP switches cf Chapter 2 1 Setting the I O Addresses Two addresses are used for data communication between PC and network node while two further addresses are available for status checks and to control the NEURON Chip and the other for the watcher module ES Gesytec SS zs V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Technical Description 3 3 Reset Procedure System Control Reset of the NEURON Chip of the Easylon Interface cards can be initiated from the computer with a program controlled function After a system reset the NEURON Chip starts up automatically 3 4 Block Diagram 9 pin D type screw plug terminal transceiver module service button LED i Neuron memory watcher 3150 Chip ROM SRAM host interface PC ISA 8 bit data inter ISA slot 16 bit Figure 3 1 Block diagram Easylon ISA Bus Interface Gesytec S zaas V3 9 June 2014 Archiv 96A0016E01 ET ISA Bus Interface User Manual Technical Description 10 pin block terminal transceiver module service button LED Neuron 3150 Chip oscillator memory ROM SRAM host interface PC ISA 8 b
38. rned NULL Description file handle of the LON device Buffer for version string length of the string bytes number of characters 1 2 Description FALSE if buffer is too small else TRUE Depending on the buffer contents several watcher commands including down load of firmware for watcher module are initiated Syntax define IOCTL WATCHER result Devic 0x43504C01 IoControl ni handle IOCTL WATCHER inbuffer sizeof inbuffer outbuffer sizeof outbuffer amp BytesReturned Parameter Type NULL ni_handle HANDLE outbuffer BYTE inbuffer BYTE BytesReturned DWORD Return value Type Result BOOL ES Gesytec SS Description file handle of the LON device pointer to the buffer that contains the com mands and data to send to the watcher pointer to the buffer that contains the data sent by the watcher number of bytes which are received by the watcher OK if BytesReturned gt 2 Description FALSE if no Watcher was found else TRUE 41 45 V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface Manual 4 4 7 Remark Programming Instructions ReadFile with Timeout Reads a telegram according to the application layer format The Timeout pa rameter determines the functions behavior acts while the receive buffer is empty Timeout 0 function returns immediately Timeout n function waits n milliseconds t
39. sed Lon Works compatible network interfaces offer many advantages Find more infor mation at www gesytec com ES Gesytec 2 104s V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Installation 2 Note 2 1 Installation Installation of both types of the Easylon Interface cards is carried out in three steps 1 Setting the I O address of the card 2 Insertion of the card 3 Installation of the desired network driver The Easylon Interface cards are delivered in status unconfigured Prior to using it as a LON network interface it has to be set configured Standard applications available from the market such as network management tools automatically set this status or offer an appropriate command For customer specific applications which shall use the Easylon Interface cards the status setting has to be taken care of Chapter 4 gives further hints on this subject The external interface files xif for the different card variants can be found in the XIF directory of the installation CD Table 4 1 references the different file to the interface card variants Setting the I O Addresses Both the Easylon ISA Bus Interface and the Easylon PC 104 Interface are as signed four I O addresses on the ISA bus of the PC The base address of this I O range is set via DIP switches cf Figure 1 1 to Figure 1 4 Before setting the base address establish which address range is available on your computer in i
40. sponding only valid for lpcdrv2 exe This parameter specifies the IRQ number in hexadecimal notation It must always be set if the default IRQ 5 is not used The following IRQs can be used 3 5 7 9 A B C or F If an invalid IRQ is entered the following error message will be displayed Error Only IRQ 3 5 7 9 A B C or F allowed 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 assigned the smallest free number 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 Increasing the input buffer The input and output buffers of the Easylon ISA Bus 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 default approx 50 100 messages per buffer should be quite ad equate in most cases However should it be necessary to store an even larg er number of incoming messages the input buffer can be increased Valid values
41. ts current configuration From left to right the switches define address bits 1 8 12345678 address bits 9 and 10 are set to 00 and can t be set by the z e E e a e I user When a switch is in its upper position ON the ad dress bit is defined as 1 in the lower position the address OFF Figure 2 1 DIP switches bit is defined as OT The setting shown in Figure 2 1 corresponds to I O base address 340 11 0100 0000 ES Gesytec SS 114s V3 9 June 2014 Archiv 96A0016E01 am ISA Bus Interface User Manual Installation 2 2 2 2 1 Examples Ad A9 AS A7 A6 A5 A4 A3 A2 dress 200 1 0 10 jO 10 O JO 10 300 1 1 O JO 10 O JO 10 320 1 1 O JO 1 O JO 10 340 1 1 0 1 0 10 JO 10 380 1 1 1 JO 0 10 JO 10 Table 2 1 Setting the card address Insertion of the Card Prior to inserting the interface cards read the Mounting instructions enclosed in the delivery When inserting the Easylon ISA Bus Interface card or the Easylon PC 104 card in your computer please be sure to observe all the computer manu facturer s instructions regarding the insertion of additional interface cards Insert the Easylon ISA Bus Interface card into an available 16 bit ISA slot Plug the Easylon PC 104 Interface into the PC 104 bus connector Connect the interface card with an appropriate cable to the LON network Please refer to Section 3 5 for information regarding the c
42. ws 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 Device SystemRoot system32 Ipxdos exe Llpcwdm340 A more specific definition of the 32 bit LON device used is made by optional pa rameter Lname name Ipcdrv for device EasyLPC number 1 Two subsequent I characters have to be entered one indicating the parameter L the second as first character of the name LIxxxx A more specific definition of the 16 bit LON device used is made by optional pa rameter Dn with n 1 9 for LON1 to LONG Without this parameter the interface will be assigned the first unused name start ing with LONI Windows CE Driver The Windows CE driver has been designed for x86 processors Variants for other processors can be realized on request There are versions for Windows up to CE 6 0 Prior to using the interface please check if your Windows CE system supports USB For instance you could connect a standard USB device like mouse key board or memory stick The Windows CE driver comes is a DLL named lonusb dll Like all Windows CE drivers it must be in the Windows directory of your system The required files can be found on the Driver amp Documentation CD under Drivers Windows CE If the driver has to

Download Pdf Manuals

image

Related Search

Related Contents

Samsung YP-K3QB manual de utilizador  Fotómetro COD de alto rango  Intelli-Time® Digital Clock  3602 User Manual - Sealevel Systems, Inc  Produits & Services Emerson Network Power Industrial  Lab 4: Simple MicroBlaze Hardware Design  Article du Franc-Montagnard, Fête de la nature 2014  NOTICE ZE810  WB-1540  Espressomaschine SEM 1100 A2  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.