Professional Documents
Culture Documents
3
Westinghouse F4F Slave Protocol
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Issued: 31.3.2010
Version: A/31.3.2010
Configuration Manual
Contents
Copyrights .....................................................................................5
1. Introduction ...............................................................................7
1.1. This manual ...................................................................................7
1.2. Document revisions .......................................................................8
2. Instructions ................................................................................9
2.1. Application programming ..............................................................9
2.2. Data transfer between the base system and Westinghouse .........9
2.2.1. Cross-reference handling ...................................................9
2.3. Analog inputs ..............................................................................10
2.3.1. Indications ........................................................................11
2.3.2. Time tags .........................................................................11
2.3.3. Pulse counters .................................................................11
2.4. Process output data ....................................................................12
2.4.1. Process commands .........................................................12
2.4.2. Analog setpoints ..............................................................12
2.4.3. System start-up ................................................................12
2.5. Device attributes .........................................................................14
2.6. Line attributes ..............................................................................18
3. Configuration example ...........................................................19
4. Index .........................................................................................21
3
4
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
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 alicense and
may be used, copied, or disclosed only in accordance with the terms of such license.
Copyright © 2010 ABB Oy
All rights reserved.
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.
Guarantee
Please inquire about the terms of guarantee from your nearest ABB representative.
5
6
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
1. Introduction
General principles
Since the Westinghouse outstation and SYS 600/PC-NET are completely different
hardware platforms, the protocol emulation is somewhat restricted and it should
therefore not be assumed that all features available in the Westinghouse outstation
are available in the PC-NET implementation.
The general strategy used in this implementation can be summarized as follows:
• The Westinghouse control center sees SYS 600 as a Westinghouse outstation.
• SYS 600 contains the necessary protocol conversion features that enable it to
send and receive F4F telegrams.
• The SCIL application program in base systems sees the SYS 600 F4F-emulator
as a WES type device.
• Commands and output messages sent by the control center are seen as process
inputs to the SCIL program. When this kind of input is activated, the application
reads the input value and performs scaling and address conversions, before it
activates the desired output.
• The PC-NET has an internal database for data that must be sent to the control
center. The control center sees the PC-NET internal database as inputs.
The cross-reference information needed to associate data in the base system with the
corresponding Westinghouse objects is included in the process objects of the base
system.
7
SYS 600 9.3 MicroSCADA Pro 1MRS756644
MicroSCADA
Westinghouse
control center Base System IED
PC-NET
A060492
8
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
2. Instructions
9
SYS 600 9.3 MicroSCADA Pro 1MRS756644
STA_NUMBER:
Logical STA number (range 1..255). The value is stored as 3 right justified ASCII
digits with leading spaces added if necessary. STA_NUMBER uses positions 1..3 of
the FX string.
ADDRESS:
The address of the Westinghouse object. The address is coded from the IO module
number and word number the following way:
ADDRESS = 10*IO_MODULE_NUMBER + IO_WORD_NUMBER
BIT_NUMBER:
Bit number range 0..15. This is used only if the process object is an indication. The
BIT_NUMBER uses string positions 7,8 of the FX string.
The FI attribute is used for commands and setpoints which are coming from the
control center. The base system database has intermediate process objects for the
setpoints and commands. There is a certain relation between the object address (OA
attribute) of the process object, the module number and the IO number information
associated with setpoint and command messages. The FI attribute of the
intermediate process object informs the SCIL program which is a process object
index (of SRIO). The process object index is connected to that output, see Section
2.4.1.
10
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
2.3.1. Indications
Indications are manipulated using the ID attribute. The ID attribute changes the state
of one bit in an object word. This means that if double indication is used, it is
necessary to update two ID attributes. The value of the changed word is transferred
directly to the control center, without using any data reduction mechanism. The
following example shows the usage of single indications:
Example:
;READ CROSS REFERENCE INFO
@STA_NR = DEC_SCAN(SUBSTR(‘LN’:PFX(‘IX’),1,3))
@BLK_NR = DEC_SCAN(SUBSTR(‘LN’:PFX(‘IX’),4,3))
@BIT_NR = DEC_SCAN(SUBSTR(‘LN’:PFX(‘IX’),7,2))
;UDATE NET INTERNAL DATABASE
#SET STA’STA_NR’:SID(%BLK_NR) = (%BIT_NR,%BI)
11
SYS 600 9.3 MicroSCADA Pro 1MRS756644
When the PC-NET receives a process command message, it reads the object number
from the message and activates the SYS 600 process object with this object address.
Then it sets its value according to the command.
Below is a command procedure that is used when no special processing is required
for a command:
@OBJ_IX = ‘LN’:PFI(‘IX’)
#SET ‘LN’:PBO(%OBJ_IX) = %DI
12
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
The handling of the clock depends on the type of time synchronization. The
Westinghouse remote terminals may have two types of time synchronization:
• With PIP time synchronization (PIP sync), the control center performs the time
synchronization by sending the time and a PIP code to slave devices by using a
special PIP card. Because the PC-NET cannot reply correctly to the PIP code, this
method does not work without changes in the PIP card.
• With soft synchronization (soft sync), the control center sends a certain message
to set the internal time of SYS 600. The PC-NET supports the soft
synchronization method directly.
The synchronization type affects the handling of the PC-NET internal time, because
the control center sends the absolute time to the PC-NET with PIP sync, but not with
soft sync. This means that with PIP sync the control center updates the time of the
PC-NET internal clock every time when synchronization occurs (every 12 min.).
Correspondingly, SYS 600 may synchronize the process devices to have the same
time as in the control center. The base system can detect the moment of the
synchronization using a process object, which is reserved for this purpose (analog
setpoint with the object address = 255). The PC-NET updates the value of that
process object every time it receives a PIP sync message.
With soft sync, the control center does not send new time to the slave, it only stores
the time of the synchronization.
13
SYS 600 9.3 MicroSCADA Pro 1MRS756644
3. Start communication between the PC-NET and control center by writing to the
flag DI =1
#SET STA51:SDI = 1
;Time synchronization
after every 10 min. (time channel), the process may be
synchronized
;Timed events
writing time tagged events to the PC-NET is allowed after the first time
synchronization (STA51:STI = 1).
Contact your local supplier for more information, if required.
AL Allocation
The F4F interface is reserved for a particular application. The value should always
be 1.
Access: R/W
Index range: no indexes
Value range: 1
AS Allocating Application
The application number of the application has reserved the F4F interface.
Access: R
Index range: no indexes
Value range: 0..250
0 = no application
AV Analog Value
The changes in the analog measured values that are to be sent to the control center
are written to this attribute. The value must change more than the data reduction
factor parameter before it can be transmitted to the control center.
Access: R/W
Index range: 200..317
Value range: 0..65535
The relation between the attribute index and the Westinghouse addressing is the
following:
Index = 10 * IO module number + word number
14
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
Example
IO module = 20, Word number = 1, New value= 1111
#SET STA51:SAV(201)=1111
CN Category Number
This attribute determines the transmission priority of certain IO words. All category
numbers are automatically downloaded by the control center when the system starts
up.
Access: R/(W)
Index range: 0 .. 317
Value range: 0..7
DI Database Initialized
At system start-up the PC-NET sets DI to 0. When the base systems has updated all
values in the PC-NET internal database, this attribute has to be set to 1 by the
application program. The PC-NET does not answer to polls before the DI attribute
equals 1.
Access: R/W
Index range: no indexes
Value range: 0 .. 1
15
SYS 600 9.3 MicroSCADA Pro 1MRS756644
GN Group Number
This attribute determines the data reduction group of an IO word. All the group
numbers are automatically downloaded by the control center when the system starts
up.
Access: R/(W)
Index range: 200 .. 317
Value range: 0..7
ID Indications
By writing to the ID attribute, the base system is able to send the new value of a
binary object to the control center. If the bit number is 16, the value is used as 16 bit
analog value.
Access: R/(W)
Index range: 0 .. 199
Value range: Vector
Vector: (<BIT_NR>,<VALUE>)
BIT_NR: 0..15,16
VALUE: 0,1
Example
IO module = 1, Word number = 3, Bit number = 0 New value = 1
#SET STA51:SID(13)=(0,1)
IU In Use
Set the protocol emulator in/out of use.
Access: R/W
Index range: none
Value range: 0,1
16
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
LI Line number
The number of the line to which the protocol emulator is connected.
Access: R/W
Index range: none
Value range: 1..8
MI Message Identification
The object address of the process object that receives the system messages from the
device.
Access: R/W
Index range: none
Default: 26000 + station number
MS Message Application
The number of the application that receives the systems messages.
Access: R/(W)
Index range: none
Value range: 1..250
SA Station Address
The station address of the protocol emulator. The WES device replies only those
messages which have the right station address.
Access: R/W
Index range: none
Value range: 1..255
TI Time Initialized
The PC-NET sets the value of the TI attribute to 1 when it has received a time
synchronization message from the control center.
Access: R/W
Index range: none
Value range: 0,1
17
SYS 600 9.3 MicroSCADA Pro 1MRS756644
DE CTS Delay
Time delay between the activation of the RTS signal and the start of the message
transmission.
Access: R/W
Index range: none
Value range: 0..65535 (in milliseconds)
MS Message Application
The number of the application that is the receiver of the system messages generated
by the line.
Access: R/(W)
Index range: none
Value range: 1..250
PD PIP Code
When the PC-NET receives a PIP time synchronisation message from the control
center, it replies with a simulated PIP code which is stored to the PD attribute.
Access: R/W
Index range: none
Value range: 0..65535
18
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
3. Configuration example
The base system station object must be created. The common way to do this is to add
the following lines to the SYS_BASCON.COM file:
#CREATE STA:V = LIST(-
TT = "EXTERNAL",-
ST = "WES",-
ND = 2,-
TN = 1)
#CREATE STA1:B = %STA
Normally the TN attribute is equal to the number of the station, in this example
number 1. The object is created when the system is started.
When the system is running, the Westinghouse F4F line and station objects can be
created on-line using the following SCIL-script. The PC-NET node number in this
example is 2, line number is 1 and the station number is also 1.
@NET=2
@STA = 1
@LINE = 1
#SET NET'NET':SPO'LINE'=18
#SET NET'NET':SDV(26)=('STA','LINE')
#SET NET'NET':SSD'LINE'="COM6" ; COM port 6 used.
#SET NET'NET':SBR'LINE'=200
#SET NET'NET':SEN'LINE'=3
#SET NET'NET':SHT'LINE'=150
#SET NET'NET':SMS'LINE'='NET'
#SET STA'STA':SAL=1
#SET STA'STA':SSA='LINE'
#SET STA'STA':SIU=1
#SET NET'NET':SIU'LINE'=1
19
20
1MRS756644 MicroSCADA Pro SYS 600 9.3
Westinghouse F4F Slave Protocol
Configuration Manual
4. Index
A
address ...................................................................................................... 10
AL ............................................................................................................. 14
allocating application ................................................................................ 14
allocation .................................................................................................. 14
analog inputs ............................................................................................. 10
analog setpoints ........................................................................................ 12
analog value .............................................................................................. 14
AS ....................................................................................................... 14, 17
AV ............................................................................................................ 14
B
bit number ................................................................................................. 10
C
category number ....................................................................................... 15
CN ............................................................................................................. 15
CTS Delay ................................................................................................ 18
D
data reduction factor table ........................................................................ 16
database initialized ................................................................................... 15
DE ............................................................................................................. 18
DI .............................................................................................................. 15
E
EV ............................................................................................................. 15
F
FT ............................................................................................................. 16
G
GN ............................................................................................................ 16
group number ............................................................................................ 16
I
ID ........................................................................................................ 11, 16
in use ......................................................................................................... 16
indications ................................................................................................. 16
IU .............................................................................................................. 16
L
LI .............................................................................................................. 17
line attributes ............................................................................................ 18
line number ............................................................................................... 17
21
SYS 600 9.3 MicroSCADA Pro 1MRS756644
M
MD ........................................................................................................... 18
message identification .............................................................................. 17
message system ........................................................................................ 17
MI ............................................................................................................. 17
MS ............................................................................................................ 17
P
PD ............................................................................................................. 18
PIP Code ................................................................................................... 18
PIP synchronization ................................................................................. 13
PIP time synchronization ......................................................................... 13
pulse counters ........................................................................................... 11
R
RK ............................................................................................................ 18
RT ............................................................................................................. 17
RTS .......................................................................................................... 18
S
soft synchronization ................................................................................. 13
STA number ............................................................................................. 10
station address .......................................................................................... 17
Sys reply time-out .................................................................................... 17
SYS_BASCON.COM .............................................................................. 19
T
TI .............................................................................................................. 17
time initialized .......................................................................................... 17
time sync mode ........................................................................................ 18
time tag ..................................................................................................... 11
timed event values .................................................................................... 15
W
WES station .............................................................................................. 14
22
Contact us
www.abb.com/substationautomation
1MRS756644 A/31.3.2010