Page 3
All rights reserved. No portion of this document may be reproduced in any form without the prior written permission of Woodhead Canada Limited. SST is a trademark of Woodhead Industries, Inc. All other trade names are trademarks or registered trademarks of their respective companies.
Introduction This chapter describes the following: • the purpose of the manual • the style conventions used in the manual • an overview of the card • reference material • warranty and technical support information Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
5136-PFB-ISA Hardware Manual Purpose This document is a hardware user’s guide for the SST 5136-PFB-ISA interface card under DOS, Windows 3.1, Windows NT and for 16-bit applications under Windows 95/98. This card allows an application running on a host computer to communicate with ProfiBus networks, using ProfiBus DP, FDL and FMS.
Introduction Card Overview The 5136-PFB-ISA card can: • act as a DP slave • act as a DP master • send and receive FDL (layer 2) messages • send and receive FMS messages The card supports simultaneous operation in all these modes.
SST has the following related ProfiBus products: • 5136-PFB-104, a 104 version of the 5136-PFB-ISA • 5136-PFB-VME, a VME version of the 5136-PFB-ISA, which uses the same memory map • 5136-PBMS, a Multi-slave ISA card, allowing 1 to 125 possible DP...
Maximum liability of SST is the cost of the product(s). Product Returns If it should be necessary to return or exchange items, please contact SST for a Return Authorization number. 50 Northland Road...
1.6.2 Getting Help Technical support is available during regular business hours by telephone, fax or email from any SST office, or from the company Web site at www.mySST.com. Documentation and software updates are available on our Web site.
Installation This chapter describes the following: • preparing the computer for card installation • setting the switches and jumpers on the card • installing the card • installing the card software • connecting the card to a ProfiBus network • downloading software modules to shared memory or flash memory on the card Artisan Technology Group - Quality Instrumentation ...
(this is what disables shadow memory.) This is often specified as an ISA shared memory size and an ISAshared memory base but there could be other variations. For the 5136-PFB-ISA, the ISA shared memory size should be set to 16K and the ISA shared memory base should be set to the memory address used for the card (default D000).
Installation 2.2.2 Memory Management A memory manager may try to use the address selected for the card. When the computer starts up, the memory on the card is disabled and the memory manager is unaware of it. When you enable the memory on the card by running the loader, a conflict between the card and the memory manager results and the computer may behave erratically or the loader may fail.
Page 15
5136-PFB-ISA Hardware Manual Start the Control Panel. Select the System icon. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 16
Installation Double-click the Computer icon in the Device Manager property page. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 17
5136-PFB-ISA Hardware Manual To reserve I/O addresses, select the Input/Output I/O option, then click Add. Enter the starting and ending I/O address range. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 18
Installation To reserve Memory addresses and Interrupt requests, select the appropriate option, click Add and enter the appropriate values. Note The memory addresses have an extra digit; these are absolute addresses, not segment addresses. For example, D0000 is a absolute address. Click OK on the Computer Properties dialog box to close it.
5136-PFB-ISA Hardware Manual Hardware Installation Before installing the 5136-PFB-ISA card, select an I/O port address for the card, using the DIP switches on the card. There are also several jumpers that must be set to appropriate locations. Refer to section 2.1, Handling Precautions for information on how to handle the card This drawing shows version 1.00...
Page 20
Installation Note If your card does not have a Phoenix connector, refer to the note in section 2.7, Connecting to a Network. Caution This equipment is neither designed for, nor intended for operation in installations where it is subject to hazardous voltages and hazardous currents.
Setting the Switches and Jumpers 2.4.1 Port Address The 5136-PFB-ISA requires 8 I/O port addresses in the host computer. Set the base I/O address using the DIP switches on the card. The default base port address is 250h. Unless there is a known conflict with some other hardware in the computer, do not change the port location from the default value.
Page 22
Installation Port Remarks Address(hex) COM4 COM2 Game port LPT2 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
Page 23
This information is required in order to run the card loader. Port Conflicts with Multiple 5136-PFB-ISA Cards If port address 2xxh is unavailable, then so is port 6xxh. Similarly, if port 2xxh is free, then port 6xxh is free as well. For example, if the first card is installed at 250h, a second card can be installed at 650h.
If you are using shared interrupts, contact SST for further information. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
5136-PFB-ISA Hardware Manual 2.4.5 Installing the Card Once you set the switches and jumpers, install the card in the computer. Ensure that the power is off, then open the computer case. The card can be installed in any standard 16-bit ISA slot.
2.5.1 5136-PFB-ISA Files Run the batch file install.bat on the distribution disk to install all the software for the 5136-PFB-ISA. This batch file copies all the files on the distribution disk, including the SST config tools to directory \SSPFBDOS. Tell it the names of the source and destination drives. For example, type: install A: C: 2.5.2 COM PROFIBUS Files...
5136-PFB-ISA Hardware Manual Loading Software Modules to the Card The host computer downloads the appropriate interface software to the card, making it possible to use the card for different applications by simply downloading a different module to the card. Modules with extension .SS1 load into shared memory. Modules with extension .SSF load into flash memory.
Page 28
Filename (Card Software Module) Tell the loader which module to download to the card. The extension (.ss1) is assumed; do not include it as part of the filename. The following modules for the 5136-PFB-ISA can be loaded into shared memory using pfbinst.exe. Module Purpose pfbprofi.ss1...
Page 29
5136-PFB-ISA Hardware Manual Memory Remarks MCR Bits Address 6 5 4 3 2 9C00 Occupied by RAM in >512K systems 0 0 1 1 1 A000 Used by VGA 0 1 0 0 0 A400 Used by VGA 0 1 0 0 1...
Page 30
Installation Since the card memory is not enabled until the loader installs a module on it, memory management packages may try to use the same address as the card. This must be prevented since it blocks any access to the card's memory and renders the card inaccessible.
Page 31
When running PFBINST, the monitor displays the version number, the name of the module (read from the module itself), and the module version number. For example: 5136-PFB-ISA104 *.SS1 Module Installer Copyright (c) 1995 SST, a division of Woodhead Canada Limited. Version 1.00 ;ProfiBus Module (DP, FDL) ;Copyright (c) 1995 SST, a division of Woodhead Canada...
Page 32
Installation PFBINST may display some of the following messages. If PFBINST encounters a problem, it may also display an explanation of possible causes of the problem. Module file_name not found Possible Causes of this error: 1. The *.SS1 module specified does not exist. 2.
Page 33
5136-PFB-ISA Hardware Manual PFBINST tests access to various control bits on the card. If it cannot access them correctly, it aborts the installation and displays possible causes. *** Non-FF values detected at xxxx PFBINST looks through the area where you have told it to locate the card in memory before it enables the card memory.
Installation The card software module did not start up correctly. PFBINST may print an error message that further describes the nature of the problem. Installation Aborted by Ctrl-C PFBINST displays this message if the program is interrupted while it is loading a module to the card.
Page 35
5136-PFB-ISA Hardware Manual Copyright (c) SST, a division of Woodhead Canada Limited. 1995-1996 Version 0.06 Use: PFBPGRM <filename> [port] [mem_seg] filename - *.SSF module to load into PFB flash (.SSF will be added) [] indicates optional parameter. port: port address of 5136-PFB-ISA104 card. Must match DIP switch setting Value is in hex.
Page 36
Installation PFBPGRM Messages PFBPGRM may display some of the following messages. If PFBPGRM encounters a problem, it displays an explanation of possible causes of the problem. Invalid Port Address Specified 'xxx' (200-2f8, 600-6f8 in steps of 8) ABORTING INSTALLATION! The port address specified is not a legal value. Invalid Memory Address Specified 'xxxx' (8000-fc00 in steps of 400) ABORTING INSTALLATION!
Page 37
5136-PFB-ISA Hardware Manual *** Unable to access card memory at ssss:xxxx! PFBPGRM enables and clears the card memory, then reads back the first 16 bytes to confirm that they are zero. If it finds values other than 0, it aborts the installation.
Page 38
Installation ABORTING FLASH PROGRAMMING! PFBPGRM could not locate the.SSF file to load. Error in ‘filename’, Module Address xxxxxxxx out of range (0x40000000->0x40080000) The.SSF file is corrupt. Error in filename, Module Address xxxxxxxx Boundary Error (00000,20000,40000,60000) The.SSF module file is corrupt. Error in ‘filename’, Module Too Long xxxxxxxx (Segment Size=nnnnnnnn) The.SSF module file is corrupt.
Page 39
5136-PFB-ISA Hardware Manual *** Card Memory Error at ssss:xxxx! PFBPGRM loads the *.SSF module into card memory in preparation for writing it into flash. If it fails to verify what it has written, it displays this message and aborts. Check the flash write enable jumper.
2.6.3 PFBRUN This program runs a program previously stored in flash memory. The output is as follows: 5136-PFB-ISA104 Flash Module Runner Copyright (c) SST, a division of Woodhead Canada Limited. 1995-1996 Version 0.07 Use: PFBRUN [mem] [port] [Irq] [options] [] indicates optional parameter.
Page 42
Installation PFB Card Not Found at Port Address xxx PFBRUN writes to the port address specified and tries to read back what it wrote. If what it reads is different from what it wrote, the installation is aborted. *** Non-FF values detected at ssss:xxxx! PFBRUN looks through the area where told to locate the card in memory before enabling the card memory.
Page 43
5136-PFB-ISA Hardware Manual *** Downloaded Module Did Not Run! The card software module did not start up correctly. PFBRUN may print an error string that further describes the nature of the problem. Installation successful PFBRUN has successfully loaded the module on the card.
Installation 2.6.4 Return Values PFBINST, PFBPGRM and PFBRUN all return the following values as exit status to DOS. Value Meaning Installation Successful Invalid Parameter(s) Bad Port and/or Memory Address Card Memory Error Card Processor Failure Card Error Card Software Module not Found System Conflict.
5136-PFB-ISA Hardware Manual Connecting to a Network Selecting the Proper Line Type Use this table to determine which line type best suits your system requirements: Baud Rate Line A Distance Line B Distance Total Capacitance (bits/s) (Max) (Max) of all Drop Cables v19.2k...
Page 46
Installation DB9 Pin DB9 Termination Phoenix Phoenix Description Pin # with 5136-PFB-ISA Connector Termination reserved data - jumper this pin to Termination A (see diagram in this section of the manual) reserved Terminate the network at each physical end of the network, in two places.
5136-PFB-ISA Hardware Manual The Phoenix connector pins are: The Card LEDs There are two LEDs on the card. They are visible through the mounting bracket at the back of the card. The upper LED (closer to the network connectors) is the system status LED.
5136-PFB-ISA Hardware Manual Troubleshooting Installation This section describes what to do if: • the loader cannot download software to the card • the card cannot communicate on a network It also provides more detailed information on some common sources of problems.
Page 49
5136-PFB-ISA Hardware Manual Memory Managers If there is a memory conflict, check for a memory manager that is using the same memory location as the card. Bypass the files by pressing F5 when autoexec.bat config.sys DOS prompts with “Starting MS DOS”.
2.10 Using Flash Memory The 5136-PFB-ISA contains 512 Kbytes of sectored flash memory that is used to store a software module as well as DP master and DP slave configuration data and network parameters.To program a software module...
Page 51
5136-PFB-ISA Hardware Manual If you are using the 5136-PFB-ISA in embedded applications, you can load everything you need into flash memory when the card is in a PC, then move the card to the destination embedded environment. If you need further information about loading programs into flash, contact SST.
Card Registers This section describes the card registers, and is provided as a reference. The registers are as follows: • register offsets • the board control register (BCR) • the memory control register (MCR) • the memory page register (MPR) •...
5136-PFB-ISA Hardware Manual Card Registers The information in the following sections is provided for reference and may be needed when writing applications for the card. 3.1.1 Register Offsets Four read/write registers are used in the host I/O map. The base address for these registers is the port address described in section.
Page 56
Card Registers The card sets bit 6, I960_FAIL, to indicate the current state of the i960 fail pin. Permissions are not set to write to this bit; regardless of what is written, it will always show the status. The loader or programmer monitors this bit on startup.
Page 57
5136-PFB-ISA Hardware Manual 3.1.3 The Memory Control Register (MCR) The MCR determines where in host memory the shared memory on the card is mapped. Enable The card contains 256 Kbytes of shared memory. 16 Kbytes of this memory can be mapped into the host memory at one time. The host writes to the MCR to determine where in host memory this 16K appears.
Card Registers 3.1.5 The Interrupt Control Register (ICR) The ICR selects which host interrupt the 5136-PFB-ISA uses. The ICR bits are defined as follows: INT_PEND INT_CHN Int_sel_3 Int_sel_2 Int_sel_1 Int_sel_0 _PEND Bits 0, 1, 2 and 3 set the host interrupt.
Technical Data Part number 5136-PFB-ISA Function Interface card for ProfiBus DP, FMS and FDL (layer 2) networks Description single width, half length, surface mount card Intel i960 processor 512 Kbytes of local i960 RAM 256 Kbytes of onboard shared memory, accessible from the...
Page 61
5136-PFB-ISA Reference Manual CISPR22 Compliance This device meets or exceeds the requirements of the following standard: • CISPR22:1997/EN 55022:1994 - “Information technology equipment – Radio disturbance characteristics – Limits and methods of measurement.” Caution This is a Class A product. In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures.
Need help?
Do you have a question about the 5136-PFB-ISA and is the answer not in the manual?
Questions and answers