® LONWORKS PCC-10 PC Card User’s Guide Version 2 ® Corporation 078-0155-01B
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Echelon Corporation. Echelon, LON, LONWORKS, LonBuilder, NodeBuilder, LonTalk, LonManager, 3120, 3150, Neuron, the Echelon logo, the LONMARK logo, and LONMARK are trademarks of Echelon Corporation registered in the United States and other countries.
Contents 1 PCC-10 Introduction Introduction Audience Content Related Documentation 2 Installing the PCC-10 Card PCC-10 Card Software Installation Windows 95® Software Installation Procedure Windows 3.1 and 3.11 Software Installation Procedure Microsoft® DOS® Software Installation Procedure Real-Mode DOS Driver Configuring the PC for Maximum Performance Under DOS Conventional Memory LDVPCC10.INI File Description Software Installation Results Windows 95 Software Removal Procedure Windows 3.1 and 3.
3 Configuring and Testing the PCC-10 Card Under Windows PCC-10 Configurations PCC-10 Initialization Device Specific Settings Device Selected Automatic Flush Cancel NI Application Transceiver...
1 PCC-10 Introduction This guide describes the mechanical characteristics and the hardware and software driver installation for the PCC-10 Network ® Adapter and the LonManager PCC-10 Protocol Analyzer card. Except where noted, the term “PCC-10 card” used in this guide refers to both cards. The PCC-10 Network Adapter is a high-performance interface that is ideal for building portable installation, maintenance, monitoring and control tools.
functionality, the PCC-10 cards included with the protocol analyzer also provide all the functionality of the PCC-10 Network Adapter.
Introduction The PCC-10 card provides any host processor equipped with a Type II PC Card interface and compatible operating system, with access to a LONWORKS network. It measures 54.0mmW x 85.6mmL x 5.0mmH (2.126" x 3.370" x 0.196"). A software-based control panel, and software drivers for the Microsoft DOS, Windows 95, 3.1, and 3.11 operating systems are available through purchase of the Connectivity Starter Kit (model number 58030-01).
! • Avoid bending or squeezing the PCC-10 card. • Do not immerse the PCC-10 card in liquid of any type, and clean only with a soft, dry, anti-static cloth. • Do not insert foreign objects into the connectors and avoid exposure to substances that may contaminate the electrical contacts. • Always apply pressure to the release pins on the Hirose connector when attempting to disconnect a network cable. Failure to do so may cause damage to the PCC-10 card’s network port and/or the Hirose connector.
Audience This manual is intended for developers and end users of LONWORKS systems using the PCC-10 card. Content This manual provides an overview of the PCC-10 card and software, and includes installation details and configuration options. Electrical specifications for the network port of the card and related cable assemblies also are included. This document has a list of references in Chapter 5.
2 Installing the PCC-10 Card This chapter describes the procedures for installing the PCC-10 card software in a PC or embedded host with a compatible operating system.
PCC-10 Card Software Installation ! Installation of the PCC-10 software must precede insertion of a PCC-10 card into a PC Card (PCMCIA) slot. Failure to install the software before inserting the card will render the card unusable until the software is removed, and then reinstalled. The six steps of the installation process are as follows: 1. Install Windows PCMCIA driver if not currently installed. A Windows PCMCIA driver must be installed prior to PCC-10 card installation.
Windows 95 Software Installation Procedure Prior to installation, ensure that the computer is running the Windows 95 Operating System. The PCC-10 software cannot be installed from DOS, or a DOS shell. 1. Close all open programs. 2. Insert the installation diskette into the PC. 3. Click the Start button on the Windows 95 task bar and select the run command. 4. When prompted for a program name, enter the following: a:\SETUP.
to use the PCC-10 card device driver under Windows rather than attempting to access the device under DOS. Once this driver is installed and active, existing 16-bit Windows applications can access the PCC-10 card using the ldv_open(), ldv_close(), ldv_read(), and ldv_write() functions provided by the WLDV.DLL file. The installation software installs a new WLDV.DLL file, replacing any preexisting versions of the file. The updated WLDV.DLL is fully backwardcompatible with previous versions. 8.
! Windows 95 Warning Some Windows 95 computer systems come equipped with hardware (such as CDROM drives) which use their own card and socket services. These services replace those provided by Windows 95, and may contain incompatibilities that prevent the PCC-10 card from functioning. TM One example is SystemSoft’s CardWorks PCMCIA Drivers, which are TM packaged with the Axonix ProMedia Portable CDROM Drive.
however, if a directory other than c:\lonworks is chosen, the PCC-10 images path will have to be specified to enable use of the PCC-10 card. This is accomplished during PCC-10 Configuration. See Chapter 3, Configuring the PCC-10 Card. 7. To access the PCC-10 card, the “PCCLONn” network interface naming convention must be used, rather than the “LONn” naming convention used with other Echelon products.
products by using the Windows 3.1 or Windows 3.11 operating systems with proper Windows Card & Socket Services, or by using the Windows 95 operating system with Microsoft-provided Card & Socket Services. The Windows 3.1x and Windows 95 PCC-10 card installation software will prompt the installer to automatically add this version of the DOS driver. The driver is small in size, and allows a DOS session under Windows to have access to the PCC-10 through the device driver running as part of Windows.
1. Close all open programs, and run installation from DOS or a DOS box within Windows 3.1, Windows 3.11, or Windows 95. 2. Insert the installation diskette into the PC, then enter the following (substituting the appropriate drive letter for a: if the diskette is not in this drive): a:\INSTALL.EXE 3. After a moment of disk activity, the product name and release number will be displayed, along with the following message: Press [ESC] to quit, any other key to continue...
10. “<>” will be shown followed by several options for modifying the default settings of the PCC-10 DOS Device Driver. The location of the README.TXT file C:\LONWORKS\IMAGES\PCC10\README.TXT will also be shown. Press any key other than ESC to continue. 11. If the installation program did not automatically update the CONFIG.SYS file, it should be done manually at this time. 12. Installation is complete. Remove the PCC-10 installation diskette and restart the computer.
Within each section the following entries should exist: ImagePath=filepath where filepath is the full file pathname for the Neuron Chip Binary Image (NBI), or system image, to be loaded for this device. Since this driver does not support the LonManager Protocol Analyzer this filepath would point to either a Layer7 MIP system image or an NSI MIP system image, like “PCC10L7.NBI” or “NSIPCC.NBI”.
Software Installation Results The installation software for the PCC-10 Card loads a selection of new files and updated Echelon files to different locations on the PC’s hard drive. For Windows installations, the function and location of the files can be found in the on-line help file. For DOS installations, see the section entitled MS-DOS Software Removal Procedure in this manual. Windows 95 Software Removal Procedure To remove the PCC-10 software, use the Uninstall control panel, as follows: 1.
3. Within the enclosed \BIN subdirectory, delete the following files: LDVSTUB.SYS LONCSM.EXE LONPCC10.386 4. Within the \IMAGES subdirectory, remove the \PCC10 directory and its contents. 5. At the root drive level (default: C:\ ), edit the CONFIG.SYS file to remove any references to the LDVSTUB.SYS driver. 6. From within the \WINDOWS directory, edit the SYSTEM.INI file to remove any references to LONPCC10.386. 7. If no other LONWORKS-based products are present on the computer, the WLDV.
conforms to this standard, whether the computer is on or off. In addition, the PCC-10 card is recognized as a UL (Underwriter’s Laboratories) Listed Accessory and is designed to be used with UL Listed equipment. Do not force the PCC-10 card into the PC Card slot. The PCC-10 card is keyed and can only be inserted one way into the PC Card slot. Figure 4.4 shows the 68-pin PC Card side of the PCC-10 card.
• Removal of a PCC-10 card while an application is using the card will result in a loss of communication with the device, which cannot be restored by reinserting the card. Some applications will display unusual behavior, and will not properly function. Any application using the PCC-10 card must be restarted if a PCC-10 card has been removed to ensure proper operation of the device and software.
If cancel or an option other than Windows default driver is chosen, follow the instructions indicated for that selection below: Cancel If the Cancel button is accidentally selected, remove the PCC-10 card and re-insert it. This action will cause the New Hardware Found window to be displayed again. Choose the Windows default driver. Do not install a driver If this option is chosen, the PCC-10 software must be re-installed to use the PCC-10 card. This screen will only be presented once.
System Resources Each PCC-10 card requires four contiguous bytes of I/O address space starting on a modulo-4 based address (i.e., an address evenly divisible by 4). A dedicated interrupt request (IRQ) is also required for each PCC-10 card used. Windows 95 I/O resource problems are rare under Windows 95 for the PCC-10 card since the card can handle a wide range of I/O settings. However, IRQ resource problems may occur more often in “multimedia” computers which may have very few spare IRQs.
If a DOS real-mode driver is in use, other than the PCC-10 Card DOS driver, for a specific device which is installed in the PC, Windows 95 may not know about that device’s resource requirements. Unlike Windows driver conflicts, this problem is difficult to diagnose. There are rare I/O conflict situations of which the Device Manager may be unaware. Such a conflict may occur when an I/O resource is not properly specified for a device, and a new PC Card driver overlays onto the true I/O space of that device.
Figure 2.2 LONWORKS PCC-10 Card Services Client Selecting the Configuration Info menu item under the appropriate socket menu displays the resources allocated to the PCC-10 card (figure 2.3). Figure 2.3 Allocated PCC-10 Card Resources Selecting IRQ under the Resources menu displays the IRQ Resource Control dialog (figure 2.4). This dialog allows the inclusion or exclusion of IRQs from the card services IRQ allocation pool. To exclude an IRQ, clear the checkbox next to the IRQ name.
• Unused IDE controllers that can not be disabled through the BIOS; • Unused/nonexistent PS/2 mouse ports; • Sound cards that support both 8-bit and 16-bit compatibility modes, consuming two IRQs. An additional problem often associated with sound cards is the improper reporting of I/O resource usage. This problem may be recognized by examining a device’s I/O address allocation for strange one-byte assignments since devices typically use more.
Device Name Aliasing under DOS The file, LVDPCC10.INI, contains the device names for the DOS-mode driver. The installation default name is LON1 since this is the default name for most DOSbased LONWORKS software. The name may be changed by modifying the file in a text editor. LonManager Protocol Analyzer Compatibility The device driver for the PCC-10 card and the driver for the LonManager Protocol Analyzer ISA-bus card share the same Windows VxD identifier.
3 Configuring and Testing the PCC-10 Card under Windows This chapter explains how to configure and test the PCC-10 card using the Windows Control Panel installed in Chapter 2. Details of how to configure the PCC-10 Card for use with the DOS driver can be found in the Microsoft DOS Software Installation Procedure section in Chapter 2.
PCC-10 Configuration PCC-10 card configuration is accomplished using the LONWORKS PCC-10 control panel. Open the control panel by selecting the “LonWorks¨ Plug ‘n Play” icon in the Control Panel folder located in the My Computer folder on the Windows 95 Desktop, or in the Program Manager’s Main folder under Windows 3.1 or 3.11. There is no Control Panel for the MS-DOS PCC-10 Device Driver. Configuring a PCC-10 Card for use with the DOS driver must be done after installation.
PCC-10 Initialization In most cases, PCC-10 card initialization occurs automatically upon insertion. Manual initialization will be required following software installation to a directory other than C:\LONWORKS, or moving of the PCC-10 system images. To manually initialize the PCC-10 card, verify that the control panel’s System Image Path entry is correct, then click the Apply button. An error will be reported if an attempt is made to modify the transceiver type before the PCC-10 card is initialized.
NI Application This setting controls the type of image or application to be used. (When using the LonManager Protocol Analyzer software with the PCC-10 Protocol Analyzer card, this selection is handled automatically.) A PCC-10 card can only hold one image at a time. Loading a new image will replace the currently loaded image. The choices for these images are determined by the image files (.NBI extension) found in the system image path specified under General Settings.
The PCC-10 card will be configured for the selected transceiver when either the OK button or Apply button is chosen. While either button will configure the PCC-10 card, the OK button will also close the PCC-10 Transceiver window. To implement the changes, the PCC-10 card will reset whenever the transceiver configuration is changed. The information in the Custom Properties area reflects the current configuration within the PCC-10 card.
setting of Layer2 Buffering is 20 pages, and the default setting of Layer6 Buffering is 6 pages. These values should be appropriate for most applications; embedded systems may need to change the number of buffering pages. Enable PC Card Reset This switch controls whether the PCC-10 card’s PC Card hardware reset line is enabled. With the reset line enabled, the PCC-10 card operates in full compliance with the PCMCIA PC Card Standard, Release 2.1.
Figure 3.4 PCC-10 Diagnostics Dialog Box Driver Status The content of the device driver status is as follows: • Number of Free PCC-10 Output Buffers: Non-Priority: the non-priority application output buffer count, as calculated by the driver based on information retrieved from the PCC-10 card’s non-volatile EEPROM. Priority: the priority application output buffer count, as calculated by the driver based on information retrieved from the PCC-10 card’s non-volatile EEPROM.
Diagnostic Commands The diagnostic commands are invoked by selecting one of the buttons displayed in figure 3.5. If a diagnostic command results in the “Image file not found” error message, close the Diagnostics dialog box by selecting the OK button, then click the Apply button in the PCC-10 control panel. This re-initializes the PCC-10 card and allows use of the commands. Figure 3.5 Diagnostics Dialog Box Commands Test The Test button retrieves status and error counts from the PCC-10 card.
Once the node is in the configured state, the control panel will enter a receiveready state and will display the following message while waiting for a service pin message from another node on the network: Now waiting for a service pin message. Once the service pin is pressed on the other node and a service pin message is received, the control panel will then perform a request/response diagnostic message to the other node using Neuron ID addressing.
4 Electrical Interface This chapter provides information about the electrical characteristics of the PCC-10 card. Included is an overview of the electrical design of the interface for external transceivers and details about connecting the card’s internal FT-10 compatible transceiver to a network.
Network Port The PCC-10 has a 15-pin network port connector for interfacing with a free topology or link power channel, and for connecting external transceiver pods. Figure 4.1 shows the numbering scheme of the 15-pin Hirose male connector on the PCC-10 card (the top of the PCC-10 card is the side with the product label). Figure 4.2 shows the pin-out of the mating female Hirose NX30TA-15PAA connector to which the network wiring or transceiver pod is connected.
Figure 4.3 shows a block diagram of the electrical interface of the 15-pin network port. Cable Connector FT-10 Compatible Transceiver 15 (FT_NetA) 14 (FT_NetB) 13 (GND/Shield) 12 (GND/Shield) 11 (Vcc) +5V Power Switch and Current Limit Circuit E S D R1 C L A M P R1 C I R C U I T R1 10 (Vcc) 9 (Buf_CP0) R1 8 (Buf_CP1) 7 (Buf_CP2) R1 6 (Buf_CP3) R1 R1 R1 5 (Buf_CP4) NoCon 4 NC 3 (~Sense_Pod_Reset) 2 (~Drive_Pod_Reset) 1 (~Pod_Sense) Hirose CL234- Figure 4.
card’s network port and table 4.2 describes the electrical characteristics of the card’s digital inputs and outputs. Table 4.
Table 4.2 PCC-10 Card Network Port Electrical Interface Values for Digital Inputs and Outputs (pins 1-3, 5-9) Parameter Symbol Min Max Unit Low-Level Output Voltage (IOL=+100µA) VOL — 0.45 V High-Level Output Voltage (IOH=-100µA) VOH 2.4 — V Low-Level Input Voltage VIL — 0.8 V High-Level Input Voltage VIH 2.0 — V Input Current IIN -20 +20 µA PC Card Connector The PCC-10 card includes a standard 68-pin PC Card connector for interfacing with a host PC or embedded controller.
reliable means of repeatedly connecting and disconnecting the PCC-10 card from a network.
FT-10_NetB (PCC-10 I/O Connector pin 14) FT-10_NetA (PCC-10 I/O Connector pin 15) 1 2 3 Switchcraft Male Cord Plug: Q-G® A3MBAU No connection Figure 4.5 Model 78300 XLR Connector Port (not to scale) The Switchcraft A3MBAU XLR male connector is compatible with a wide variety of female connectors, as shown in table 4.3. Table 4.
Table 4.
5 References This chapter provides a list of the documents referenced in this manual.
Reference Documentation [1] LONWORKSFTT-10 Free Topology Transceiver User’s Guide, Echelon Corporation. [2] LONWORKS FTT-10A Free Topology Transceiver User’s Guide, Echelon Corporation. [3] LonManager Protocol Analyzer User’s Guide, Echelon Corporation. [4] LONWORKS Host Application Programmer's Guide, Echelon Corporation. [5] LonBuilder User’s Guide, Echelon Corporation. [6] PCMCIA PC Card Standard, Release 2.1. This standard is available from the Personal Computer Memory Card International Association.
Appendix A External Power Line Transceivers This appendix describes the PCC-10 card’s electrical interface to external power line network transceivers.
Electrical Interface to the PCC-10 Network Port There are a few design issues which should be taken into consideration when designing an external transceiver pod: • Pin 1 must be grounded when a pod is connected to inform the PCC-10 card of the presence of an external transceiver. • Source termination of 82• • ±5%, 1/4W is required on all lines driven from a pod back to the PCC-10 card.
PCC-10 User's Guide FTT_NetB NoConn 14 13 NoConn NoConn Vcc Buf_CP0 Buf_CP1 Buf_CP2 Buf_CP3 Buf_CP4 10 9 8 7 6 5 ~Drive_Pod_Reset ~Pod_Sense 1 82• 82• 2 3 ~Sense_Pod _Reset Vcc 11 4 GND 12 GND FTT_NetA NoConn 15 Cable Connector Optically Isolated Signal Interface Ground ~Reset CP4 CP2 CP1 CP0 +5V RXD TXD Ground VA VDD Power Supply Circuit Coupling Circuit PLT-21 Transceiver, Clock, and Pulse-Stretching LVI Circuit Figure A.
Š 0.1 µF Cable Shield Two 5.1V Zener Diodes Pod Logic Ground Figure A.2 PCC-10 Card Shielded Pod Cable Circuit The two (2) zener diodes allow a 5V offset between the cable shield and pod logic ground. This circuit in figure A.2 is necessary to ensure proper Vcc sequencing during pod cable insertion into the PCC-10 Card. The • 0.1µF capacitor can be placed between the shield and pod logic ground to improve EMI performance.
Appendix B Regulatory Information This appendix contains the FCC User’s Information and CE Mark Declaration of Conformity PCC-10 User's Guide B-1
FCC Information This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. NOTE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules.
® DECLARATION OF CONFORMITY PCC-10 PC CARD Application of Council Directive : 73/23/EEC; 89/336/EEC; 93/68/EEC Manufacturer’s Name: Echelon Corporation Manufacturer’s Address: 4015 Miranda Avenue Palo Alto, CA 94304 USA Manufacturer’s Address: in Europe Echelon Europe LTD.