Home

Easylon USB Interface User Manual

image

Contents

1. pm Interface User Manual Product Information Service LED Status Remarks Flash 1 Hz No Neuron communica tion Error perhaps EEBLANK required or USB not connected or driver not loaded 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 check USB side check Windows device manager for driver Table 1 2 Service LED USB Side Significant feature on the USB side is the USB socket The red and green LED next to it indicate the following Green blinking Red ON in normal operation error e g after reset If both LEDs are off the module is out of operation Figure 1 4 USB side connectors and LEDs 1 Error LED red 2 Status LED green 3 USB socket USB series B 2 device is delivered unconfigured ex Gesytec SS 8 28 LPU UserDoc LPU_Manual E_V3 7 doc 2 2 1 2 2 Note pm Interface User Manual Installation Installation Please check the delivered items You must find the Easylon USB Interface an USB connector cable and an installation CD also containing the documentation Hardware Installation Connect the USB socket of the Interface module to an USB port of the PC using the cable delivered with the device cf Figure 1 4 3 Connectors can be iden tified
2. Install Hardware Device Drivers et A device driver is a software program that enables a hardware device to work with I an operating system This wizard will complete the installation for this device oy USB Device A device driver is a software program that makes a hardware device work Windows needs driver files for your new device To locate driver files and complete the installation click Next What do you want the wizard to do Display a list of the known drivers for this device so that can choose a specific driver lt Back Cancel The option search for a suitable driver for my device must be selected as Windows does not yet know a driver for the Easylon USB Interface Please con tinue by clicking the Next gt button Found New Hardware Wizard Locate Driver Files on Where do you want Windows to search for driver files I Search for driver files for the following hardware device gt USB Device The wizard searches for suitable drivers in its driver database on your computer and in any of the following optional search locations that you specify To start the search click Next If you are searching on a floppy disk or CD ROM drive insert the floppy disk or CD before clicking Next Optional search locations I Flopp d I CD ROM drives I Specify a location I Microsoft Windows Update lt Back Cancel As the driver is on a CD check the CD ROM drives option Cl
3. 2 2 1 2 Note 2 2 1 3 The device is now ready to access the LONWORKS network The USB Interface module can be connected to the LONWoRKS network either using the RJ45 jack or the 3 pin screw plug socket Pin assignment can be taken from Figure 1 3 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 LonUsb folder of the CD ROM In order to update the firmware in the device as well you must disconnect the USB Interface and reconnect it again The same program you will use to update an existing driver Manual update If you have already an older version of the LON USB driver installed you must completely de install it prior to installation of a new driver Please follow the in structions in chapter De Installation Parameter Setting There are further settings available for the Easylon USB interface which may be helpful in certain operating conditions They can be found in the Universal Serial Bus Controller section of the device manager Select the properties of the desired device 8 Device Manager BEI Eg aton view gt i DG 2 a ang 4 S TEST o BR Computer H Disk drives H Display adapters I 23 DVD CD ROM drives Floppy disk controllers H Floppy disk drives H 6 IDE ATAJATAPI controllers ER Keyboards LON Adapters BB Gesytec LPC340 BM Gesytec LPPO 14 Mice and othe
4. by the sticker at the device bottom cf Figure 1 2 After installing the drivers as described in the chapter below connect the USB device to the LonWorks network using either the RJ45 jack or the 3 pin screw plug connector which can be used alternatively cf Figure 1 3 1 2 Driver Installation Drivers for different operating systems are available for the Easylon PCIe 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 a Windows CE driver is available Latest driver versions you can downloadvia the Easylon Support pages of our web site www gesytec com Installtion is describe in the following sections Windows operating systems chapter 2 2 1 16 Bit driver under 32 bit Windows chapter 2 2 2 Windows CE x86 chapter 2 2 4 This section also describes in short the diagnosis utility EasyCheck which can be installed separately from CD Driver updates The Easylon USB Interface receives its firmware at a restart form the PC to which it is connected If you update the device driver while the USB Interface is connected to the PC the driver will not be downloaded to the device You must 3 A Linux driver is available in source code on demand 20 Gesytec SS ozs LPU UserDoc LPU_Manual E_V3 7 doc 2 2 1 Note 2 2 1 1 pm Interface User Manual Installation
5. disconnect the USB Interface and reconnect it again in order to load the new de vice driver 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 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 Insert the CD into the CD drive of your PC Afterwards connect the Easylon USB Interface using the delivered connector cable The USB interface does not need a separate power supply The PC will show that a new USB device has been found Found New Hardware USB Device i Installing Windows will automatically start the hardware wizard Found New Hardware Wizard Welcome to the Found New ay Hardware Wizard SS This wizard helps you install a device driver for a hardware device To continue click Next f Cancel a Gesytec 1018 LPU UserDoc LPU_Manual E_V3 7 doc USB Interface User Manual Installation Click the Next gt button to start the driver installation Found New Hardware Wizard
6. 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 Windows CE Driver The Windows CE driver has been designed for x86 processors There are ver sions for Windows CE 3 0 and 4 2 with the latter running under 5 0 and 6 0 as well It can be installed in two ways 1 CE devices with static RAM Copy the LonUsb dll into the Windows directory and adjust registry 2 Integration into Windows CE Image Create a new image with the driver included in your LonUsb bib file This is for advanced users only who want to create a custom kernel The required files can be found on the Driver amp Documentation CD under Win dows CE 3 0 LonUsb and the respective directory for 4 2 Copy d to Windows Directory Copy the device driver file lonusb dll to the Windows directory of your hardware system Modify Windows CE registry by means of an registry editor adding the fol lowing lines FIN Gesytec 1718 LPU UserDoc LPU_Manual E_V3 7 doc pm Interface User Manual Installation LONUSB Dri
7. 2 22 28 am USB Interface User Manual Programming Instructions LPU UserDoc LPU_Manual E_V3 7 doc Return value Type Description Result BOOL FALSE if buffer is too small else TRUE ReadFile with Timeout Reads a telegram according to the application layer format The Timeout pa rameter determines the functions behavior while the receive buffer is empty Timeout 0 function returns immediately Timeout n function waits n milliseconds to receive a telegram Timeout INFINITE function works as synchronous function see also func tion ReadFile Syntax define TOCTL LPCDRV_READ WAIT CTL_CODE FILE DEVICE _LPCDRV 0x908 METHOD BUFFERED FILE READ DATA FILE WRITE DATA result DeviceloControl ni handle IOCTL_LPCDRV_READ WAIT amp timeout 4 pMsg len amp rLen NULL define IOCTL_READ0x43504C02 obsolete result DeviceloControl ni handle IOCTL_READ pMsg len amp timeout 4 amp rLen NULL Note Using IOCTL_READ the Parameters IpInBuffer and IpOutBuffer as well as nInBufferSize and nOutBufferSize are permuted as de fined in the API Reference of DeviceloControl 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
8. Bit 0 LON telegrams at the interface from and to the application are shown in debug output Bit 1 LON telegrams at the interface from and to the USB bus are shown in debug output 15 28 LPU UserDoc LPU_Manual E_V3 7 doc Note 2 2 1 4 2 2 2 2 2 3 pm Interface User Manual Installation Bit 2 Reserved for Easylon Watcher Bit 3 CREATE and CLOSE of the driver are displayed in the debug output The debug output for instance can be displayed using the DebugView program which is freely available at www sysinternals com Permitted Power Saving Usually the LON USB adapter allows a standby mode with applications running Standby At certain conditions however e g LON USB using an external hub under Windows 2000 the current supply to the LON USB adapter will be short ly interrupted during return from the standby mode by the external hub Under such conditions a standby mode must be turned off None De Installation WDM drivers are de installed using the Device Manager Among LON Adapters select the Gesytec LONUSBx y 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 t
9. Gesy tec LONUSBx y and a character value with the driver name PN Gesytec 4 26128 LPU UserDoc LPU_Manual E_V3 7 doc am USB Interface User Manual Lists of Fugures and Tables 6 List of Figures Figure 1 1 Easylon USB e EE 5 Figure 1 2 Typ tode SUCHE ee 6 Figure 1 3 LON side connectors and LEDs nee 7 Figure 1 4 USB side connectors and LEI ee 8 l List of Tables Table 1 1 Variants order codes and type identifiers for Easylon USB Interface cards 5 Table 1 2 Service LED nebenan 8 N Gester esytec 900 27128 LPU UserDoc LPU_Manual E_V3 7 doc 8 Index 16 bit applications 16 adapter settings 14 connector 20 connector pin assignment 7 debug flag 15 DebugFlag 24 de installation 16 dimension 20 EasyCheck 16 EMC 20 firmware 5 hibernate mode 25 hot plugging 25 installation 9 LED 7 8 20 LNS 6 memory 20 OPC server 6 order code 5 power consumption 20 power supply 7 20 product information 5 programming instructions 21 20 Gesytec iss Interface User Manual Index ReadTimeout 24 registry key 26 RJ 45 7 scope of delivery 6 service button 7 service LED 7 standby 16 standby mode 25 technical specifications 20 temperature 20 tips and tricks 25 transceiver 20 USB cable 6 USB hub 25 USB socket 8 USB standard 6 variants 5 Windows CE 18 Windows CE application interface 21 driver installation 17 WLDV32 DLL 6 28 28
10. 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 LPU UserDoc LPU_Manual E_V3 7 doc Version v3 7 2 8 2010 User Manual Gesytec SS LPU UserDoc LPU_Manual E_V3 7 doc pm USB Interface User Manual This manual provides you with all the information which you will require to use the Easy lon USB Interface 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 USB Interface network driver which has been designed in accordance with the driver specifications of the Echelon Corpora tion For further information on the LONWoRKS technology please refer to the extensive documentation provided by Echelon After a general presentation of the Easylon USB Interface in Chapter 1 Chapter 2 describes the necessary steps to install the module Chapter 3 gives the technical specifications of the device and Chapter 4 provides Programming Instruction for operation under Windows CE Some tips and tricks for operation can be found in Chapter 5 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
11. Type Description Result BOOL TRUE if telegram was received FALSE at timeout Set Timeout for ReadFile Reads a telegram according to the application layer format The Timeout pa rameter determines the functions behavior while the receive buffer is empty Timeout 0 function returns immediately Timeout n function waits n milliseconds to receive a telegram Timeout INFINITE function works as synchronous function see also func tion ReadFile N Gesytec SS 23128 am USB Interface User Manual Programming Instructions Syntax define IOCTL_LPCDRV_SET READ TIMEOUT CTL _CODE FILE DEVICE _LPCDRV 0x909 METHOD BUFFERED FILE WRITE DATA ni handle IOCTL_LPCDRV_READ WAIT result DeviceloControl amp timeout 4 NULL 0 amp rLen NULL Parameter Type Description ni_handle HANDLE file handle ofthe LON device timeout DWORD Timeout Milliseconds Return value Type Description Result BOOL TRUE if timeout was stored FALSE ifan error has occured Note Undefined IOCTL Codes will return FALSE and set LastError to ERROR NOT SUPPORTED 4 1 8 Registry entries for Easylon USB Interface LONUSB Driver HKEY LOCAL MACHINE Drivers USB LoadClients 3596 Default De fault LonUsb DLL l6nusb d1i Prefix LON DebugFlag dword 0 ReadTimeout dword FFFFFFFF DebugFlag The value comprises a DWORD in hexadecimal not
12. Variants order codes and type identifiers for Easylon USB In terface cards FIN Gesytec SS 528 LPU UserDoc LPU_Manual E_V3 7 doc pm Interface User Manual Product Information 1 2 1 3 ees Easylon USB Interface BEP EE Met P P10314 ce m Leu aces Gesytec OmbH Pascaistr 6 82076 Aachen www gesytec de Figure 1 2 Type code sticker Scope of Delivery Fasylon USB Interface module with either Echelon s MIP P50 or NSI firm ware USB cable Installation and documentation CD with network drivers for 32 bit and 64 bit versions of Windows XP Vista 7 Server 2003 Server 2008 Server 2008 R2 Windows CE Easylon RNI Software for remote LonWorks access EasyCheck utility for Easylon Interfaces WLDV32 DLL Documentation in Adobe Acrobat PDF format Overview The Easylon USB Interface is a link between a personal computer with USB port and the LONWORKS control network The interface module is designed for free topology LONWORKS networks and fitted with a FTT 10A transceiver It can be used in Link Power networks as well The driver for the Easylon USB Interface is compliant with Echelon s driver interface All LNS based applications like LonMaker for Windows can use the Easylon USB Interface without any prob lems Applications using the driver interface directly can use the Interface too The driver supports up to 127 USB devices The Easylon USB Interface is com patible with the Ea
13. ation of different flags for debug purposes Usually it is set to 0 not existing Setting the single bits will turn on special debug features In the current driver versions bits 0 and 1 are used Bit 0 LON telegrams at the interface from and to the application are shown in debug output Bit 1 LON telegrams at the interface from and to the USB bus are shown in debug output ReadTimeout The value in milliseconds comprises a DWORD in hexadecimal notation to affect the behavior of ReadFile A value of INFINITE Oxffffffff makes ReadFile a blocking call This is the default behavior if no parameter is given like Ipcdrv lg2drv A timeout value of 0 means that this function returns immediately if no da ta are available LPU UserDoc LPU_Manual E_V3 7 doc PN Gesytec SS 24128 LPU UserDoc LPU_Manual E_V3 7 doc s 5 1 5 2 9 3 DA Cs Interface User Manual Tips and Tricks Tips and Tricks Hot Plugging The Easylon USB Interface may be connected and disconnected when the PC is already running Windows recognizes plugging the device in and starts the driver automatically You should not remove the device when an application is using it Using an USB Hub Of course the Easylon USB Interface can be used with an USB hub If there are a couple of USB devices active the communication between PC and Easylon USB Interface may be slowed down Standby Mode of PC A PC with connected Easylon USB Interface m
14. ay be set to standby mode be cause the device will be powered during standby However if the device is used with an external USB hub under Windows 2000 it was observed that at return ing from the standby mode some hubs shortly interrupt of the power supply to the Easylon USB Interface This USB hub behavior will reinitialize the device and active applications using the Easylon USB Interface before entering standby mode are not able to communicate with device any longer In such configurations please refer to section 2 2 1 3 Settings and set Permit ted Power Saving to None to disable the standby mode The LON USB driv er will then inhibit the standby mode with applications running Hibernation Mode of PC The Easylon USB Interface does not support the hibernation mode When the PC enters hibernation mode the USB will not be powered any longer As this would lead to a loss of the Neuron Chip settings the LON USB driver will inhibit Win dows from turning into the hibernation mode with applications running PN Gesytec SS 25128 LPU UserDoc LPU_Manual E_V3 7 doc is Interface User Manual Tips and Tricks 5 5 Registry Key The driver ofthe Easylon USB Interface makes an entry in the registry database for each found device according to Echelon s guidelines You will find this en try at HKEY_LOCAL_MACHINE Software LonWorks DeviceDrivers For each Easylon USB Interface you will find a key with the device name
15. he Easylon USB Interface is automatically loaded by the USBD module after plugging in the device and should be available to your applications PN Gesytec SS 19128 LPU UserDoc LPU_Manual E_V3 7 doc iss Interface User Manual 3 CPU Memory ROM RAM USB Interface Type Connector LONWORKS Interface Transceiver Connectors Power Supply Power Supply Power Consumption Technical Description Technical Description Neuron 3150 10 MHz 48 75 Kbytes 9 Kbytes according to full speed USB standard 1 1 USB socket USB Series B FTT 10A RJ 45 screw plug terminal Phoenix MSTB2 5 3 G 5 08 via USB port 100 mA max Dimensions and Operating Conditions Dimensions Weight Temperature Operation Storage Humidity Protection Class EMC Display and Operation 20 Gesytec SS 128 71 23 mm 135 g 0 C 50 C 20 C 60 C 15 95 no dew class F accord to DIN 40040 IP 20 EN 610 00 6 2 EN 550 22 A B Neuron service push button Neuron service LED yellow Status LED green Error LED red 20 28 LPU UserDoc LPU_Manual E_V3 7 doc am USB Interface User Manual 4 4 1 Note Programming Instructions Programming Instructions Windows CE Application Interface Some of the functions described below are marked obsolete These functions and control codes are referenced her only for compatibility with older versions of LPCDRV LG2DRV and s
16. he 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 in terface 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 Llonusb1 2 The 32 bit LON device used is specified by the optional L or L parameter Lname name Ivxwdm5 0 Mip0 for device LVX wth PClIe bus number 5 PCI device number 0 and instance 0 PN Gesytec SS 16128 LPU UserDoc LPU_Manual E_V3 7 doc Note 2 2 4 2 2 4 1 pm Interface User Manual Installation Ivuwdm 1 2 Mip0 for device LVU at USB host controller 1 and with port number 2 at USB root hub Ivpwdm0 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
17. hould not used for development of new software CreateFile Opens a LON device Syntax ni handle CreateFile szDevName GENERIC READ GENERIC WRITE 0 NULL OPEN EXISTING 0 NULL Parameter Type Description SzDevName TCHAR Device name e g TEXT LON1 Return value Type Description ni_handle HANDLE file handle of the LON device or NVALID 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 or the handle is closed The timeout of this blocking call can be changed via registry or via Devicelo Control A timeout value of 0 means that this function returns immediately if no data are available PN Gesytec SS 21128 LPU UserDoc LPU_Manual E_V3 7 doc am USB Interface User Manual Programming Instructions Syntax ReadFile ni handle pMsg len amp rLen NULL Parameter Type Description ni_handle HANDLE file handle ofthe 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 4 1 4 WriteFile Writes a telegram according to the applicati
18. ick the Next gt button that Windows can prepare the installation procedure FIN Gesytec SS um LPU UserDoc LPU_Manual E_V3 7 doc FM Muse Interface User Manual Installation Found New Hardware Wizard Driver Files Search Results en The wizard has finished searching for driver files for your hardware device I The wizard found a driver for the following device gt LONUSB Device Windows found a driver for this device To install the driver Windows found click Next a lonusb lonusb inf In this dialog the hardware wizard shows the driver found on the CD Clicking the Next gt button finally start the driver installation Found New Hardware Wizard Completing the Found New Hardware Wizard Gesytec LONUSB Windows has finished installing the software for this device To close this wizard click Finish lt Back When the installation has been finished the above message is shown Click the Finish gt button to terminate the installation procedure It is possible that you get the following message PN Gesytec SS 1218 LPU UserDoc LPU_Manual E_V3 7 doc USB Interface User Manual Installation Found New Hardware Wizard Completing the Found New Hardware Wizard LD Gesytec LONUSB The software for this device is now installed but may not work correctly gt To close this wizard click Finish lt Back Cancel This can happen due to the i
19. mponents Import the component file Easylon cec by clicking on Import New Manually add Windows CE Registry Information as described below Manually modify the file platform bib as described below PN Gesytec SS 18128 LPU UserDoc LPU_Manual E_V3 7 doc pm Interface User Manual Installation Open the Platform menu and under Insert select User Component Add the lonusb dll you previously copied to WINCEROOT PLATFORM CEPC FILES Open the View menu and go to Catalog The Catalog View should open In Catalog open the Tree View Catalog Drivers CEPC Easylon Add the LonUsb component to your current Platform Modify Windows CE registry To load all necessary drivers when an Easylon USB Interface is connected to the hardware system the following entries must be contained in the file platform reg LONUSB Driver HKEY LOCAL MACHINE Drivers USB LoadClients 3596 Default De fault LonUsb DLL lonusb dli1 Prefix LON DebugFlag dword 0 ReadTimeout dword FFFFFFFF These lines are provided in the file LonUsb reg Details on the registry entries are provided in Programming Instructions Modify the Binary Image Builder file platform bib Add the content of the sample file LonUsb bib to file platform bib Finish the installation procedure Build your platform and download the image to your target hardware The Windows CE device driver for t
20. nternal initialization of the driver during which the driver is shortly unloaded and reloaded Normally this message does not indicate an error If you want to check the installation you can use the device manager In the Uni versal Serial Bus Controller section you will find a Gesytec LONUSB x y entry with x designating the number of the USB host controller and y the port If external hubs have been cascaded the respective port numbers are given as well 8 Device Manager BEI Eg Acton vor gt REG Bl aw E34 V5 TEST EM Computer Disk drives BI Display adapters 23 DVD CD ROM drives Floppy disk controllers H E Floppy disk drives 4 IDE ATAJATAPI controllers Keyboards LON Adapters ER BGesytec LONUSB1 1 S Gesytec LPC340 BB Gesytec LPPO 14 Mice and other pointing devices e Monitors EF Network adapters d Ports COM amp LPT cf Sound video and game controllers m System devices Universal Serial Bus controllers Ei cs Ea If after the installation the green LED does not blink an error has occurred in the Easylon USB interface installation In that case please disconnect the module from the PC and reconnect after a short period of non less than 10 s During the installation and at each Neuron reset the red LED is shortly flashing PN Gesytec 1318 LPU UserDoc LPU_Manual E_V3 7 doc pm Interface User Manual Installation
21. on 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 Note The telegram according to the application layer format contains a length information of the buffer itself That is why we ignore the parameter len in the use of function ReadFileQand WriteFile Note Use the maximum length 256 bytes of the buffer while reading a telegram 4 1 5 GetVersion Returns the version number of the driver as Unicode string e g 11 05 2002 Syntax define IOCTL_LPCDRV_G TEXT Easylon LonUsb Version 1 00 for WinCE from ET VE RSION iVIC CTL CODE FILE DE E LPCDRV 0x900 METHOD BUFFERED FILE READ ACCESS TVERS ON define IOCTL GE result Devic IOCTL_LPCDRV_GET_VERS ON NULL O BytesReturned N Parameter Type ni_handle HANDLE szVersion TCHAR BytesReturnedDWORD ex Gesytec SS szVersion ULL 0x43504C01 obsolete IoControl ni handle sizeof szVersion Description file handle ofthe LON device Buffer for version string length of the string bytes number of characters 1
22. r pointing devices Monitors Network adapters Sound video and game controllers System devices Universal Serial Bus controllers fe AE a ay Ports COM amp LPT amp 2 The Advanced Properties offer the following settings 4 For 64 bit systems FIN Gesytec Hans LPU UserDoc LPU_Manual E_V3 7 doc 20 Gesytec SS pm Interface User Manual Installation Gesytec LONUSB1 1 Properties ix General Advanced Driver 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 Value e Not Present Property Permitted Power Saving Lon Adapter This will assign a name LON1 LON9 to the LON USB adapter which certain application will require Remember that the name must not be in use by any other device driver In case of a name conflict the device can not be started Code 10 Adapter Name Alternatively an arbitrary name can be assigned to the adapter e g floor 7 If both Lon Adapter and Adapter Name are assigned to the same device only the entry for Lon Adapter will be used Debug Flag The value comprises a DWORD in hexadecimal notation of different flags for debug purposes Usually it is set to 0 not existing Setting the single bits will turn on special debug features In the current driver versions bits 0 1 and 3 are used
23. 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 LonMaker LONWORKS and NEURON are registered trademarks of Echelon Corporation Windows is a registered trademark of Microsoft Other names may be trademarks of their respective com panies The Easylon USB Interface incorporates the MIP P50 or NSI programs from the Echelon Corporation The aforesaid company holds all rights relating to this software 20 Gesytec a LPU UserDoc LPU_Manual E_V3 7 doc am USB Interface User Manual Contents Contents 1 Product Hiormaton en ee 5 1 1 KEE 3 1 2 Scope of Delivery een 6 1 3 EE 6 2 Installation 9 2 1 Hardware e EE 9 2 2 Driver Installat on este uses een 9 2 2 1 2 Manual Installation and Update 14 2 2 13 Parameter Setting nnd 14 2214 DeIssalkliens sese seen 16 2 2 2 EasyCheck Test Utility for Windows Drivers A 16 2 2 3 Windows and 16 Bit Applications sessnsessessseessesesssesrtsersseessessrssressessessresseese 16 2 2 4 Windows CE KREE ege 17 2 2 4 1 Copy dll to Windows Directory een u 17 2 2 4 2 Integration into Windows CE Image nun a 18 3 Technical Description ssisssisisssisssistscsoosssscsensosdstvisssseonsssdssoudssdsrsisssosessss sos siss dosis ssss
24. sylon OPC Server and the Gesytec s WLDV32 DLL The Easylon USB Interface is a so called full speed device compliant with the USB 1 1 standard Communication speed to the PC is 12 Mbps The communica A Linux driver is available in source code on demand ex Gesytec SS 6128 LPU UserDoc LPU_Manual E_V3 7 doc pm Interface User Manual Product Information tion between the neuron chip and USB is handled by a micro controller The firmware for this micro controller is downloaded automatically when the Easy lon USB Interface is connected to the PC Because the USB can not guarantee a supply voltage of 5 volts the Easylon USB Interface internally generates the 5 Volt supply for the Neuron Chip and the LONWORKS transceiver from the power supplied via USB So the device works more stable because it is independent from voltage drops especially in complex USB topologies LON side The Easylon USB Interface is provided with a service button and LED The module provides two connectors either of which can be used RJ 45 socket 3 pin screw plug terminal Figure 1 3 LON side connectors and LEDs 1 RJ 45 pin 1 and 2 network 2 screw plug terminal 2a shield 2b and 2c LON 3 Service LED yellow 4 Service button Service LED The service LED Figure 1 3 4 signals the card status The following signals are defined the service LED 20 Gesytec SS 128 LPU UserDoc LPU_Manual E_V3 7 doc
25. tvdis se 20 4 Programming Instructions svssvsccssssesccdceccccscenesscoussascdassedenssnsensscuaseessvesvensdevenssieeneceonaaseuans 21 4 1 Windows CE Application Interface 21 All Tresehle nein 21 412 Clos Handle nee es ni 21 DS e e 21 4 14 Wee Ne esgere iea R A O E AEAEE 22 AVS ee Te 22 4 1 6 ReadFile with Timeout nase eu 23 4 1 7 Set Timegut for ResdHile sd u u anii 23 4 1 8 Registry entries for Easylon USB Interface uuscsesenseeosnessonesnnesnnennnnensnnnsnnennnne 24 3 Tipsand Tricks kamen 25 5 1 Hol EE 25 5 2 Using an USB HUD esseen oseese iriri E E EE R 25 5 3 Standby Mode of E 25 5 4 Hibernation Mode of PU 25 5 5 Registry EE 26 6 List OF FRDUPEOS scscccscccsscsscscssssecessesosssestesssocsssssossssesssssscsseonsissesssnesnssssecscasnstasenessasstcssscscesess 27 T Eist of Tabl une ee 27 ex Gesytec SS 328 ual E_V3 7 doc LPU UserDoc LPU_Man am USB Interface User Manual Contents ex Gesytec SS ans LPU UserDoc LPU_Manual E_V3 7 doc pm Interface User Manual Product Information 1 1 Product Information This manual describes the Easylon USB Interface Figure 1 1 Easylon USB Interface Variants The following variants of the Easylon USB Interface are currently available and are described in this documentation Each variant is identifiable by a type code sticker on the rear of the module Order Code Network Interface Type P P10304 FTT 10 MIP P50 P P10314 FTT 10 NSI Table 1 1
26. ver HKEY_LOCAL_MACHINE Drivers USB LoadClients 3596 Default Default LonUsb DLL lonusb d1i1 Prefix LON DebugFlag dword 0 ReadTimeout dword FFFFFFFF These lines are provided in the file LonUsb reg 2 2 4 2 Integration into Windows CE Image This section describes the integration ofthe Windows CE 3 0 driver for the Ea sylon USB Interface in a Windows CE 3 0 system This procedure requires the Windows CE Platform Builder Please check for the following requirements to ensure that USB is supported 1 The appropriate host controller drivers UHCI or OHCI for the specific USB host controller of your hardware system must be included in your Windows CE Platform Builder settings If you don t have such drivers please contact your system supplier The USBD module has to be included in your Windows CE Platform Builder settings Before using the Easylon USB Interface you can check if the USB functionality of your hardware is given at all For example you can test by connecting an USB mouse to your Windows CE system Add Easylon USB device driver to Windows CE image Copy the device driver file lonusb dll to the directory WINCEROOT PLATFORM CEPC FILES Copy the component file Easylon cec to directory WINDOWS CE PLATFORM BUILDER 3 00 CEPB CEC Start the Windows CE 3 0 Platform Builder and load the desired Platform Workspace Open the File menu and go to Manage Platform Builder Co

Download Pdf Manuals

image

Related Search

Related Contents

PCG-SR1K - Sony Europe  ATM/POS-Bridge  Book Vol.17  Samsung 2033SW Lietotāja rokasgrāmata  USER GUIDE FOR HUD LOW-MOD CALCULATOR APPLICATION  Manual del usuario  VG-90/GC-981B MIRAS PORTÁTILES  EXO n° 6 - EXO - Cultures et Métiers Comptables  取扱説明書 保存用  Carnaval : Toujours autant de succès - Metz  

Copyright © All rights reserved.
Failed to retrieve file