SST 5136-PFB-VME Profibus Interface Card
Card Overview
The 5136-PFB-VME card can be used as a
– as DP slave
– as DP master
– Send and receive FDL (Layer 2) messages
The card supports simultaneous operation in all these modes.
The card supports the standard ProfiBus baud rates of 9.6K, 19.2K, 93.75K, 187.5K, 500K, and 187.5K,
187.5K, 500K, 750K, 1.5M, 3M, 6M and 12M baud rates.
The card has an onboard Intel i960 processor and 512 Kbytes of local RAM,
The card has an on-board Intel i960 processor and 512 Kbytes of local RAM, which handles the communication protocols and data formats into shared RAM.
The 5136-PFB-VME includes
a VME bus interface with functions as described in the “Specifications” section of this manual
Five registers in the VME short address space for controlling the card. The card also has a 256 kilobyte RAM that
It is shared with the host in either a single 256-kilobyte block (linear addressing mode) or one of sixteen 16-kilobyte pages (paged mode).
In paged mode, the host decides which page of the shared RAM to map into host memory by writing to a register on the card.
This block of memory contains all the tables and buffers used to pass information between the interface card and the application software running on the host.
Passing information between applications running on the host. This method ensures a quick and easy connection between the card software.
In addition, the interface card has 512 Kbytes of segmented flash memory for storing program and configuration data. Program and configuration data.
ProfiBus configuration information can also be stored in the flash memory.
Access rights
The 5136-PFB-VME provides 8-bit access to objects in the short address space and 8-bit and 16-bit access to objects in the standard address space.
The VME master selects whether a particular bus cycle accesses the short address space, the standard address space, or the long address space (extended address space) by using the address modifier code,
Extended Address Space, Standard Address Space, Extended Address Space, or Long Address Space (Extended Address Space and Long Address Space are not used by the 5136-PFB-VME) for a particular bus cycle, as well as the type of access.
The card decodes these address modifier codes and determines the object to be accessed.
In addition to selecting one of the four available spaces on the VME bus, the address modifier code selects
– Whether the master is performing supervised or unprivileged accesses
– Whether the access is to program space or data space (all accesses except short address space)
– Whether it is a single object access or a block access
The 5136-PFB-VME can respond to address modifier codes 3Dh, 39h, 2Dh, and 29h.
Regulatory or unprivileged data accesses can be made to the standard address space (3Dh and 39h, respectively).
Supervised or unprivileged access to the short address space (2Dh and 29h, respectively) is available.
Accessing the board with an unsupported address modifier code results in a VMEbus error.
Bit 7 of the board DIP switch is used to select whether to allow supervisory access only, or both supervisory and unprivileged access.
Startup Card
Before using the 5136-PFB-VME card on ProfiBus, download the PFBPROFI software module to the card and configure and run the software module.
Download the software module to shared memory from the host computer,www.abb-drive.com or download it to flash memory using the serial CONFIG port on the card.
The shared memory module is called vmeprofi.ss1. The module in flash memory is called vmeprofi.ssf.
To run the software module, load the appropriate initial boot record (IBR, see Section 2.7.3. Initial Boot Record) to the card.
There are two IBRs, one for running the module from flash memory and one for running the module from shared memory.
It is possible to install one module in flash memory and another in shared memory and run one or the other depending on the IBR used.
When the card is first received, the only software on the card is a short bootloader program in flash memory.
Use this bootloader to access the card and download the software modules to the card via the serial port.
Loading the VMEPROFI Module into Shared Memory from the Host Computer
Use the following steps to load vmeprofi.ss1 into shared memory from the host computer
Load vmeprofi.ss1 into shared memory from the host:
1. Ensure that the board processor is in a reset state by setting the CpuReset bit in the board control registers to 1.
2. Set the standard memory address using the address bits in the Memory Control Register and the Interrupt Control Register.
3. select the addressing mode (linear or paging) and enable the board memory. 4.
4. if using interrupts, initialize the interrupt ID register and enable interrupts in the interrupt control register.
5. copy vmeprofi.ss1 to shared memory on the card. In linear mode, copy the module starting at offset 0 only.
In paged mode, copy one 16 Kbyte module at a time and change pages as needed.
6. Write the shared memory initial boot record. In linear addressing mode, write base address + 3FF30h.
In paged mode, set the page register to FFh and write the IBR to base address + 3F30h.