All rights reserved. Any reproduction of this Instruction Manual, in any form, in whole or in part,
requires the prior written consent of Fife Corporation.
The information given in this Instruction Manual is subject to change without notice.
We have compiled this Instruction Manual with the greatest possible care and attention. However, the
possibility of error cannot be completely excluded. Fife Corporation accepts no legal liability for
incorrect information given and the consequences arising therefrom.
AnyBus is a registered trademark of HMS Industrial Networks AB.
All other trademarks are the property of their respective holders.
SBPC-21-PB CUSTOMER INSTRUCTION MANUAL
TABLE OF CONTENTS
• • • • • •
GENERAL INFORMATION ............................................................................................................................1
The Fife SBPC-21-PB (Serial Bus Protocol Converter) provides a gateway between Fife’s proprietary
FifeNet network and Profibus™. Using the SBPC-21-PB, data originating from FifeNet can be sent on
Profibus and data from Profibus can be sent to FifeNet.
Profibus DP Overview
The supported media for the SBPC-21-PB Profibus is a shielded copper cable consisting of a twisted
pair. The baud rate for the bus is between 9.6K baud to a maximum 12M baud. The Profibus DP
network is able to carry 126 nodes and the total amount of data for Profibus DP is 244 bytes out per
module and 244 bytes in per module. Node 126 is only used for commissioning purposes and should
not be used to exchange user data. An example of a Profibus network with an SBPC-21-PB is shown
in the diagram below.
Figure 1-2: Example of an SBPC-21-PB Network Connection
Profibus DP
Master
Profibus DP
Slave #1
Profibus DP
Slave #2
Profibus DP
Slave #3
FifeNet
RS-232
Profibus
The SBPC-21-PB connects
to both FifeNet and Profibus
providing translation between
two networks.
Auto Baud Rate Detection Supported Baud Rate Range: 9.6 kbit to 12Mbit
PHYSICAL INTERFACE
Transmission Media Profibus Bus Line, Type A or B Specified in EN 50170
Topology Master-Slave Communication
Fieldbus Connector 9-Pin Female DSUB
Cable Shielded Copper Cable, Twisted Pair
Isolation
Profibus DP Ccommunication IC SPC3 Chip from Siemens
The bus is galvanically separated from the other electronics with an on-board DC/DC
converter. Bus signals (A-line and B-line) are isolated via optocouplers.
Producer/Consumer Model
The Producer/Consumer Model allows the exchange of information between a sending device
(“producer”) and many receiving devices (“consumer”) without requiring the same data to be sent
multiple times to different destinations. The producer sends the data once and each consumer on the
network receives the data at the same time. The data can be used (“consumed”) or ignored by each
receiving device independently. FifeNet uses the Producer/Consumer Model.
FifeNet
FifeNet’s deployment of the Producer/Consumer Model allows data sent by a single device to be
received simultaneously by multiple devices on the same network. Each receiving device can choose
to use (“consume”) the information or ignore it as its needs dictate. FifeNet is based on a fixed time
slicing architecture where transmitting devices send data in fixed, predetermined time intervals.
Since the SBPC-21-PB participates in two networks at the same time, it must have two network
addresses (a FifeNet address and a Profibus node address). The FifeNet address is set via the
FifeNet serial port, which is common with many FifeNet peripherals. The Profibus master sets the
baud rate for the Profibus network. If the SBPC-21-PB is installed as the end point in a FifeNet
network, the jumpers shown below should be installed to provide network termination.
Figure 2-2: SBPC-21-PB Top View
These jumpers should be installed if the
SBPC-21-PB is at the end of a FifeNet
network. They provide network
termination. The other two jumpers
should always be installed as they
select half-duplex FifeNet
communication.
Terminated Not Terminated
Profibus Termination
The end nodes in a Profibus DP network must be
terminated to avoid reflections on the bus line. To
accomplish this, the Profibus DP module is equipped
with a termination switch. If the module is used as the
first or last module in a network, the termination switch
must be in the ON position. Otherwise, the switch
must be in the OFF position. If an external termination
connector is used, the switch must be in the OFF
position.
The termination dip switch can only be accessed with
the SBPC-21-PB top cover removed. To enable
termination, the switch must be in the OFF position.
Termination Switch Position
OFF Up toward top cover.
ON Down toward circuit board.
The 7-segment LED is
used to display errors or
exceptions. During normal
operation, the display will
continuously “cycle” the
outer segments.
Profibus node address switches.
See the following page for
description of these switches.
SBPC-21-PB mounting considerations are simplified as all connections to the SBPC-21-PB are on the
same side of the box. The node address and rotary switches are accessible after removal of the plastic
hole plugs which should be reinstalled after configuration is completed.
Figure 1-3: SBPC-21-PB Side View
Connection to FifeNet is
accomplished using the
standard FifeNet
connector. Configuration
is also downloaded using
this connection.
LED indicators provide
feedback for network
troubleshooting.
Pin Name Signal
Housing Shield Connected to PE.
1 Not connected
2 Not connected
3 B-Line Positive RXD/TXD
4 RTS Request to Send1
5 GND BUS Isolated GND from RS-485 side1.
6
7 Not connected
8 A-Line Positive RXD/TXD
9 Not connected
1
+5V Bus and GND Bus are used for bus termination. Some
devices, like optical transceivers (RS485 to fiber optics), might
require external power from these pins. RTS is used in some
equipment to determine the direction of transmission. In normal
applications only A-Line, B-Line, and Shield are used.
+5V BUS Isolated +5VDC from RS-485
D-SUB Connector
1
.
side3
The Profibus Node address is set using these
rotary switches. This enables address settings
from 1-99 in decimal format. The left switch
sets the most significant digit and the right
switch sets the least significant digit. The node
address cannot be changed during operation.
Profibus DP Baud Rate
The baud rate on a Profibus DP network is set during configuration of the master. Only one baud rate
is possible in a Profibus DP installation. The SBPC-21-PB uses auto baud rate detection so the user
does not have to configure the baud rate. Baud rates supported are:
The SBPC-21-PB network status is determined by interpretation of the external LED status indicators
as described below.
Figure 1-4: SBPC-21-PB LED Indicators
Table 1-1
ONLINE
LED State Meaning
Green
Off Module is not ONLINE
LED State Meaning
Red
Off Module is ONLINE.
LED State Meaning
Off No faults present.
Flashing Red (1 Hz)
Flashing Red (2 Hz)
Flashing Red (4 Hz)
Indicates that the module is
ONLINE and data exchange is
possible.
OFFLINE
Indicates that the module is
OFFLINE and no data exchange is
possible.
FAULTS
Error in configuration: IN and/or
OUT length set during initialization
of the module is not equal to the
length set during configuration of the
network.
Error in user parameter data: The
length/contents of the user
parameter data set during
initialization of the module is not
equal to the length/contents set
during configuration of the network.
Error in initialization of the Profibus
communication ASIC.
The 7-segment LED digit on the SBPC-21-PB main board is used to indicate errors or other potential
problems. See page 2 of this manual for the location of this LED. The error codes are divided into the
categories listed below. Since there is only a single-digit display and the error codes are 3 digits in
length, the error codes are displayed in three parts. The most significant digit will appear first followed
by the second and third digits. The display will go blank for a moment and the cycle repeats unless the
SBPC-21-PB has been configured to attempt to restart after an error. If this is the case, the error will
only cycle once. All state machine errors 5XX are considered nonfatal and only cycle once. Below are
the error codes and their meanings:
Table 1-2
SBPC PROCESSOR ERRORS
F01 Processor attempted to execute and undefined instruction.
F02 Software interrupt vector occurred.
F03 Attempt to fetch instruction from invalid memory.
F04 Attempt to read data from invalid memory.
F05 Reserved exception vector.
F06 FLASH memory checksum fault.
F07 Pool memory allocation error.
F08 Byte memory allocation error.
F09 Unable to create thread.
F0A Unable to create event.
F0B Unable to create semaphore.
F0C Unable to create mutex.
F0D Unable to create queue.
F0E Unable to write to queue.
F0F Console I/O error.
COMMUNICATION MODULE ERRORS
E01 The configuration matrix is corrupted.
E02 No HMS Anybus module detected.
E03 Anybus module failed to initialize (no interrupt received).
E04 Anybus module failed to initialize (interrupt stuck).
E05 Anybus module failed to initialize (mailbox not ready).
E06 Anybus mailbox timeout.
E07 Anybus mailbox response indicated error.
E08 Anybus mailbox response timeout.
E09 Anybus dual-port RAM fault.
E0A Anybus output area release timeout.
E0B Anybus initialization timeout.
STATE MACHINE ERRORS
501 State machine file is corrupted.
502 State machine is disabled.
503 State machine started in shutdown mode.
504 Bad state machine instruction encountered.
505 State machine instruction fetch from address is out of range.
506 State machine stack error (too many nested calls).
507 State machine stack error (too many returns).
508 State machine attempted divide by zero.
509 State machine tried to access more than four timers.
50A State machine variable address is out of range.
Errors that begin with ‘F’
are unrecoverable faults.
The SBPC cannot
participate in FifeNet or
Profibus operations. In
the default configuration
the SBPC will attempt to
restart.
Errors that begin with ‘E’
are associated with the
Profibus interface. In the
default configuration, the
SBPC will attempt to
restart. With the
exception of error ‘E01,’
FifeNet is functional;
however, the default
configuration will attempt
to restart which will
interrupt FifeNet.
Errors that begin with ‘5’
are related to the state
machine capability of the
SBPC. These errors are
cycled only once and do
not cause the SBPC to
restart.