Professional Documents
Culture Documents
E-Terracontrol 3.9 Reference Manual - Interfaces To External Systems
E-Terracontrol 3.9 Reference Manual - Interfaces To External Systems
E-Terracontrol 3.9 Reference Manual - Interfaces To External Systems
This document provides configuration and modeling information about the interfaces to
external systems that are provided with e-terracontrol.
NOTE: CONTAINS PROPRIETARY INFORMATION OWNED BY ALSTOM GRID INC. AND/OR ITS
AFFILIATES. DO NOT COPY, STORE IN A RETRIEVAL SYSTEM, REPRODUCE, DISTRIBUTE,
TRANSMIT OR DISCLOSE TO ANY THIRD PARTY WITHOUT PRIOR WRITTEN PERMISSION FROM
ALSTOM GRID INC.
__________________________________________________________________
Trademarks
“ESCA” and “HABITAT” are registered trademarks of ALSTOM Grid Inc. “eterra” is a registered
trademark and/or service mark of E-Terra, LLC, licensed for use by ALSTOM Grid Inc. in connection with
its e-terra family of products and services.
Other product and company names in these materials may be trademarks or registered trademarks of
other companies, and are the property of their respective owners. They are used only for explanation and
to the respective owners’ benefit, without intent to infringe.
Contents
About This Document ............................................................................................... ix
Purpose of This Document ............................................................................................ ix
Who Should Use This Document .................................................................................. ix
Structure of This Document .......................................................................................... ix
For More Information..................................................................................................... x
Document Conventions ................................................................................................ xii
Change Summary ....................................................................................................... xiii
1. Overview ................................................................................................................. 1
1.1 Status Point History ................................................................................................. 2
Figures
Figure 1. ADO/SMP Interface User Interface Window..................................................... 4
Figure 2. ADO/SMP Debug Output Window.................................................................... 5
Figure 3. DDEML/SMP Interface Window ..................................................................... 13
Figure 4. DDEML/SMP Interface Debug Output Window .............................................. 14
Figure 5. Test DDE Application – wwwdde ................................................................... 22
Figure 6. Test DDE Setpoint Window ............................................................................ 22
Figure 7. InterSite Data User Interface Window ............................................................ 24
Figure 8. ISD Diagnostics Dialog Box ........................................................................... 26
Figure 9. Modbus/SMP Interface User Interface Window.............................................. 29
Figure 10. Modbus/SMP Debug Output Window ........................................................... 31
Figure 11. OPC DA Server Main Window ..................................................................... 47
Figure 12. OPC DA Server Configuration Dialog Box ................................................... 48
Figure 13. PI/SMP Interface User Interface Window ..................................................... 54
Figure 14. PI/SMP Debug Output Window .................................................................... 55
Figure 15. xx2smp Main Window .................................................................................. 74
Figure 16. xx2smp Diagnostics Window........................................................................ 78
Figure 17. xx2smp Data Source Example ..................................................................... 91
Figure 18. xx2smp Data Source Example ..................................................................... 92
Figure 19. xx2smp Data Set Hierarchy.......................................................................... 93
Figure 20. xx2smpDS Data Set Type Example ............................................................. 94
Figure 21. xx2smpDS_Status Data Set Type Example ................................................. 95
Figure 22. xx2smpMasterDS Data Set Type Example .................................................. 96
Figure 23. xx2smpCommsDS Data Set Type Example ................................................. 97
Figure 24. StatusDS Data Set Type Example ............................................................... 98
Figure 25. xx2smp Data Set Example ........................................................................... 99
Figure 26. xx2smp Master Data Set Example ............................................................... 99
Figure 27. xx2smp Comms Data Set Example ............................................................ 107
Figure 28. RTU Data Set Example .............................................................................. 149
Figure 29. ScanGroup Data Set Example ................................................................... 151
Figure 30. Card Data Set Example ............................................................................. 157
Figure 31. PseudoCard Data Set Example ................................................................. 167
Figure 32. Security Data Set Example ........................................................................ 169
Figure 33. Security Alarms Data Set Example ............................................................ 171
Figure 34. Security Alarms Statuses Data Set Example ............................................. 172
Figure 35. Root Status Data Set Example................................................................... 173
Figure 36. Status Data Set Example ........................................................................... 174
Figure 37. Typical Status Data Set Data Items ........................................................... 175
Figure 38. DNP Device Profile Document ................................................................... 192
Command Prompts
Operating Prompt Description
System
Linux % All commands preceded by a percent sign prompt
(%) are issued from a Linux terminal window. Note
that all Linux commands are case sensitive.
Windows > All commands preceded by a greater than sign
prompt (>) are issued from a Windows command
line window.
All Operating The absence of any prompt character before a
Systems command indicates that the command is valid on
all operating systems.
Command Strings
Operating Delimiter Description
System
Linux Italics Text in italics indicates information you must
supply. (*)
Linux [] Text enclosed in square brackets "[ ]" indicates
optional qualifiers, arguments, or data. (*)
All Operating Select When used in command strings, the term “Select”
Systems means placing the pointer over the specified item
and pressing the left (default) mouse button.
(*) Note: All Linux commands are case sensitive and must be typed exactly as
shown.
Note: Prior to adding a process to an existing group, you must end all processes
by clicking Stop on the Process Starter toolbar or via the Actions menu item (see
4. To create a new Process Starter group, select Processes > Add Process.
The Configuration tab for Processes opens.
5. In the Name, Program, Params, and Directory text boxes, enter the required
information.
If you do not know the location of the ado2smp.exe file, click the Ellipsis button (...)
next to the Program text box to browse for the file. Sample values are as follows:
Name: ADO/SMP Interface
Program: C:\eterra\e_terracontrol\bin32\ado2smp.exe
Params (Optional): D:\ADO_Files\ado2smp.txt
Directory:
6. If desired, select the Minimize check box.
7. If you do not want to see the GUI, uncheck the Visible check box.
8. In the Restart frame, select the On Exit radio button.
9. Click OK.
10. Save the file.
Note: If the point does not have a quality code, set the “mask” to 0 and the “quality” to
something non-zero, such as 1.
ANAOUT
Brighton
BBR1_CNT
Test Output of Analog
Item2
0
DIGITAL
TestDigital1
Item1
Test Digital 1
2
2
0
1
0
1
The following are included in the DDEML/SMP Interface user interface window:
• SMP Point Name: Displays the name of the data point as it appears in the
ddeml2smp.txt file.
• Value: Displays the value of the data point.
• Status: Displays the status of the data point.
• Quality: Displays the data quality of the data point.
• Comment: Displays a comment you have entered as it appears in the
ddeml2smp.txt file.
The following are included in the DDEML/SMP Interface Debug Output window:
• Limit Length to...MB: When checked, the amount of debug text displayed is limited
to the value entered in megabytes in the adjacent text box. This is also the maximum
size of individual log files when the Log Errors in File check box is selected.
• Disable Output: Toggle ON to disable output messages.
• Log Errors in File: Toggle ON to save the messages generated to a file. Log files
are generated in the application directory path with the name
“ddeml2smp_yyyymmdd_hhmmss.log”, where yyyymmdd is the date and hhmmss is
the time.
Each type of DDE item has its own format. The first line defines the type of DDE item.
Leading spaces are removed and are optional.
Note: If the point does not have a quality code, set the “mask” to 0 and the “quality” to
something non-zero, such as 1.
DIGITAL
1BS16022C
G1 Online Status 1
wwwdde|DataGet
A1BS16022C_DS
1
1
768
768
32768
32768
STPTFB
3SMPMW
G3 MW Setpoint 18
wwwdde|DataPut
A3SMPMW_AV
wwwdde|DataPut
A3SMPMW_AS
768
768
32768
32768
3REMOTE
3JT16001S
The following are included in the InterSite Data user interface window:
• Local Site: Enter the name of the local site. This must match the “remote site” name
on the remote node.
• Local Scanner: Enter the scanner path for the local site. This must match the
“remote site” path on the remote node.
• Local Control: Enter the control path for the local site. This must match the “remote
site” path on the remote node.
Note: Prior to adding a process to an existing group, you must end all processes
by clicking Stop on the Process Starter toolbar or via the Actions menu item (see
4. To create a new Process Starter group, select Processes > Add Process.
The Configuration tab for Processes opens.
5. In the Name, Program, Params, and Directory text boxes, enter the required
information.
If you do not know the location of the mb2smp.exe file, click the Ellipsis button (...)
next to the Program text box to browse for the file. Sample values are as follows:
Name: Modbus/SMP Interface
Program: C:\eterra\e_terracontrol\bin32\mb2smp.exe
Params (Optional): D:\Modbus_Files\mb2smp_config.txt
Directory:
6. If desired, select the Minimize check box.
7. If you do not want to see the GUI, uncheck the Visible check box.
8. In the Restart frame, select the On Exit radio button.
9. Click OK.
10. Save the file.
Note: Each type of item has its own format. The first line defines the type of item.
Leading spaces are removed and are optional.
MBES
FALSE
TRUE
0
0
0
1
502
1
0
TRUE
ANARAWOUT
Kincard
Kincard_T1_2_MW_Inv
40001
UnsShort
Kincard T1 Mw
DIGOUT
Kirkland
1:540C BKR
2:530C BKR
3:100F BKR
4:101F BKR
5:102F BKR
6:103F BKR
7:CAP1 BKR
8:CAP2 BKR
9:T1L BKR
10:T2L BKR
40001
Kirkland Breakers
DIGITAL
MCC02 N1-2 PERM-1
40090
Short
Start Command
Note: The configuration file name also contains a Data Source field. If both the
configuration file and the data source are given as command-line arguments, the data
source specified in the /datasource command line is also the data source specified in
the configuration file, which is replaced with the data source given through the
/datasource command-line switch.
Note: Prior to adding a process to an existing group, you must end all processes
by clicking Stop on the Process Starter toolbar or via the Actions menu item (see
“Process Starter Console Toolbar” and “Process Starter Console Menu Bar” in the
e-terracontrol Reference Manual: Applications).
4. To create a new Process Starter group, select Processes > Add Process.
The Configuration tab for Processes opens.
5. In the Name, Program, Params, and Directory text boxes, enter the required
information.
If you do not know the location of the opcsrv.exe file, click the Ellipsis button (...)
next to the Program text box to browse for the file. Sample values are as follows:
Name: OPC DA Server
Program: C:\eterra\e_terracontrol\bin32\ OPCSrv.exe
Params (Optional): /datasource OPCServer /config C:\eterra\e_terracontrol\bin32
\OPCServerConfig.xml
Directory:
6. If desired, select the Minimize check box.
7. If you do not want to see the GUI, uncheck the Visible check box.
8. In the Restart frame, select the On Exit radio button.
9. Click OK.
2. On the list of Distributed COM Configuration Properties, find the “ALSTOMGRID DA”
entry and select it.
4. Verify that the local path (as shown on the dialog box) is
D:\eterra\e_terracontrol\bin32\OPCSrv.exe
5. Select the Location tab.
Note: Be aware that adding “Everyone” does not mean that you have really
granted access to everyone. The domain controller or local policy can prevent
10. Add a list of users you want to allow to access the Alstom Grid OPC server.
11. Back on the Security tab, under Launch and Activation Permissions, click the Edit
button.
12. Add a list of users you want to allow to launch the OPC server.
In a case where the OPC server is not already started, the first OPC client that tries
to connect to the server launches the OPC DA server application — if it has
permission for that.
13. On the Security tab, under Configuration Permissions, click the Edit button.
14. Add a list of users you want to allow to change the DCOM configuration for the OPC
DA server (it is probably the administrator or the user account under which the OPC
server runs).
If you have started the OPC server, even though there are no OPC clients’
connections, you may prefer to select “The interactive user” button.
The following are included in the OPC DA server configuration dialog box:
• Log Folder Name: This text box defines the path of the application event log file.
• Max Log File Size: This text box limits the size of the log file.
• Log To: Choose logging methodology. Log to the user interface, log to file, or both.
• Log Events: Logging severity level selection.
• Configuration File Name: Defines the path and file name of the OPC server’s
configuration file. It persists all of the configuration data on this file.
• Data Source: The name that the OPC server uses for data exchange with the
e-terracontrol server application.
• Min Update Rate: The update rate in milliseconds for updated data between the
OPC server application and the e-terracontrol server application (this is not currently
implemented).
• Host1: Address of the primary SCADA Server
• Host2: Address of the secondary SCADA Server
• Host3: Address of the additional SCADA Server
Note: Prior to adding a process to an existing group, you must end all processes
by clicking Stop on the Process Starter toolbar or via the Actions menu item (see
“Process Starter Console Toolbar” and “Process Starter Console Menu Bar” in the
e-terracontrol Reference Manual: Applications).
4. To create a new Process Starter group, select Processes > Add Process.
The Configuration tab for Processes opens.
5. In the Name, Program, Params, and Directory text boxes, enter the required
information.
If you do not know the location of the pi2smp.exe file, click the Ellipsis button (...)
next to the Program text box to browse for the file. Sample values are as follows:
Name: PI/SMP Interface
Program: C:\alstom\e_terracontrol\bin32\pi2smp.exe
Params: D:\PI_Files\pi2smp.txt
Directory:
6. If desired, select the Minimize check box.
7. If you do not want to see the GUI, uncheck the Visible check box.
8. In the Restart frame, select the On Exit radio button.
9. Click OK.
10. Save the file.
The following are included in the PI/SMP Interface user interface window:
Header
• Time: Current local time in 24-hour clock format.
• Connect SCADA: Toggle ON to enable the SCADA connection.
• SCADA Update Time: Indicates the last time data was sent to SCADA.
Measurement Information
• SMP Point Name: These names match the device names of measurements in
SCADA.
• Value Tag: Name of the corresponding tag in PI for the value.
• Type: The type of point being processed.
• Value: Displays the last value transferred.
• Quality: Displays the last quality transferred.
• Comment: Displays the comment associated with the point.
Note: Each type of item has its own format. The first line defines the type of item.
Leading spaces are removed and are optional.
If a point does not have a quality code, set the “mask” to 0 and the “quality” to
something non-zero, such as 1.
DIGITAL
BB01.DAS AGC
BB01.DAS AGC
NULL
BBR.PLC.BBR1.CNT2
Open
Closed
0
1
0
1
ANALOG
BB02.DAS AMBIENT AIR TEMP
BB02.DAS AMBIENT AIR TEMP
NULL
BBR.PLANT.BBR_STN_TEMP.DEG2
0
1
0
1
Note: The switches themselves are case-sensitive — i.e., “-s” does not perform the
same function as “-S”.
Note: Table 11 indicates that the “-n” command-line parameter is required. All other
parameters are optional or deprecated.
Note: The ability to pass device timestamps to the remote master is only available in
the data set configuration mode (“-d”). Otherwise, the e-terracontrol timestamp is
used.
Note: If the command-line parameter “-l NONE” is specified, no log file is created. This
can be useful on machines without disks or wherever the creation of an xx2smp log
file is of no interest.
Note: The ability to pass device timestamps to the remote master is only available in
data set configuration mode (-d). Otherwise, the e-terracontrol timestamp is used.
Note: Since the “-t” and “-m” command-line arguments are deprecated, the “-r”
command-line argument is also deprecated.
-r <Category>
Where <Category> is one of the following:
m: Measurements
s: Controls and Setpoints
The -r command-line argument is optional.
Note: Since the “-t” and “-m” command-line arguments are deprecated, the “-s”
command-line argument is also deprecated.
-s <Category>
Where <Category> is one of the following:
m: Measurements
s: Controls and Setpoints
The -s command-line argument is optional.
-S <Size>
Where <Size> is in bytes.
Note: The ability to pass device timestamps to the remote master is only available in
the data set configuration mode (“-d”). Otherwise, the e-terracontrol timestamp is
used.
Note: Running the current release of xx2smp with an old release of the SCADA server
is not supported. Unless circumstances forbid it, in most cases it is wise to run the
matching version of the SCADA server.
The xx2smp diagnostics window displays useful information pertaining to both the
configuration of the application and the current state of the application.
The current local time is shown in the title bar of the window and is updated every
second. The “SCADA Update Time” indicates the last time data was communicated
between xx2smp and the SCADA server application.
The Refresh List Continuously check box is used to enable/disable refreshing of the
measurement list view. By default, the measurement list view refresh is disabled. This
check box has been added to speed up the communication between xx2smp and the
master.
The pane at the top of the window shows information pertaining to all of the remote
station interfaces that are currently configured. Each of these interfaces corresponds to
a single instance of ProtocolPak that has been loaded by xx2smp (i.e., each line
corresponds to a single CfeDS data set in the database).
For each of the remote station interfaces, the following information is displayed:
• Index: Displays the index allocated to this remote station interface
(0 – xx).
• Node: Displays the node number allocated to this remote station interface (0 – xx).
• Protocol: Displays the protocol that is in use on this interface (DNP, IEC, etc.).
Note: This last test means that you only needed to have processed either an event
read or a static read or a static write for this test to succeed.
Most data sets include the facility to accept a number of parameters. These parameters
are grouped into different data sets according to their function. All parameters beginning
with “IPROP_” or “IOC_” are passed from xx2smp to ProtocolPak. These parameters
are used by ProtocolPak to customize certain aspects of its functionality. Parameters
without either of these designations are used solely by xx2smp.
Some parameters do not have defaults and must be explicitly specified. However, the
majority of parameters have sensible default values. This means that, in many cases, it
is possible to configure a system with only a very small number of parameters explicitly
specified. In the following sections, all defaults are given.
Unless otherwise specified, all parameters and values are case-sensitive. All numeric
values should be supplied in decimal. String values should not be enclosed in double
quotation marks.
Caution: The data set type names configured in the SCADA database must exactly
match the data set type names given in the following sections.
A number of parameters can be configured in this data set. Some of these parameters
are specific to serial communications, some are specific to network communications,
and some are common to both serial and network communications.
The parameters are divided into the three categories listed below. In addition, each
parameter is classified according to its “mode”. This classification follows the default
value for the parameter. The “mode” can be “Bit”, “Byte”, or “Both”. The “mode”
represents whether this parameter is applicable for only bit communications, only byte
communications, or both bit and byte communications. Since ProtocolPak does not
currently support any bit protocols, there is no need to ever set any parameters whose
“mode” is “Bit”.
For serial communications, the following parameters can be configured:
• IOC_MODE: Specifies the communications driver operating mode (bit or byte).
Options are:
– 0 = Bit
– 1 = Byte
The remainder of this section presents the parameters that can be used for the DNP,
IEC101/104, and Telegyr 8979 protocols.
For the DNP protocol, the following parameters can be configured in the protocol data
set:
• IPROP_DNP_UNSOLICITED_MODE: Specifies whether or not DNP unsolicited
mode is to be supported. Options are:
– 0 = No unsolicited support
– 1 = Unsolicited support
When set to 0, ProtocolPak disables unsolicited mode and only reports data when
polled for from the remote station. When set to 1, ProtocolPak enables unsolicited
mode, checks for unreported data at an interval defined by
IPROP_DNP_UNSOLICITED_POLL_FREQUENCY, and reports the data to the
remote station in an unsolicited message.
If unsolicited mode is enabled, the parameter IPROP_DNP_EVENT_CLASS must
be set to 1. Additionally, the appropriate variables must be flagged for inclusion in
unsolicited transmissions via the IPROP_OBJECT_CLASS parameter in the
ScanGroup data set.
Unsolicited mode is presently unsupported, so this parameter should not be modified
from its default.
Default = 0
Default = 0
• IPROP_DNP_DATALINK_CONFIRM: Specifies the conditions under which
ProtocolPak requests remote station confirmation of a data link message.
Implemented as a bit mask. If multiple flags are required, the requisite flags should
be bitwise ORed together. The flags that can be set are as follows:
– 0x00 = Never
– 0x01 = Always
– 0x02 = If message contains event data
– 0x04 = If message contains indication changes, subject to the value of
IPROP_DNP_IIN_CONFIRM
– 0x08 = If message consists of multiple fragments, confirm all but last fragment
Default = 0 (0x00)
• IPROP_DNP_DATALINK_NAK: Specifies whether or not data link negative
acknowledgements can be sent to the remote station. Options are:
– 0 = Data link NAKs cannot be sent
– 1 = Data link NAKs can be sent
In most circumstances, this parameter should not be modified from its default value.
Default = 1
• IPROP_DNP_RESYNC_INTERVAL: Specifies the interval that DNP time
resynchronization is requested via the “Need Time” internal indications bit (in
seconds).
On startup, the “Need Time” IIN bit is set (to indicate to the remote station that time
synchronization is required). The “Need Time” IIN bit is subsequently reset when a
“Write Date and Time” operation is performed by the remote station.
If IPROP_DNP_RESYNC_INTERVAL is set to 0, the “Need Time” IIN bit is never set
again after the first time synchronization. However, if
IPROP_DNP_RESYNC_INTERVAL is greater than 0, this defines the length of time
(in seconds) after a “Write Date and Time” operation before the “Need Time” IIN bit
is once again set (to indicate to the remote station that another time synchronization
is required).
Default = 3600 (1 hour)
Note: The “-x” xx2smp command-line argument must be provided, in order to have
the xx2smp application actually terminate after the reception of a cold restart
request from the remote station.
Default = 20000
• IPROP_DNP_REFRESH_RETRANSMIT: Specifies whether ProtocolPak is to
re-build the application frame when the primary station requests re-transmission.
Options are:
– 0 = Frame is not rebuilt.
– 1 = Frame is rebuilt.
For the IEC101 and IEC104 protocols, the following parameters can be configured in
the protocol data set:
• IPROP_IEC_BALANCED_MODE: Specifies whether or not ProtocolPak should use
balanced mode transmission once the device has been initialized. Options are:
– 0 = Balanced mode disabled
– 1 = Balanced mode enabled
If balanced mode is selected, the parameter IPROP_IEC_DIRECTION should be set
appropriately.
Default = 0
• IPROP_IEC_COMMON_ADDRESS_SIZE: Specifies the size of the IEC common
address in bytes. Options are:
– 1
– 2
Default = 2
• IPROP_IEC_OBJECT_ADDRESS_SIZE: Specifies the size of the IEC object
information address in bytes. Options are:
– 1
– 2
– 3
Default = 2
• IPROP_IEC_CONNECTION_TIMER: Specifies the connection timer value in
milliseconds. This parameter is currently unused by ProtocolPak and need not be
modified.
Default = 10000
• IPROP_IEC_TRANSMISSION_FREQUENCY: Specifies the base transmission
frequency for Class 2 data in milliseconds. This is a multiplier for the cycle frequency
specified in the IEC objects array (configurable via the IPROP_IEC_OBJECTS
parameter).
For example, if the cycle frequency for the single point information object in the IEC
objects array is 5 (seconds) and IPROP_IEC_TRANSMISSION_FREQUENCY
Note: The colons separating the three values (A:B:C) are required. No other character
can be substituted.
If you are customizing an element of the array and you want to accept the default value
for A, B, or C, the character “X” can be provided in place of an actual value. For
example, if you want to modify the double-point information object so that the cycle
frequency is set to 20, yet you are happy with the default settings for both the class and
activation class, you should provide the data set parameter:
IPROP_IEC_OBJECTS[3]=X:X:20
Table 16 shows the default configuration of the IEC objects array. All values in the table
are in decimal. The Object ID column corresponds to the value for XXX that is required
to customize an element of the array. The Class column corresponds to “A”, the
Activation Class column corresponds to “B”, and the Cycle Frequency column
corresponds to “C”.
Note that the Cycle Frequency is set to 0 for all objects by default. This means that, by
default, you do not perform cyclic (background) transmission of any objects. If cyclic
transmission is required, you must set the Cycle Frequency to some non-zero value for
the requisite object.
For the Telegyr 8979 protocol, the following parameters can be configured in the
protocol data set:
• IPROP_GYR_FIRMWARE_CONFIGURATION: Specifies the firmware revision
number as a decimal integer. This number is reported in response to a “Firmware
Configuration” request from the master (function code 39).
Default = 1
• IPROP_GYR_SELECT_TIMER: Specifies a conversion factor applied to the timer
count specified in select commands.
The “SBO Select” Telegyr command (function code 21) includes a “Timer Count”,
which is used as a multiplier in order to determine how long to activate the selected
point. The time interval per count is preset in the RTU (xx2smp/ProtocolPak). The
time interval per count is represented by the parameter
IPROP_GYR_SELECT_TIMER.
The “Timer Count” received from the master (in a select command) is multiplied by
the value of IPROP_GYR_SELECT_TIMER in order to produce a millisecond
timeout. This timeout is used to determine how long to activate the selected point.
However, although this value is calculated, it is not passed to the e-terracontrol
database, since it is generally irrelevant with the standard configurations of xx2smp
and e-terracontrol. Therefore, the value of this parameter need never be modified
from its default.
Default = 1
• IPROP_GYR_AUTO_CONFIGURE: Specifies whether ProtocolPak should
automatically compute the chassis number and slot number for all variables. Options
are:
– 0 = ProtocolPak reads the value of some special internal configuration variables
in order to get the user-assigned chassis and slot numbers for each variable.
This option is not supported and should not be selected.
– 1 = ProtocolPak uses the Telegyr 8979 card type to index into the
IPROP_GYR_CARD_CODES and IPROP_GYR_CARD_SIZES arrays, in order
to compute the chassis number and slot number for each variable.
– Table 17 shows the default card codes and card sizes as configured via the
parameters IPROP_GYR_CARD_CODES and IPROP_GYR_CARD_SIZES,
respectively.
Default = 1
ProtocolPak maps the card types to Telegyr 8979 data types (objects). Then, starting
with chassis 0, slot 0, ProtocolPak assigns chassis and slot numbers to all defined
variables. ProtocolPak does this according to the order of the card types listed above. It
first determines the total number of analog input variables. It then divides the number of
variables by the card size to determine the number of slots that the variables require. If
the number of slots exceeds 15, ProtocolPak increments the chassis number (as
appropriate). ProtocolPak processes the other variable data types in the same way.
Note: Not all master stations use chassis and slot numbers (Landis and Gyr stations
do). If the master station does not use chassis and slot numbers, leaving the default
setting of IPROP_GYR_AUTO_CONFIGURE (1) is sufficient. However, auto
configuration may not work for master stations that use chassis and slot numbers. In
such a case, it might be necessary to set IPROP_GYR_AUTO_CONFIGURE to 0. At
present, this option is not supported; if this is causing difficulties for your installation,
contact Alstom Grid.
Note: Objects denoted with “**” are not currently supported. However, support may
be provided for these objects in the future.
The LINKDATATYPE parameter does not have a default and must be provided.
• IPROP_OBJECT_CLASS: Specifies the object class assignment on a per-variable
basis. This parameter is optional and is generally not required for most installations.
Each protocol supported by ProtocolPak uses a default set of class assignments.
These assignments are as follows:
– For DNP, all variables for all objects (that support events) are assigned to
Class 1.
– For IEC, the default class assignments are described in Table 16 (with the
description of the parameter IPROP_IEC_OBJECTS).
– For GYR, class assignment is unused and the parameter
IPROP_OBJECT_CLASS need never be provided.
For DNP, if the default class assignment (Class 1) is not acceptable, the
IPROP_OBJECT_CLASS parameter can be used to set the required class
assignments on a per-variable basis.
For IEC, if the default class assignments are not acceptable, the
IPROP_IEC_OBJECTS parameter can be used to set the required class
assignments on a per-object basis.
Note: The IPROP_OBJECT_CLASS parameter is not supported for IEC and must
never be provided when IEC is in use.
Note: The colons separating the three values (A:B:C) are required. No other
character can be substituted.
Note: The trip data set must contain only trip controls, and the close data set must
contain only close controls.
In this case, upon receipt of a control for index 0 (say, DNP object 12 index 0) from
the master, xx2smp locates the relevant index in both cards. Subsequently, xx2smp
Note: This necessitates the judicious creation of card data sets so that they
include only those points for which you do not require events. Points for which you
do require events must be included in a separate card data set with the EVENTS
parameter set to 1 or not supplied at all (since the default is 1).
Example 2: For IEC, normally integrated totals (counters) need only be reported to
the remote station upon a request from the remote station or at the background
cycle frequency. However, the default behavior (with EVENTS set to 1) is for all
counter changes to be transmitted in Class 1. This behavior can be modified by
setting the EVENTS parameter to 0 in the card data set(s) containing integrated
totals. The appropriate “cycle frequency” can then be set via the
IPROP_IEC_OBJECTS parameter. Most users probably want to follow these
instructions for integrated totals (although it is by no means mandatory).
Default = 1
Note: Objects denoted with “**” are not currently supported. However, support can be
provided for these objects in the future.
Note: For the Bit field, selecting “SInv” for a given data item inverts the bit prior to
transmission to the master. Selecting anything other than “SInv” instructs the xx2smp
application not to invert the bit prior to transmission to the master. This only applies to
Status and Control objects.
Note: The double quotation marks around the value string (A B C D E F) are required
(for more information about the configuration of this data set, refer to the ProtocolPak
Security Configuration User’s Guide).
The security data set is used to configure parameters that are used when secure
communications have been selected (through the IPROP_COMMSTYPE parameter in
the CFE data set). The security data set need only be created if secure communications
have been enabled.
In this data set, the following parameters can be configured:
• SSL_TOKEN_SUPPORT: Specifies whether token support is to be enabled.
Options are:
– 0 = Token support disabled (using soft certificates)
– 1 = Token support enabled
Default = 0
• SSL_RENEGOTIATION_INTERVAL: Specifies the frequency that server-triggered
SSL renegotiations are to occur (in minutes). Options are:
– 0 = Server-triggered renegotiations are never performed.
– xxx: Server-triggered renegotiations are performed every xxx minutes.
Default = 1440 (24 hours)
The security alarms data set is of type SecurityDS. If this data set is supplied, the
security alarms statuses child data set should also be supplied. The security alarms
data set need only be created if secure communications have been enabled.
This data set is described in more detail in the ProtocolPak Security Configuration
User’s Guide.
The security alarms statuses data set need only be created if secure communications
have been enabled.
In this data set, the following parameters can be configured:
• PSEUDOCARD: Specifies the data set hierarchy of the PseudoCard. The value is
set to A B C D E F, where:
– A = Cfereader data set name
– B = Cfe data set name
– C = Port data set name
– D = RTU alarm data set name
– E = ScanGroup data set name
– F = PseudoCard data set name
• DATAITEMNDX: Specifies the index in the list of data items in the PseudoCard data
set.
Further explanations of these parameters can be found in the ProtocolPak Security
Configuration User’s Guide.
Caution: This data set must have the same name as the xx2smp data set, with the
word “Status” (case-sensitive) appended to the end with a preceding underscore and
without a space.
Caution: This data set must have the same name as the xx2smp master data set
(case-sensitive).
The status data set is used as a means to store status information (pertaining to the
operation of the ProtocolPak control) in the SCADA database.
The status information that ProtocolPak communicates to xx2smp is made up of the
following values:
• Connected Status
• Error Count
• Bytes Tx
• Bytes Rx
The “Connected Status” indicator is an indication sent by ProtocolPak, denoting whether
a connection is currently established with the remote station. This indicator is discussed
in further detail in section 9.5 ProtocolPak Connection Status Indicator.
The “Error Count”, “Bytes Tx”, and “Bytes Rx” indicators represent the same information
as displayed in the diagnostics window. These indicators are described in section 9.2.2
Diagnostics Window.
The status data set provides the means whereby these indicators can be written to the
SCADA database. From there, they can be used for innumerable purposes — not the
least of which are for automated monitoring tasks or for presentation to operators.
Note that a “long” (i.e., long integer variable) is provided for the storage of the error
count and Bytes Tx/Bytes Rx indicators. To that end, the raw and engineering values for
these data items are set according to the maximum value that can be stored in a “long”.
Indeed, the corresponding analog measurements should also reflect these same limits.
If the remote station is deemed as disconnected, the connected indicator is 0. If the
remote station is deemed as connected, the connected indicator is 1.
Upon startup of the xx2smp application, each of the four data items is set to 0.
Caution: In order for the data items in the status data set to be updated by xx2smp,
the data source used by xx2smp must have Write access to the xx2smp status data
set tree. If the data set has only Read access, xx2smp cannot update the data items in
the SCADA database.
The IEC CY bit is set if the value of the counter is xi < xi-1.
None None
Fixed at Configurable, range 0 to any value
_______________________ (configurable via
Configurable, range 0 to any value IPROP_DNP_APPLICATION_RETRY)
(configurable via (Fixed is not permitted)
IPROP_DNP_DATALINK_RETRY)
Never
Always
Sometimes If “Sometimes”, when?
______________________________________________
Never
Always (not recommended)
When reporting event data (Slave devices only)
When sending multi-fragment responses (Slave devices only)
Sometimes If “Sometimes”, when?
______________________________________________
Note that the DNP unsolicited mode is presently unsupported. However, the effort
required to enable and test unsolicited mode is not substantial. The entire framework for
unsolicited support is already present but has simply not been tested.
Table 28 displays all of the supported DNP objects, associated variations, and
command/response qualifiers that ProtocolPak supports.
Objects whose descriptions appear in bold are not supported. Support may be provided
for these objects in the future. Partial support already exists for a number of these
objects.
Note: In addition, the full specification of a system may require individual selection of
certain parameters for certain parts of the system, such as the individual selection of
scaling factors for individually addressable measured values.
To simplify the Protocol Implementation Document (PID) use the following conventions:
Frame length
File transfer
(Station-specific parameter)
Read procedure
(Station-specific parameter)
General interrogation
(System- or station-specific parameter)
Clock synchronization
(Station-specific parameter)
Notes:
The controlled station reports the change of hour by sending a clock synchronization
message (ASDU 103) to the controlling station as Class 1 data, with a cause of
transmission Spontaneous (3).
Command transmission
(Object-specific parameter)
Parameter activation
(Object-specific parameter)
Test procedure
(Station-specific parameter)
File transfer
(Station-specific parameter)
Background scan
(Station-specific parameter)
Note: In addition, the full specification of a system may require individual selection of
certain parameters for certain parts of the system, such as the individual selection of
scaling factors for individually addressable measured values.
Cause of transmission
(System-specific parameter)
Frame length
The maximum length of APDU is 253.
Read procedure
(Station-specific parameter)
General interrogation
(System- or station-specific parameter)
Clock synchronization
(Station-specific parameter)
Notes:
The controlled station reports the change of hour by sending a clock synchronization
message (ASDU 103) to the controlling station as Class 1 data, with a cause of
transmission Spontaneous (3).
When the controlling station sends a clock synchronization message to the controlled
station and the system (includes controlled station) is not synchronized with the GPS,
the clock synchronization response is positive.
When the controlling station sends a clock synchronization message to the controlled
station and the system (includes controlled station) is synchronized with the GPS, the
clock synchronization response is negative.
Command transmission
(Object-specific parameter)
Parameter activation
(Object-specific parameter)
Test procedure
(Station-specific parameter)
File transfer
(Station-specific parameter)
Background scan
(Station-specific parameter)
Note: Some of the function codes marked as unsupported may indeed operate
correctly. However, these function codes have simply not been thoroughly tested and
are, therefore, not guaranteed to work. If you require a specific function code that is
currently listed as unsupported, contact Alstom Grid.
24 Accumulator Freeze No
25 Pulse Output Yes
26 Pulse Train Output Yes
28 SBO Immediate Execute Yes
30 Restart RTU No
31 RTU Configuration No
32 Time Synchronization No
33 Time Bias No
34 Analog Deadbands No
35 Analog Group Define No
36 Accumulator Preset No
37 Continuation Request Yes
38 Repeat Last Message Yes
39 Firmware Configuration Yes
47 Table Read No
48 Table Write No
63 Exception Data Yes