SPA-ZC 302 Profibus-DPV1/SPA Gateway: Installation and Commissioning Manual
SPA-ZC 302 Profibus-DPV1/SPA Gateway: Installation and Commissioning Manual
SPA-ZC 302 Profibus-DPV1/SPA Gateway: Installation and Commissioning Manual
Profibus-DPV1/SPA Gateway
3
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
4. Commissioning ...................................................................... 27
4.1. Hardware set-up ......................................................................... 27
4.2. New configuration ....................................................................... 28
4.3. Multislave configuration .............................................................. 30
4.4. Downloading configurations ........................................................ 31
4.5. Gateway initialization .................................................................. 33
4.6. Time synchronization .................................................................. 33
4.7. In Use flags ................................................................................. 34
5. Profibus-DPV1/SPA Gateway Configuration Tool ............... 35
5.1. Program overview ....................................................................... 35
5.2. Starting PCT ............................................................................... 35
5.3. Main view .................................................................................... 36
5.4. PCT menus ................................................................................. 36
5.4.1. File menu ......................................................................... 37
5.4.1.1. Open .................................................................. 37
5.4.1.2. Print ................................................................... 37
5.4.1.3. Save / Save As .................................................. 37
5.4.1.4. Exit ..................................................................... 37
5.4.1.5. Export csv .......................................................... 37
5.4.2. Device menu .................................................................... 37
5.4.2.1. Download/upload configuration (as) .................. 38
5.4.2.2. Download/upload archive .................................. 38
5.4.2.3. Upload diagnostics ............................................ 38
5.4.2.4. Clear diagnostics ............................................... 38
5.4.2.5. Get firmware version .......................................... 39
5.4.3. Settings ............................................................................ 39
5.4.4. Slave menu ...................................................................... 39
5.4.5. View ................................................................................. 40
5.4.5.1. Refresh .............................................................. 40
5.4.6. Help ................................................................................. 40
5.4.7. Configuration options ....................................................... 40
5.4.7.1. SPA configuration .............................................. 40
5.4.7.2. Profibus configuration ........................................ 41
5.4.8. Template info ................................................................... 42
5.4.8.1. Analog input ....................................................... 42
5.4.8.2. Digital input ........................................................ 43
5.4.8.3. Digital input, packed data type ........................... 46
5.4.8.4. Analog output ..................................................... 46
5.4.8.5. Digital output ...................................................... 47
5.4.8.6. Indirect SPA Messages ..................................... 48
5.4.8.7. Scaling of messages .......................................... 49
5.4.9. Message priority .............................................................. 50
4
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
5
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
1.1. Copyrights
The information in this document is subject to change without notice and should not
be construed as a commitment by ABB Oy. ABB Oy assumes no responsibility for
any errors that may appear in this document.
In no event shall ABB Oy be liable for direct, indirect, special, incidental or
consequential damages of any nature or kind arising from the use of this document,
nor shall ABB Oy be liable for incidental or consequential damages arising from use
of any software or hardware described in this document.
This document and parts thereof must not be reproduced or copied without written
permission from ABB Oy, and the contents thereof must not be imparted to a third
party nor used for any unauthorized purpose.
The software or hardware described in this document is furnished under a license
and may be used, copied, or disclosed only in accordance with the terms of such
license.
Copyright © 2008 ABB Oy
All rights reserved.
1.2. Trademarks
ABB is a registered trademark of ABB Group. All other brand or product names
mentioned in this document may be trademarks or registered trademarks of their
respective holders.
1.3. General
This manual provides thorough information on SPA-ZC 302, which is an interface
module for SPA bus protection relays providing connectivity to the Profibus DP
fieldbus.
7
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
Although warning hazards are related to personal injury, and caution hazards are
associated with equipment or property damage, it should be understood that
operation of damaged equipment could, under certain operational conditions, result
in degraded process performance leading to personal injury or death. Therefore,
comply fully with all warning and caution notices.
1.5. Terminology
The following is a list of terms associated with SPA-ZC302 that you should be
familiar with. The list contains terms that are unique to ABB or have a usage or
definition that is different from standard industry usage.
Term Description
1.6. Abbreviations
ABS AnyBus
DP Data processing
GND Ground
I/O Input/output
8
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
9
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
2. Introduction
The SPA-ZC 302 is an interface module for SPA bus protection relays, that provides
connectivity to the Profibus DP fieldbus. The Profibus DP specification and the
structure of its messages are defined in the European standard EN50170. The
SPA-ZC 302 is referred to as gateway hereinafter in this document.
The mechanical and electrical connection of the gateway to relays with SPA bus
interface is described in Chapter 3. Installation. Gateway programming is described
in Chapter 4. Commissioning.
As a prerequisite, you should understand the communication properties of the
protection relays that is to be connected to the gateway. This information is available
in the manual for the protection relay in question. It is also necessary to have basic
understanding of the Profibus DP master system that is going to be connected to the
gateway.
2.1. Features
• Profibus DP Version 1 connectivity for devices with SPA bus interface
• Internal power supply
• Support of SPA bus interface with RS-485, RS-232 or TTL levels
• Easy-to-use configuration tool
• Library of pre-defined standard configurations
• Support of user defined SPA messages in acyclic Profibus messages
• Support of RS-485 Profibus interface
• Support of circuit breaker control operations in selected configurations
• Support for up to 16 SPA slaves
• Reading multiple binary data by using SPA (packed data read features in
templates)
All relay data can be accessed through the SPA-ZC 302 gateway. If the standard
configuration templates do not include needed data, contact your ABB
representative.
11
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
1 Profibus D-connector
2 SPA bus D-connector
3 Profibus communication LEDs
For details, see Section 8.3.1.
4 SPA communication LEDs
For details, see Section 8.3.1.
5 DIP switches
6 Auxiliary power connector
A050293
With REF 541/3/5, RET 541/3/5 and REM 543/5, the following
cable information must be noticed:
• SPA-ZC 302 to port X3.2 (RS-232, protocol 2). Use cable
1MRS120513-003. This has to be ordered separately.
• SPA-ZC 302 to port X3.3 (RS-485, protocol 3). Use cable
1MRS120541 included in the delivery of SPA-ZC 302.
12
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
The new template file format is not compatible with the old PCT
tool.
13
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
3. Installation
This chapter describes the mechanical installation of the SPA-ZC 302 module. It
also describes the electrical configuration of the gateway for different SPA bus types
and supply voltages. For additional information, refer to Chapter 7. Technical data
and Chapter 8. Maintenance and service.
3.1. Application
A Profibus-DPV1/SPA gateway is used to connect SPA bus devices to the Profibus
DP fieldbus.
OPC Clients
Ethernet 1
Local Area Network
Engineering
Station
Profibus
Master
Profibus DP
21
21 SPA-ZC 302
SPA-ZC 21
A050290
15
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
Profibus requires that the last device in the daisy chain must be
terminated.
In addition, there is an earthing screw for the protective earth conductor beside the
screw terminals in the casing. Refer to Fig. 2.2.-1 for the location of the auxiliary
power connectors.
16
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
The pin numbers of the RS-485/Profibus DP version 1 bus connection are presented
in Table 3.3.2.1-1.
A050339
17
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
18
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
The SPA baud rates can be set through the Profibus-DPV1/SPA Configuration Tool
(PCT), to match the connected relay. If several relays are connected, they all use one
common baudrate.
For the safety, set the active DIP switches to OFF position before
switching on the new settings when changing the interface type.
Only one interface type must be active at a time. The state of the DIP
switches can be changed without turning the power off.
A050336
19
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
In the gateway version 2.0, the DIP switch configuration has changed from the
version 1.03.03, see Fig. 3.3.3.3.-2 for the new ON-OFF direction.
20
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
A050292
21
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
7 7
9 9
Terminal Block
9-pin female D-connector
A050352
Fig. 3.3.3.5.-1 Interface cable coupling when using RS-485 with, for example,
REX 521, RE_610, SACO annunciator unit
22
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
2 2
3 3
7 7
9 9
3 3
5 5
23
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
SPA-ZC 302
21
21
SPA-ZC 21
A050338
24
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
To view the manuals, you can use the free Adobe Reader software.
Adobe Reader 7.0 for Windows XP and Windows 2000 SP2 are
included in the installation CD. To install the Reader, start the
Adobe Reader installation file located in the ADOBE READER 7.0
folder on the CD. If your operating system is older than Windows
XP or Windows 2000 SP2, you have to install the Reader by
downloading the appropriate version for the operating system from
http://www.adobe.com.
25
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
4. Commissioning
This chapter describes the commissioning of the gateway by using Profibus-DPV1/
SPA Configuration Tool (PCT).
The commissioning phase includes following actions in short:
1. Set the gateway to configuration mode.
2. Connect the PC containing the Profibus-DPV1/SPA Configuration Tool to the
gateway.
3. Open a standard configuration and define the SPA addresses and scaling. In a
multislave project, you can import several standard configurations to the
different slave sections in PCT. For more information, refer to Section 4.3.
Multislave configuration.
4. Save the configuration with a new name.
5. Download the configuration and, optionally, the source to the archive.
6. Connect the gateway to the protection relays and start it up.
7. Connect the gateway to the PC again and upload the configuration.
8. Verify that the appropriate In Use flags are checked.
See the following sections for details about the actions.
SPA
RS485
RS232
SPA-ZC 302
Off-line Acyclic Address Profibu
On-line Diagnostics s
RS485
SPA INTERFACE
RS485 0000000 1111
TTL 0000011 0000
RS232 0111000 0000
+8V 1
EXTERNAL POWER
Uaux
SPA-ZC 302
110...240VAC
110...220VDC
gateway
- +
N L
1 2
CE
ConfigSetup_a
27
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
Ensure that PCT is set to use the serial port that the cable is connected to. Check this
by selecting Settings > COM in the main menu in PCT. For details about PCT, see
Section 5.2. Starting PCT. PCT adjusts the COM port settings of the PC
automatically.
A050341
A050295
28
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
If the connected SPA slave is a SPACOM relay with several modules and addresses,
such as SPAD 346 C or SACO 64D4, the standard configuration can have several
addresses defined in it already. In this case, PCT automatically creates a tabbed page
for each address or slave module.
If you do not have a suitable standard configuration or you have a standard
configuration made for one of the modules, you can do as follows:
1. Open the configuration.
2. Add the slaves for each module.
3. Import the configuration again for each slave as if there were several relays
connected.
Select a signal in the Template info field in the PCT and click the Edit button, or
double-click on the signal. A dialog is opened where you can set the SPA slave
address for that signal, see Fig. 4.2.-3 number 1.
Profibus_Value
SPA_Value = ---------------------------------------------------------------------------------------
Decimal_place
( parameter scaling × 10 )
Decimal_place
Profibus_Value = SPA_Value × ( parameter scaling × 10 )
29
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
5. Once you have defined a configuration, you can save, use, and re-use it to
connect the same type of protection relay or a system of multiple relays to a
gateway. The configuration is preferably saved on a different location on the
disk, and with a different name than that of the standard configuration template.
6. Define the Profibus address by either setting the address selectors on the front of
the gateway to the selected address, or by setting the selectors to zero and
defining the selected Profibus address in PCT. For details, see Section 5.2.
Starting PCT. To read the address selectors correctly, the gateway should be
held so that the Profibus DP connector is situated on the left side of the address
selectors. If the address is set by using the address selectors, the gateway must
be restarted before the address takes the effect. The address selectors are marked
as High Digit or Low Digit in the gateway.
A050295
A050340
Fig. 4.3.-2 Template info field with tabbed pages for the different slaves
30
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
A050341
31
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
2. Ensure that the correct COM port is selected from the Settings > COM menu in
PCT.
3. Also ensure that the gateway is in configuration mode. Configuration mode is
enabled by using the DIP switches on the front of the gateway, see Section
3.3.3.3. DIP switch configuration.
4. Select Device > Download configuration in the main menu. The configuration
is now downloaded and a confirmation dialog is displayed. Click OK to confirm
the download, see Fig. 4.4.-1.
A050353
32
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
The SPA event mask has to be open for these signals. Only one SPA
master can read events from the SPA slave at a time.
33
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
1)When the gateway detects a change in this field, it will update the internal date and
time counter to be used when synchronizing the SPA slave device. The time
synchronization is enabled by selecting the option in PCT, for details see
Section 5.4.7.1.
34
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
35
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
A050294
Fig. 5.3.-1 Main view of the Profibus DP/SPA Gateway Configuration Tool
The PCT main view consists of the following fields, see Fig. 5.3.-1:
1. Title Bar
2. Main Menu
3. Toolbar
4. SPA Configuration field
5. Profibus Configuration field
6. Template info field with one tabbed page for each slave
7. Indirect SPA Messages
8. Total template size field
36
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
A050342
5.4.1.1. Open
To open a ready-made configuration file in the PCT, select File > Open in the main
menu, or click on the corresponding icon in the toolbar. Select the wanted
configuration in the dialog, and click Open. The selected configuration will be
shown in the Template info field on the right. You can modify the configuration by
selecting the signal that you want, and clicking Edit, or by double-clicking on the
signal. For details see Section 5.4.8. Template info.
5.4.1.2. Print
To print, select File > Print in the file menu, or click on the print icon in the toolbar.
A print dialog is opened in which you can select printing options. Confirm the dialog
by clicking OK. To cancel, click Cancel to close the dialog.
5.4.1.4. Exit
Select File > Exit in the main menu to exit the program. If a document with unsaved
changes is open, a dialog will prompt you to save the changes first.
37
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
All operations in this menu are possible to perform only when the gateway is in
configuration mode. For details, see Section 8.4. Troubleshooting.
A050337
The old gateway does not support event channel or packed data
types.
38
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
A050355
5.4.3. Settings
In the Settings drop-down menu, you can select serial port COM1, COM2, COM3
or COM4.
A050297
39
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
5.4.5. View
In the View drop-down menu, you can select whether to show or hide the toolbar
and the status bar in the window.
5.4.5.1. Refresh
To refresh the information in the Template info field, select View\Refresh in the file
menu, see Fig. 5.4.5.-1. The configuration file that is currently open in the Template
info window is reloaded from the disk.
5.4.6. Help
In the Help menu you will find the About function that shows general information
about the PCT.
SPA Baudrate In this drop-down box, you can select the baudrate to be used by
the gateway when communicating with the protection relay. The
default value is 9600 bauds.
SPA Reply In this text field, you can define the value that will be used by the
Timeout SPA gateway as a timeout value. Valid timeout values are 10 ms
to 500 ms. Default value is 50 ms.
SPA Idle Time In this text field, you can define the Idle time. Idle time is the time
that the gateway will wait before sending the next SPA message
when receiving the response of the previous sent SPA message.
Valid Idle time values are 5 -10 ms. The default value is 5 ms.
40
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
SPA Com Retry In this text field, you can define how many times the gateway will
Count retry sending a message when failing to get a valid response before
continuing with the next message. Valid values are 1-32 times.
The default value is 2.
Global Poll In this field, you can define the idle time of event based updating
Interval of digital inputs. If the SPA events are present in the SPA slave,
then they are automatically polled with 100 ms interval until the
SPA slave has not got anymore events. After this, the gateway
checks the SPA slave event buffer with the time interval specified
in this parameter. Default value is 3000 ms.
Global Event By selecting the check box, you can enable polling of SPA
Poll Events.The events will be stored into the Event buffer. When
disabled, the polling of events will not be performed at all. Event
functionality is used by some standard configurations for updating
the state values. For details, see Section 6.3. Usage and purpose of
SPA protocol events.
Time By selecting the check box, you can enable the synchronization of
Synchronization the SPA slave device. If it is enabled, it will be necessary to
Support provide the gateway with the correct time. If the time
synchronization is disabled, the gateway will not synchronize the
SPA slave devices attached to the gateway.
This function requires a Profibus DP version 1 master which is
capable of index/slot addressing of acyclic messages.
Date By selecting the check box, you can enable the synchronization of
Synchronization the SPA slave device. If it is enabled, it will be necessary to
support provide the gateway with the correct date. If the Date
synchronization is disabled the gateway will not synchronize the
SPA slave device attached to the gateway.
This function requires a Profibus DP version 1 master which is
capable of index/slot addressing of acyclic messages.
Default In this text field, you can configure the default Profibus Node
Profibus Adr. Address of the gateway. Valid node addresses are 1-126 for the
Profibus DP Version 1 module. A value between 100-126 is
recommended. Default address is 125.
Decimal Place In this text field, you can set how many decimals shall be used
when the value is passed to Profibus DP. Valid values are 0-6.
Default value is 2. (Since the SPA slave devices can use 10 integer
digits and 10 decimal digits, there will be a loss of precision when
using too many decimals digits together with integer digits.) For
details, see Section Section 5.4.8.7. Scaling of messages.
41
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
42
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
A050343
43
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
A050296
Ch/Cat/Dno Channel (Ch), Category (Cat), and the Data number (Dno)
where the specific Digital values are read from the SPA slave
device.
Datatype Defines if the SPA data is treated as a single-bit (S), double-bit
(D), a hexadecimal value (H) or packed (P).
EventStart First event to be used when matching an Event for updating the
digital input.
44
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
EventVals A 2-bit value to be used when updating the digital inputs when
matching an Event from the range EventStart to Event End.
That is, the event defined in the EventStart field gets the first
value and all subsequent events up to EventEnd get the
following values.
Example:
In case the settings for a digital input configuration for SPA
channel 31 are the following: EventStart = 0, Event End = 1,
EventVals = 0,1,0,0, then the events of the SPA slave device
will update the value of the digital input to the Profibus as
follows:
Profibus value
SPA event code
of digital input
E0 0
E1 1
In Use The In Use flag indicates if the parameter was found in the
connected SPA slavedevice during the initialization phase. In
the Template info Field the In Use flag is marked with number
1. A zero indicates that the parameter was not found. For details
see Section 4.7. In Use flags.
Priority check box By checking the Priority check box you can define that the
message should be polled more frequently than other messages.
This is indicated by the letter P (prioritized) after the signal
name in the Template info field. If the signal is not prioritized
the letter N (normal) can be seen in the Template info field. The
default is N. For details, see Section 5.4.8. Template info.
Digital inputs can be updated in two ways:
• By matching an event read by SPA L or B command to the corresponding events
defined in the digital input (EventStart to EventEnd).
• Polling values directly from SPA slave devices. These digital inputs should not
have any events defined in EventStart or EventEnd. If both of these fields are
zero, the digital input should be updated on a regular basis by polling the values
from the SPA slave device.
45
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
A050368
46
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
Size 16 bit or 32 bit that defines the size of the Analog field in the
Profibus DP, the default is 32 bit. This affects the total template
output bytes.
In Use The In Use flag indicates if the parameter was found in the
connected SPA slave device during the initialization phase. In
the Template info field the in Use flag is marked with number 1.
A zero indicates that the parameter was not found. For details,
see Section 4.7. In Use flags.
Priority check box By selecting the Priority check box, you can define if the
message should be polled more frequently than other messages.
This is indicated by the letter P (prioritized) after the signal name
in the Template info field. If the signal is not prioritized, the
letter N (normal) can be seen in the Template info field. The
default is N. For details, see Section 5.4.8. Template info.
A050350
47
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
In Use The In Use flag indicates if the parameter was found in the
connected SPA slave device during the initialization phase. In
the Template info Field the In Use flag is marked with number
1. An unchecked box indicates that the parameter was not found.
For details, see Section 4.7. In Use flags.
Priority check box By selecting the Priority check-box, you can define if the
message should be polled more frequently than other messages.
This is indicated by the letter P (prioritized) after the signal name
in the Template info field. If the signal is not prioritized the letter
N (normal) can be seen in the Template info field. The default is
N. For details, see Section 5.4.8. Template info.
It is possible to add and remove indirect SPA messages by clicking the buttons in
the indirect SPA message field in the main window, see Fig. 5.3.-1 number 7.
To add a new indirect SPA message, click the Add button. An empty variable row
will be added in the indirect SPA message list. To edit the new indirect SPA
message, select the new message in the list and click the Edit button, or double-click
on the signal. A dialog where you can edit the settings pops up. The PCT assigns the
message number for the indirect SPA message. This message number is used when
configuring the Profibus master. The numbering starts from one and it follows the
row numbers of the indirect SPA messages in the PCT.
You can also remove an indirect SPA message. Select the SPA message that you
want to remove and click the Remove button.
To configure the settings of the indirect SPA messages, do as follows:
1. Select the signal you want to configure and click the Edit button, or double-
click on the signal.
2. A dialog is opened where you can modify the settings of that specific signal, see
Fig. 5.4.8.6.-1. The fields that you cannot configure are dimmed.
3. To save the new settings, click OK. To cancel, click Cancel to discard all the
changes.
48
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
49
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
The scaling factor is configurable when you select a signal of Indirect SPA message
type and click Edit. The default value is 1.
50
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
The configuration warning bit is also raised upon a NACK message from the IED connected
to the SPA-ZC302. The IED sends the NACK message, for example, if the control operation
access is denied or an interlock situation. The configuration warning bit is not tied to a
certain write message operation, therefore a successful write operation does not clear it.
Reset of the configuration warning bit is not supported.
6 - Not defined
7 - Reserved
8 - Reserved
9 - Reserved
10 Indirect SPA pending This bit informs the state of message flow between the gateway and SPA slave. When using
the Indirect SPA messaging interface, this bit informs that the current message is pending
and waits for a SPA response.
11 Indirect SPA complete This bit informs the state of message flow between the gateway and SPA slave. When using
the Indirect SPA message interface, this bit informs that the current pending message is
complete.
12 Indirect SPA error This bit informs the state of message flow between the gateway and SPA slave. When using
the Indirect SPA message interface, this bit informs that the current message response
contains errors.
13 Reserved Bit used internally
14 SPA slave lost events The status information of SPA slave devices indicates that events have been lost.
15 SPA slave event buffer Overflow. The status information of SPA slave devices indicates that an event buffer overflow
overflow has occurred.
51
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
The process data is valid when the gateway mode bit indicates
application mode and SPA initializing bit is zero. Bit 3 must be zero
(SPA On-line). If bit 5 indicates a configuration warning, then some
of the data is invalid (unavailable). The unavailable items are
reported with 0xF in the Profibus message. For valid process data,
the SPA device status (IRF) information should also indicate no
errors and slave status bit must be set ( "1" ) for all the connected
slaves. For more information, see Section 6.2. Slave status word.
The device’s SPA event mask has to be open when updating event
based data. This error situation cannot be seen from the slave status
bit. If the parameters cannot be read from the SPA device, the value
0xFF, 0xFFFF or 0xFFFFFFFF according to the size of the data.
52
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
Bit 7 6 5 4 3 2 1 0
Momentary
Value +
Event Value
Events_a
53
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
After the configuration is downloaded and the gateway has started, the defined
indirect SPA message is used by writing its assigned number (8 bit) to Query slot 15
Index 5. The value of the 7th bit in the number shall be changed in order to trigger
the gateway to send the message to the SPA slave.
Example:
Assume that there is a defined indirect SPA message with number 1. When
writing value 0x81 to Query slot 15 Index 5, the gateway sends the message
to the SPA slave. Next time the value 0x1 shall be written into slot 15 Index
5 in order to trigger the operation.
Setting the static data to zero in the configuration enables the use of Indirect SPA
value, which means that the gateway uses the value in slot 15 index 6 in the SPA
command, see Section 5.4.8.6. Indirect SPA Messages.
Write the value (32 bit) to Query slot 15 Index 6 before triggering the sending. Keep
in mind that this value (and the static data value) is scaled in the same way as the
cyclic parameters values, see Section 5.4.8.7. Scaling of messages, for example, if
the decimal place is 1 and scaling value 1 is scaled to 0.1 on SPA bus.
It is recommended to check the module status after indirect SPA messages to ensure
that the message response indicates no errors.
The response to the sent indirect SPA message can be read from response slot 17.
The data is set up as follows:
SPA request status can be found in slot 17 index 0. The length of the SPA status is
two bytes. See the status code in Table 6.4.-1.
If the response from the SPA device contains data, for example the value of the
current measurement, it can be found in slot 17 index 1. The length of the data is four
bytes.
The status word in response slot 17 can have one of the following values, see Table
6.4.-1
54
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
55
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
56
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
7. Technical data
7.1. Interfaces
SPA-ZC 302
• Input voltage: 110 V...240 V AC/DC
• Output voltage (conf. with DIP switch 1.5): +8 V DC unregulated from pin 9
(RS-485, TTL)
• Supply current consumption: <80 mA
57
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
58
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
1 3
5
1 7
6
5
4
1
61
1 76
302_dim_a
59
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
8.2.1. Limitations
There are some limitations that affect the way the standard configurations are made:
• 244 bytes of input, 244 bytes of output or totally 416 bytes of data bandwidth is
available for input or output. The reason for the limitations is limits in the
Profibus protocol specification and the implementation of it. Consequence of this
limitation is that it is possible to transfer only a certain amount of cyclical
parameter data over Profibus from each device. It can be assumed, as a guideline,
that each analog data need four bytes, and each digital data one byte of data
bandwidth.
• The larger the number of signals, the longer will the update cycle be.
61
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
8.3. Self-diagnosis
1
2
9 01 9 01
7 8
7 8
23
23
4 56 4 56
3
4
ProfibusLED_a
62
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
SPA
RS485
RS232
TTL 1
2 SPA STATUS
SPA_LED_a
8.4. Troubleshooting
When troubleshooting the gateway, first check the LED indicators described in
Section 8.3. Self-diagnosis. If there is a LED flashing, a coarse error can be located
through the flashing pattern of the LED.
63
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
A050354
64
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
1)These error codes are followed by more data in the diagnostics fields, such as SPA Channel, SPA Type
and SPA Dno (Parameter No) for easier location of the trouble spot. For all other error situations,
these fields will be set to zero.
65
SPA-ZC 302 Profibus-DPV1/SPA Gateway 1MRS755014
66
1MRS755014 Profibus-DPV1/SPA Gateway SPA-ZC 302
• If the communication is still not working, try to increase the "SPA Com Retry
Count". This might be an indication of a hardware error in the cable or in the
devices. Contact your ABB representative.
67
1MRS755014 EN 05.2008
ABB Oy
Distribution Automation
P.O. Box 699
FI-65101 Vaasa
FINLAND
Tel. +358 10 22 11
Fax. +358 10 224 1094
www.abb.com/substationautomation