Professional Documents
Culture Documents
Date
1KEL615158-02
2004.05.19
Abstract
Author
Keywords
Approved
Signed
: Jorgen Winther
: FLEXGATE,SPABUS,DNP,JOWI
:
:
Revision:
01:
02:
2002-06-20
2004-05-19
First issue.
A few document corrections.
References:
[1]
[2]
[3]
[4]
[5]
[6]
[7]
Title
DNP V3.00 Data Link Layer
DNP V3.00 Transport Functions
DNP V3.00 Application Layer
DNP V3.00 Data Object Library
DNP V3.00 Subset Definitions
SPA-BUS COMMUNICATION
PROTOCOL V2.3
FLEXGATE
Hardware specification
Document number
P009-0PD.DL
P009-0PD.TF
P009-0PD.APP
P009-0BL
P009-0IG.SUB
34 SPACOM 2EN1B
01.02.1988
1KEL614979
Copyright belongs to ABB A/S. The information herein must not be supplied to
third parties without written permission from ABB A/S.
2/39
1KEL615158-02
TABLE OF CONTENTS
FRONT PAGE ................................................................................................. 1
REVISION, DISTRIBUTION & REFERENCES ............................................... 2
TABLE OF CONTENTS .................................................................................. 3
1.
INTRODUCTION....................................................................................1-1
2.
INTERFACES ........................................................................................2-3
3.
DNP HANDLING....................................................................................3-5
3.1
4.
5.
3-10
6.
COMPATIBILITY
Configuration Commands
Introduction to the Configuration Tools
FLEXGATEDNP Workbook - I/O List Sheet
FLEXGATEDNP Workbook - Sheet 2
ConfigFlexgate Program - View Config.
ConfigFlexgate Program - Send Config.
ConfigFlexgate Program - Fetch Config.
ConfigFlexgate Program - Ad Hoc Commands
5-17
5-24
5-25
5-28
5-30
5-31
5-32
5-33
PERFORMANCE .................................................................................6-35
1KEL615158-02
3/39
1. INTRODUCTION
This is the functional description of the FLEXGATE protocol converter as DNP
V3.00 to SPA-bus converter. The converter is the master for a number of
SPA-bus slaves (relays) using one RS-232 port. On another RS-232 (or RS485) port it acts as a DNP V3.00 slave.
Note that the FLEXGATE is now delivered in two versions, one where the
FLEXGATE is a Modbus RTU slave and one where it is a DNP V3.00 slave.
The two versions are described seperately. This document describes the
function where it is a DNP V3.00 slave.
The mapping between DNP and SPA-bus addresses is configured through a
3'rd RS-232 port and stored in flash RAM. This port may also be used for
testing. A possible system configuration is outlined below.
SCADA System
DNP V3.00 master
RS 232
Optical converter
SPAZC_
I/O port
RS 232
Configuration PC
Protection relay
Protection relay
The SCADA system is the master, using requests conforming to the DNP
V3.00 protocol. The section on DNP handling contains a DNP device profile.
The interface is RS-232 or RS-485. Time must be set by means of DNP write
requests. Synchronization down to a few milliseconds can be obtained by
means of a minute pulse input.
According to the configuration, the converter will scan the SPA-bus relays for
the configured data and place it at the required DNP addresses for reading by
DNP read requests. Binary input objects may be updated both from scan of
static SPA-bus data and from SPA-bus events. DNP control operations are
routed directly through to the relay, after proper address and value mapping,
so that the outcome of a DNP control request reflects the result of the writing
to the SPA-bus relay. An optical converter from RS-232 to one or more fiber
optical rings is normally required as interface to the relays.
1KEL615158-02
1-1
1-2
1KEL615158-02
2. INTERFACES
SCADA System
DNP V3.00 master
RS 232
Optical converter
SPAZC_
I/O port
RS 232
Configuration PC
Protection relay
Protection relay
Interface for
Power supply
SPA-bus
DNP V3.00
Configuration,
diagnostics,
minute pulse
1KEL615158-02
Characteristics
24 Volts DC. Galvanic isolated. Power consumption 2.5
Watts.
9-pole D-sub female. Ground, Rx and Tx used. RS-232
signal levels. 1 start-bit, 7 data bits, 1 even parity bit and 1
stop bit. Speed fixed to 9600 bits per second. SPA-bus
master. The SPA-bus relays may be configured with data
communication addresses in the range 1 to 99.
15-pole D-sub female. RS-232 or RS-485 signal levels
depending on setting of DIL switch 8 on the Addon Print (RS232 if OFF). Ground, Rx, Tx, DTR and RTS used for RS-232;
Rx+, Rx-, Tx+ and Tx- used for RS-485. 1 start-bit, 8 data
bits, 1 stop-bit. Parity configurable as none, even or odd.
Speed configurable from 250 to 20000 bits per second.
Modem control configurable. DNP V3.00 slave. Slave
number, maximum length of link frame and application
fragment and link timeout and retries configurable.
25-pole D-sub female.
Configuration and testing:
RS-232 signal levels. Ground, Rx and TX used. 1 start-bit, 8
data bits, 1 odd parity bit, 1 stop-bit. Speed fixed to 9600 bits
per second. Protocol is ASCII, terminal I/O with carriage
return, line-feed, echo and prompt. Suitable for a standard
PC modem cable.
Diagnostics:
6 pins are used to signal the state of the protocol converter
as 0/+5 Volts digital outputs. The signals are:
2-3
Interface for
Characteristics
RUN - converter alive (toggles every second)
CONFIG - converter configuration checked and accepted
SLAVE - communication ok with all SPA-bus relays
MASTER - correct DNP telegram received within last 30
seconds
MINP - toggled every time a minute pulse is received (if
minute pulse is configured)
5V - internal Voltage
Signals CONFIG, SLAVE, MASTER and 5V are steady on
(+5 Volts) when ok.
These signals and Rx and Tx may be displayed by field
service personel by means of a special FLEXGATE TEST
TOOL.
Minute pulse:
2 pins, ground and pulse input. The synchronization point is
defined when input is falling at some level below 5 Volts. The
ON level may be from +5 to +30 Volts. The input resistance
is 10 KOhm. The pulse input is only used if it is included in
the configuration.
Note that all grounds are common, except the power supply ground.
2-4
1KEL615158-02
3. DNP HANDLING
The FLEXGATE acts as a DNP slave according to the device profile at the
SCADA System
DNP V3.00 master
RS 232
Optical converter
SPAZC_
I/O port
RS 232
Configuration PC
Protection relay
Protection relay
All polling can be done as class polling, class 0 static binary input and
static analog input for the initial checkcycle, class 1 for binary changes and
class 2 for analog changes. Class 3 is not used.
The normal strategy for a DNP master is to read all static objects and then
poll for changes. It is however possible to use static read exclusively,
either as class 0 poll or as more specific reading. In that case the master
must time-stamp changes, of course.
When a static binary input object is read, all change events queued for the
object are removed from the event queue. This means that after a
checkcycle, only new change events will be seen.
When any read of binary or analog changes and any read of static binary
input returns one or more changed objects, a confirm is required. After the
confirm, the changes are not sent in a subsequent reading of changes as it
is assumed that the DNP master has recorded the changes even if sent in
a static read response.
When reading static analog inputs, the change flags are removed from the
objects read, i.e., they will only be transmitted as changes if they change
again.
The blocked, failed, event overflow and restarted statuses of the individual
SPACOM relays may be controlled and monitored using configurable DNP
index ranges.
1KEL615158-02
3-5
Only one analog change event is stored for each analog input object. The
change event is without time-tag. The DNP master may however request
analog changes with time-tags; the time-tag will then be generated as the
time of the DNP response.
In case of binary event overflow (in the relays event buffer or in the
FLEXGATE event buffer) all stored time-tags of events from the SPACOM
relay causing the overflow are lost and only the final change of a changed
binary input will be sent, time-tagged with the time of the DNP response.
The overflow state is removed for all relays when there are no pending
binary changes, as inspected once every second.
If the communication with a relay is lost, the flags of all objects belonging
to the relay are changed to communication failed and all binary input
events of the relay are removed from the event queue as with event
overflow. When the object lateron is read from the relay, the object flag is
changed to communication ok. Communication failed is also the initial
state after restart of FLEXGATE. This will not be seen from the DNP
master for all objects which are read ok during the initial SPA-bus
checkcycle of all configured input items.
Binary change events are not sorted according to time. I.e., queued
change events are transmitted to the DNP master in the sequence they
are detected from the relays.
Analog changes and not time-stamped binary changes are not sorted. If
there are pending changes, the changes are handled in a round-robin
fashion. If there are no pending changes, the first detected change is sent
first; the rest are sent round-robin.
The default variations for static analog input and analog changes can be
chosen as 16-bit or 32-bit integers. The corresponding SPA-bus values
may be prescaled by a factor of 10, 100 or 1000 in order to preserve
decimals.
3-6
1KEL615158-02
seconds, i.e., the eventual operation towards the relay is always direct, not
using any select/execute feature of the relay.
In read responses, the minimal qualifier is always used, i.e., qualifier 00 for
static data if the stop index is <= 255 and qualifier 17 for changes if the
first changed index is <= 255. (A new object header with qualifier 28 is
made if a later changed index is > 255).
Bit
First
octet
Second
octet
Handling
A NULL response is given when an otherwise correct read request does not
hit any objects.
1KEL615158-02
3-7
Flag Name
Usage
bit0
Online
bit2
Communication
lost
bit5
Over-range
bit7
State
The time of a DNP write time request is taken as the time when the first
byte of the telegram has been received. The DNP master must take any
preceding delay into account.
18 milliseconds are added to the received time before setting the local time
of the FLEXGATE in order to make the local time adequate for the SPAbus time setting procedure.
Handling of controls:
A select which has not timed out (60 seconds) and a control which has not
yet been executed towards SPA-bus is active.
A control relay output block with clear = 1 cancels an active control for the
same object.
A control relay output block with count = 0 or trip/close and code both
NULL is dummy, except for a possible clear function.
A control relay output block with trip or pulse ON or latch ON gives the
control value 1, otherwise control value 0. For a single item SPA-bus
command this value is written to the relay. For a double item SPA-bus
3-8
1KEL615158-02
On/Off times and pulse or latch are ignored, as these functions are
assumed to be handled by the SPA-bus relays. Queue and count except
for the non-zero check, is not handled.
1KEL615158-02
3-9
3.1 COMPATIBILITY
The FLEXGATE converter implements a
"LEVEL 2 DNP V3.00 IMPLEMENTATION (DNP-L2)" according to the
DNP V3.00 SUBSET DEFINITIONS (Doc. P009-0IG.SUB)
The following Device Profile identifies the selected options:
DNP V3.00
DEVICE
DOCUMENT
PROFILE
Vendor Name
Device Name
FLEXGATE
DNP - SPA-bus
Highest
DNP
Level Device Function:
Supported:
Master Slave
For Requests Level 2
For Responses Level 2
Notable objects, functions, and/or qualifiers supported in addition to
the Highest DNP Levels Supported (the complete list is described in
the attached table):
Max. Data Link Frame
Size (octets):
Transmitted
configurable
range 46 to 292
Received
292
Transmitted
configurable
range 31 to 2048
Received
249 *)
*) in one link frame
Maximum
Application
Retries:
None
Fixed at
Configurable,
range 0 to 15
Layer
None
Configurable,
range_ to_
Always
Sometimes
Configurable
None
None
None
None
Fixed at _________
Fixed at _________
Fixed at _________
Fixed at _________
Variable
Variable
Variable
Variable
Configurable
Configurable
Configurable
Configurable
Never
Never
Never
Never
Never
Never
Never
Never
Never
Never
Never
Always
Always
Always
Always
Always
Always
Always
Always
Always
Always
Always
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Sometimes
Configurable
Configurable
Configurable
Configurable
Configurable
Configurable
Configurable
Configurable
Configurable
Configurable
Configurable
3-10
1KEL615158-02
Never
Only time-tagged
Only non-time tagged
Configurable to send one or the other
requested:
Never
Binary input Change with time
Binary input Change with Relative time
Configurable
Sends Static Data in Unsolicited
Responses
Never
When device restarts
When status flags change
No counters Reported
Configurable
Default Object:
Default Variation:
Point-by-point list attached
No counters Reported
Configurable with database
maintenance
16 bits
32 bits
Other Value: 8 to 32 bits
Point-by-point list attached
Yes
No
REQUEST
Func
Qual
Codes
Codes
(dec)
(hex)
1
00, 01,
06
1
00, 01,
06
1
00, 01,
06
1
06, 07,
08
1
06, 07,
08
1
06, 07,
08
1
06, 07,
08
RESPONSE
Func
Qual
Codes
Codes
(dec)
(hex)
3, 4, 5,
6
1
30
30
30
32
32
32
Obj
Var
Binary Input
12
12
0
1
30
30
1KEL615158-02
1
1
129
00, 01
129
17, 28
129
17, 28
129
17, 28
129
echo of
request
01,
129
00, 01
01,
129
00, 01
01,
129
00, 01
01,
129
00, 01
07,
129
17, 28
07,
129
17, 28
17, 28
00,
06
00,
06
00,
06
00,
06
00,
06
06,
08
06,
08
06,
*)
01,
07,
3-11
32
32
41
41
without Time
32-Bit Analog Change Event
with Time **)
16-Bit Analog Change Event
with Time **)
Analog Output Block - All
Variations
32-Bit Analog Output Block
41
50
50
0
1
51
51
51
52
52
0
1
129
52
129
60
06
60
60
60
80
06, 07,
08
06, 07,
08
06, 07,
08
00,
index=7
or
index=4
Cold restart
Delay measurement
13
23
1
1
08
06,
08
06,
08
07,
129
17, 28
07,
129
17, 28
echo of
request
echo of
request
3, 4, 5,
6
3, 4, 5,
6
17, 28
129
17, 28
129
07,
quantity
=1
129
129
129
07,
quantity
=1
07,
quantity
=1
07,
quantity
=1
07,
quantity
=1
3-12
1KEL615158-02
4. SPA-BUS HANDLING
The table below gives a survey of the SPA-bus activities performed, in priority
SCADA System
DNP V3.00 master
RS 232
Optical converter
SPAZC_
I/O port
RS 232
Configuration PC
Protection relay
Protection relay
order.
Priority
Activity
Comment
Command or
setpoint
2.1
Read events
2.2
Cyclical
scanning
Time setting
2.3.1
1KEL615158-02
4-13
Priority
Activity
Comment
before the first byte of the telegram is sent.
Every 200 seconds, the complete date and time
is sent before sending the time within the minute.
Time setting is only done if the DNP master has
set the time at least once.
2.3.2
2.3.3
Checkcycle
priority 2.1, 2.2 and 2.3 are done round-robin so that a 2.1 activity is
followed by a 2.2 which is followed by a 2.3, if any, which is followed by a
2.1 etc.
priority 2.3.1, if pending, is done before 2.3.2 which is done before 2.3.3.
4-14
1KEL615158-02
1KEL615158-02
4-15
The table below defines the limitations imposed by the implementation of the
protocol converter concerning the SPA-bus relays.
Item
Allowed range
Relay
communication
address
Number of relays
Channel number
0 to 999
Data letter
Data number
0 to 999
Event number
0 to 254
Item range
(as in 1/16I1)
Decimals
conserved
Maximum digits
Value range
SPA-bus requests
Events
4-16
1KEL615158-02
5. CONFIGURATION
SCADA System
DNP V3.00 master
RS 232
Optical converter
SPAZC_
I/O port
RS 232
Configuration PC
Protection relay
Protection relay
To terminal or program
Comment
COMMAND
<CR><LF>ANSWER
<CR><LF> >
1KEL615158-02
Function
The LIST command, followed by a sufficient number of
empty lines produces a complete listing of the
configuration, one line at a time. Used for uploading
(reading) of the configuration. A non-empty command
line interrupts the listing. The listing is sorted on line
type, CONFIG, PORT, MPULSE, LINK, APPL, UNIT,
5-17
Config command
Function
BIN, ANA, CMD, SET and CHECK, and within the
same type it is sorted on DNP indexes. All letters are
capital, except in the xxxxx text of the CONFIG line
where non-capital letters are conserved.
CONFIG xxxxx
D18.rr
MPULSE ddddd
CHECK s1 s2 s3 s4
5-18
1KEL615158-02
Config command
Function
counting trailing blanks, <CR> and <LF>, and only
counting seperating blanks as one blank. s3 is the sum
of these characters and s4 is the sum of sums starting
summation on each line so that the sum does not
depend on the line order. The sums are decimal
integers modulo 65536 (16-bits). The sums are
generated by the LIST command. If the check is ok, the
new configuration is saved in flash RAM; if the
checksum is wrong, an error message is given and the
configuration is not saved in flash RAM. The protocol is
restarted from the contents of the flash RAM in any
case.
SAVE
LINK
MAX mmm
TIMEOUT tttt
RETRIES rr
APPL
MAX mmmm
SYNCPER pppp
BCHVAR v
ANAVAR v
ACHVAR v
1KEL615158-02
5-19
Config command
Function
UNIT
BLOCK iiiii
FAIL iiiii
OVERFLOW iiiii
RESTART iiiii
5-20
1KEL615158-02
Config command
1KEL615158-02
Function
codes should be specified. For BIT16, event
updating is not really meaningful.
5-21
Config command
5-22
Function
should only be read at checkcycle time. This can
be used for input which normally never change
or only change due to control in order to save
scanning time.
This line defines one DNP control relay output block.
The line contents are:
Config command
1KEL615158-02
Function
The default is SET meaning that the SPA-bus
value is taken directly as the DNP integer value
in the analog output block. The other 3 means
that the floating point SPA-bus value is found by
dividing the DNP value with 10, 100 or 1000
respectively in order to set also 1, 2 or 3
decimals.
5-23
The two tools may be downloaded from our Webpage or received as attached
mail files. The two tools are described in the following sections.
5-24
1KEL615158-02
Rows 8 to 42 contain an example I/O list and should be replaced by the actual
I/O list. Each of the 5 columns are commented in details with Excel comments
in row 4 of the sheet. The comments can be seen at the end of this section.
Columns A, B and C must be entered to define the data points on the SPAbus. Column D is a free text. Comment rows like row 7 and 8, with an empty
cell in column A, may be used freely. Column E contains a pushbutton, DNPSPA Config. When the button is activated, the rest of column E is calculated.
It contains FLEXGATE configuration commands derived from columns A, B
and C. DNP indexes are generated consecutively, starting from index 0 for
each type. The index generation may be controlled by means of the FILLER
feature.
1KEL615158-02
5-25
This is the bottom of the example sheet. The last row (here row 43) must not
be changed. In column E it shows that 29 configuration lines were generated
OK.
Column
A
B
5-26
Comment
SPA-bus relay communication address, 1..99.
The Flexgate may set a limit on how many different addresses are
allowed.
SPA-bus identification of point as:
channel-number (none or 1..999)
data letter (I, M, O, S or V)
data number (1..999).
For control, point type Cmd and CmdN, a range of 2 numbers may
be given, V3/4 means V3 for OFF and V4 for ON command or
opposite.
For binary input, additional up to 4 event codes, Ennn are allowed.
Use FILLER nn to reserve DNP indexes for nn items of the given
type.
Point type as:
Single - 1 binary input bit
Double - 2 binary input bits from 1 SPA-bus item
OnOnly - 1 binary input which only goes on (wischer)
Bit16 - 16 binary input bits from 1 SPA-bus item
Int - analog input, no SPA-bus decimals conserved
Int.1 - analog input, SPA-bus value * 10
Int.2 - analog input, SPA-bus value * 100
Int.3 - analog input, SPA-bus value * 1000
Cmd - relay control block, ON/OFF command
CmdN - relay control block, OFF/ON command
Set - analog output, no SPA-bus decimals
Set.1 - analog output. div 10 gives SPA-bus value
Set.2 - analog output. div 100 gives SPA-bus value
1KEL615158-02
D
E
1KEL615158-02
5-27
Sheet 2 of the workbook contains only one column. The lines starting with
CONFIG, PORT, MPULSE, LINK, APPL and UNIT must be entered directly
according to the wanted configuration, see the definition of these configuration
commands. The first line must be CONFIG in order to have the configuration
loaded to a FLEXGATE converter. The MPULSE command should be
blanked if a minute pulse is not used. The rest of the column is calculated
when the pushbutton, DNP-SPA Config., is activated. The contents are
essentially the same as column E of worksheet 1, but the SPA-bus read
accesses have been optimized by using the range feature (/). If range reading
is not wanted, e.g., because a relay does not support it, an empty line may be
used in the I/O list to suppress the optimization. The optimization requires that
the only change from line to line is that either channel or data number
increases by 1. For BIN lines with events, it must be the channel number
which increases.
5-28
1KEL615158-02
This is the bottom of sheet 2. The next step in order to load the configuration
by means of the ConfigFlexgate program is to save sheet 2 as a text file, use
File - Save As... - Save as type: Text (Tab delimited) (*.txt) - Save. Ignore the
error messages as you are not saving the whole workbook here. (But
remember to save the workbook as a *.xls file). The saved *.txt file may then
be viewed and loaded by the ConfigFlexgate program.
1KEL615158-02
5-29
After the standard file selection dialog, the View Config. function lists the file
line by line. Empty lines are not shown.
5-30
1KEL615158-02
This shows the situation where the configuration from the worksheet example
has just been sent to the protocol converter which has accepted the
configuration, copied it to flash RAM and restarted. The sending is done by
activation of the Send Config. button which then initiates the standard file
selection dialog. Note that the last line in worksheet 2 was a SAVE command,
not a CHECK command. But in order to check the transfer, the
ConfigFlexgate program changes the SAVE command into the proper CHECK
command which makes the protocol converter check the checksum of all the
configuration commands. The > character is the prompt from the protocol
converter. The Send function reads the input file and copies it line by line to
the COM port, skipping empty lines. It terminates when there are no more
configuration lines in the file or when no prompt is received from the
converter.
Be careful not to leave the protocol converter in the state where it has
accepted a CONFIG command but never received a SAVE or CHECK
command. In this state there is no normal protocol handling. To get out of the
state, turn power off and on or retry Send Config.
1KEL615158-02
5-31
This shows the situation where the configuration has just been fetched from
the protocol converter. To get to top of the list window, use the slide ruler.
The standard file selection dialog is used to select the file in which to save the
configuration. The Fetch Config. button uses the LIST command to read the
configuration. The > character is the prompt from the protocol converter.
When the CHECK line from the converter is read, the program compares the
checksum it has calculated with the checksums in the CHECK line. If there is
a difference, an error message is printed. The Fetch function terminates when
the CHECK line has been read, when an error message is received or when
nothing is received from the converter. Note that the CHECK command is not
the same as that shown in the Send Config. example. That is because the
LIST command has added the program version of the protocol converter,
D18.01, to the CONFIG line. Note also that the configuration lines have been
sorted on point type.
5-32
1KEL615158-02
time - shows in the first line date and time and the number of days and
milliseconds since power-up of the protocol converter. The second line
shows that a valid minute pulse has not been received; MPULSE is
configured, but in this case no minute interrupt is connected. The 3'rd line
says that time has been set from the DNP master, that the FLEXGATE
clock was set 61 milliseconds forward in the last adjustment and that the
internal CPU clock is counting 15998 pulses per millisecond. The count is
initially set to 16000 (16 MHz), but adjusted automatically according to the
external time setting. The 4'th line shows the overall state and the DNP
input telegram state. The overall state is Ok running if the configuration is
ok and a legal DNP application request requiring a new response has
been received within the last 30 seconds. The last line shows the current
SPA-bus address, the SPA-bus activity and the input telegram state, here
waiting for the first byte (<) of the response to read events.
1KEL615158-02
5-33
events queued at any time since reset (2) and the number of events which
can at all be queued (1000). After that is shown the configation index of
the next to be sent non-queued, but changed, binary input and the next to
send analog input, here both 0 meaning none. Any parameter to the dnp
command (here clear) resets the message and error counts and the
maximum number of queued events.
sbin - this command is used to show the current states of the binary inputs
at and after a specified DNP index, within one configured BIN item. For
each index, the state is shown as On or Off. After the state, in a bracket,
the DNP flag is shown in Hex, (01) = Online/Off, (81) = Online/On, (05) =
Online/Comm.lost/Off. After the bracket, a * means that the object is
marked for transmission as a change, a + that it also has been transmitted
and waits for confirmation. A ! means that one or more events have been
queued for the object since it was last statically read and since last
comm.lost, event overflow or block state.
sana - this command is used to show the current states and values of the
analog inputs at and after a specified DNP index, within one configured
ANA item. For each index, the value is shown as a signed 32-bit integer.
After the value, in a bracket, the DNP flag is shown in Hex, (01) = Online,
(05) = Online/Comm.lost. After the bracket, a * means that the object is
marked for transmission as a change, a + that it also has been transmitted
and waits for confirmation.
The last entered command is easily repeated by using the Enter key. The
commands may be lower or upper case.
The Clear Screen button just clears the two displayed text fields. This is
normally only needed when Ad Hoc commands have been entered. The 3
Config. buttons all start by clearing the fields.
5-34
1KEL615158-02
6. PERFORMANCE
The main limitation of the converter lies in the turn-around time on the SPAbus. In normal operation, the FLEXGATE reads events (i.e., normally ensures
that there are none) from one relay, then takes the next BIN or ANA line
configured without a = (only checkcycle), then reads events from the next
relay and so on. As a practical mean, it can be estimated that it takes 100
milliseconds for one read event + one read SPA-bus item. It is assumed that
the DNP master asks for both binary and analog changes all the time and that
there is no queue of pending changes.
The response time to SPA-bus events depends only on the number of relays:
maximum event response time =
(0.1 seconds * number of relays) + DNP scan cycle time
With f.ex. 15 relays and a DNP scan cycle of
maximum event response time of 2 seconds.
The update cycle time for scanned SPA-bus items depends only on the total
number (and complexity) of BIN or ANA lines configured without a = (only
checkcycle). This gives the following calculation:
maximum age of scanned SPA-bus item =
(0.1 seconds * number of scanned BIN and ANA items)
+ DNP scan cycle time
With f.ex. 150 scanned SPA-bus items (f.ex. 15 relays with 10 items each)
and a DNP scan cycle of 0.5 seconds, this gives a maximum age in the DNP
master of a scanned SPA-bus item of 15.5 seconds.
Note that control commands and setpoints are executed immediately and that
the controlled relay is checkcycled after the control in order to get changes
due to the control back fast. These activities will of course give longer
response times for a while.
1KEL615158-02
6-35