Psm31a40397 Ee
Psm31a40397 Ee
Ce document proprit d ALSTOM ne doit pas tre utilis, copi ou communiqu des tiers sans son autorisation
This document is the exclusive property of ALSTOM and shall not be used, copied or communicated to third parties without their prior authorization
CLG870.5-104
Software Installation Manual
DIFFUSION :
CONFIDENTIELLE
ACCESSIBILITY
CONFIDENTIAL
DATE
11/02/04
ETABLI
ESTABLISHED
VERIFIE
CHECKED
APPROUVE
APPROVED
NOM
NAME
RESTREINTE
RESTRICTED
CONTROLEE
CONTROLLED
SIGNATURE
P. EZANNO
G. RAGOUILLAUX
Power
R. CHABANNE
P S M 3 1 A 4 0 3 9 7
PA 400 D
LIBRE
FREE
REV
STAT.
GFE
F/F FIN
Nb F
SH/SH END
N of SH
1/71
71
PA 401 C
REV
ETABLI
ESTABLISHED
VERIFIE
CHECKED
APPROUVE
APPROVED
RAGOUILLAUX
GRAVIL
RAGOUILLAUX
DROUHOT
CHABANNE
RAGOUILLAUX
DROUHOT
EZANNO
EZANNO
21/05/02
MODIFICATIONS
STAT.
Version originale
BPE
26/12/02
BPE
CHABANNE
17/02/03
BPE
RAGOUILLAUX
CHABANNE
18/12/03
BPE
RAGOUILLAUX
CHABANNE
11/02/04
BPE
CLG870.5-104
Software Installation Manual
ZACHARIA
DATE
PSM31A40397.2/72
TABLE OF CONTENTS
1
INTRODUCTION ........................................................................................... 5
1.1
1.2
1.3
DEFINITIONS................................................................................................ 7
RECOMMENDED CONFIGURATION.............................................................. 8
2.1
2.1.1
2.1.2
2.2
CONTROCAD CONFIGURATION................................................................. 10
2.3
2.3.1
2.3.2
INSTALLATION ........................................................................................... 59
3.1
PRIOR STATE............................................................................................... 59
3.2
3.2.1
3.2.2
3.2.3
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
CLG870.5-104
Software Installation Manual
PSM31A40397.3/72
3.4
3.4.1
3.4.2
Under NT.................................................................................................... 67
MAINTENANCE........................................................................................... 68
4.1
4.2
4.3
CLG870.5-104
Software Installation Manual
PSM31A40397.4/72
INTRODUCTION
1.1
GENERAL PRESENTATION
CLG870.5-104 (slave IEC) is a Solaris or Windows NT/XP-based software application
used to establish a gateway between the Centralog and a controlling station by
means of the IEC 870.5-104 communication protocol.
The area of application of this protocol is wide. The CLG 870.5-104 software
application implements a major part of the protocol, i.e. that part which concerns the
communication of the principal Centralog variable types: TSs, TMs and counters sent
from the Centralog to the controlling station; TSs, TMs, VRs, TCs and TVCs
transmitted from the controlling station to the Centralog (the PID describes the specific
implementation in detail). The parameters described in the present document enable
operation of the CLG 870.5-104 application to be adapted to the controlling station
with which it communicates.
Before installing the application the following configuration points should be agreed
in link with the persons responsible for the controlling station:
parameters defining the IEC 870.5-104 protocol implementation options, size of
variable identifiers, choice of transmission in delta mode or not for data
transmitted in spontaneous mode, operation of the general check, etc.
physical characteristics of the link: parameters of the TCP/IP link.
data to be exchanged: identifiers and parameters of each variable .
This document describes how to configure and install the application using the ADM
tool.
CLG870.5-104
Software Installation Manual
PSM31A40397.5/72
1.2
The table below summarizes the principal elements of the IEC 870.5-104 protocol that can be
configured in this communications gateway.
Description
ASDU <01>: Single_Point_information - non-timetagged TS state
ASDU <03>: Double_Point_Information non-timetagged dual TS state
ASDU <05>: Step_Position non-timetagged VR value
ASDU <09>: Nornalized_value non-timetagged standardized format TM value
ASDU <11>: Scaled_value non-timetagged scaled TM value
ASDU <13>: Floating_point_value non-timetagged floating format TM value
ASDU <15>: Integrated_totals non-timetagged counter value
ASDU <30>: Dated_Single_Point_information - timetagged TS state
ASDU <31>: Dated_Double_Point_Information timetagged dual TS state
ASDU <32>: Dated_Step_Position timetagged VR value
ASDU <34>: Dated_Nornalized_value timetagged standardized format TM value
ASDU <35>: Dated_Scaled_value timetagged scaled TM value
ASDU <36>: Dated_Floating_point_value timetagged floating point TM value
ASDU <37>: Dated_Integrated_totals non-timetagged counter value
ASDU <45>: Single_Command - non-timetagged single TC
ASDU <46>: Double_Command - non-timetagged dual TC
ASDU <47>: Regulating _Step - non-timetagged TC +/ASDU <48>: Normalised_Set_point - non-timetagged standardized TVC
ASDU <49>: Scaled_Set_point - non-timetagged scaled TVC
ASDU <51>: Floating_point _Set_point non-timetagged floating point format TVC
ASDU <50>: Bitstring _Set_point - TVC transported by a 32 bit bitstring
ASDU <58>: Dated_Single_Command timetagged single TC
ASDU <59>: Dated_Double_Command timetagged dual TC
ASDU <60>: Dated_Regulating _Step timetagged TC +/ASDU <61>: Dated_Normalised_Set_point timetagged standardized TVC
ASDU <62>: Normalised_Set_point timetagged scaled TVC
ASDU <63>: Dated_Floating_point _Set_point - timetagged floating point format TVC
ASDU <110>: Parameter_Normalised_value - standardized TM parameter
ASDU <112>: Parameter_Floating_point _ value - floating point TM parameter
Parameters applicable to single TSs
Parameters applicable to dual TSs
Parameters applicable to TMs
Parameters applicable to VRs (Step_Position)
Parameters applicable to counters
Parameters applicable to single, dual and incremental TCs
Parameters applicable to TVCs
Parameters applicable to TSPs
Parameters applicable to TMPs
Parameters defining the preferred implementation of the protocol
Dimensioning and timing parameters
Parameters regarding bi-directional mode and multi-master redundancy
CLG870.5-104
Software Installation Manual
Link
ASDU_01
ASDU_03
ASDU_05
ASDU_09
ASDU_11
ASDU_13
ASDU_15
ASDU_30
ASDU_31
ASDU_32
ASDU_34
ASDU_35
ASDU_36
ASDU_37
ASDU_45
ASDU_46
ASDU_47
ASDU_48
ASDU_49
ASDU_50
ASDU_51
ASDU_58
ASDU_59
ASDU_60
ASDU_61
ASDU_62
ASDU_63
ASDU_110
ASDU_112
TS parameters
Dual TS parameters
TM parameters
VR parameters_VR
Counter parameters
TC parameters
TVC parameters
TSP parameters
TMP parameters
Main_Choices
Size_Time
Bi_direction
PSM31A40397.6/72
DEFINITIONS
1.3
GTW
: Gateway
IEC
CIS
CCC
CVS
QUAD
IBDD
: interface layer between MMI or gateway function and the real time database
BDBF
TCP/IP
EXP
CLOGSQL
SYSCLOG
TS
TSP
TM
TMP
TC
TVC
DEVICE
GPT
RTU
DCS
CLG870.5-104
Software Installation Manual
PSM31A40397.7/72
RECOMMENDED CONFIGURATION
2.1
HARDWARE CONFIGURATION
2.1.1
2.1.2
CLG870.5-104
Software Installation Manual
PSM31A40397.8/72
The QUAD board driver is installed by SYSCLOG. The QUAD board must be located
in the station before starting the full installation. The Centralog Installation and
Configuration Guide describes the procedure to be followed.
Installing the QUAD board after the installation of the station is more complicated as
the system files must be reset by hand and the station rebooted.
On SUN/Solaris platform :
Select port qfe1. This port corresponds to file /etc/hostname.qfe1. This must
contain the symbolic name IECServern.
E.g. : IECServer1
The /etc/hosts file must contain the IP address corresponding to IECServern.
E.g. :
199.207.36.101
IECServer1
This IP address must of course be compatible with the network to which the port is
connected.
On PC/Windows platform :
The C:\WINNT\System32\drivers\etc\hosts file must contain the IP
address corresponding to IECServern.
E.g. :
199.207.36.101
IECServer1
This IP address must of course be compatible with the network to which the port is
connected.
CLG870.5-104
Software Installation Manual
PSM31A40397.9/72
2.2
CONTROCAD CONFIGURATION
Each slave IEC needs to be associated with a Gateway. The configuration
engineer must perform the following operations:
CLG870.5-104
Software Installation Manual
PSM31A40397.10/72
2.3
The name of these configuration files are indexed with the Centralog identifier and
the Gateway number used by the software application. In this way they cannot be
confused with the configuration files of another CLG870.5-104 application installed
on the same station.
Their role are as follows:
parameters used for the internal dimensioning and rates of the CLG 870.5104 application.
Important: Two sample configuration files are delivered with the CLG870.5-104
software application. They are located on the CCC-S respectively, in the directory
/local/af/exe/sc , in case of SUN/Solaris configuration, or E:\P320\exe\sc,
in case of PC/Windows configuration, and are named phkb_Sys_1_exemple.do
and phkb_Data_1_exemple.do
CLG870.5-104
Software Installation Manual
PSM31A40397.11/72
COUNTER_MODE=4
Most of the parameters have a default value: when a parameter is absent, its default
value is used. In the remainder of this document, the default values are underlined.
CLG870.5-104
Software Installation Manual
PSM31A40397.12/72
2.3.1
2.3.1.1
BASE_PERIOD=5
DELTA_MODE=YES
COUNTER_MODE=A
COUNTER_PERIOD=12
CLG870.5-104
Software Installation Manual
PSM31A40397.13/72
GI_WITH_PAQ_TS=NO
USE_M_EI=NO
PSM31A40397.14/72
INVALID_TIMETAG_DELAY=1800
Important: Event timetags are always invalid if the Centralog fails to receive the
external time signal correctly.
MAX_SELECT_TIME=120
REMOTE_CLOCK_SYNC=NO
CLOCK_TRANSMISSION_DELAY=3
CLG870.5-104
Software Installation Manual
PSM31A40397.15/72
Value of the TS
Close
Value of the TS
Fault
OCF000=NIL
OCF001=11
OCF010=10
OCF011=11
OCF100=01
OCF101=11
OCF110=NIL
OCF111=11
E.g.
OCF000=00
OCF001=11
OCF010=10
OCF011=11
OCF100=01
OCF101=11
OCF110=NIL
OCF111=11
Important: The document "Centralog Gateway Dual TS Specification" describes
how dual TS are produced
CLG870.5-104
Software Installation Manual
PSM31A40397.16/72
2.3.1.2
GPT_PERIOD=250
TS_LINK_PERIOD=60
LONG_TIME_FAULT_DETECTION=600
QUEUE_SIZE=3000
EVENT_WAITING_TIME=2
CLG870.5-104
Software Installation Manual
PSM31A40397.17/72
CYCLIC_QUEUE_CONTROL=YES
MAX_TIME_EVT_IN_QUEUE=60
TIME_CONTROL_COMMAND=60
BUF_CMD_SIZE=400
CLG870.5-104
Software Installation Manual
PSM31A40397.18/72
. YES: trace mode is actived. This means that messages designed to facilitate
debugging are displayed and that the CLG870.5-104 application can be polled
by means of scenario files in order to examine the content of the local database
or the chronological queue. The utilization of these scenario files is described in
the DCP.
. NO: trace mode is not actived; the software application is running in normal mode.
The default value is NO.
E.g.
TRACE_MODE=NO
TRACE_COM=NO
The line P1=<Timeout in seconds> indicates the timeout for establishment of the
connection; it corresponds to parameter T0 of the IEC870.5-104 standard. Its
value must be between 1 and 255 seconds. The default value is 30 (seconds).
E.g.
P1=30
The line P2=<Timeout in seconds> indicates the timeout of send or test APDUs;
it corresponds to parameter T1 of the IEC870.5-104 standard. Its value must be
between 1 and 255 seconds. The default value is 15 (seconds). P2 must be smaller
than P4 and greater than P3.
E.g.
P2=15
CLG870.5-104
Software Installation Manual
PSM31A40397.19/72
P3=10
The line P4=<Timeout in seconds> indicates the timeout for sending test frames
in case of a long idle state; it corresponds to parameter T3 of the IEC870.5-104
standard. Its value must be between 1 and 255 seconds. The default value is 30
(seconds). P4 must be greater than P2.
E.g.
P4=30
P5=12
The line P6=<Number of APDUs> indicates the latest acknowledge after receiving
w I format APDUs; it corresponds to parameter W of the IEC870.5-104 standard.
Its value must be between 1 and 32767 APDUs. The default value is 8 (APDUs).
(recommendation: w should not exceed 2/3 of k).
E.g.
P6=8
Important notice:
The parameters T0, T1, T2, T3, K and W must be
configured at the same value in the master and in the slave station.
CLG870.5-104
Software Installation Manual
PSM31A40397.20/72
2.3.1.3
BI_DIRECTIONAL_TRANSFER=YES
REVERSE_GI_PERIOD=300
REVERSE_TEST_PERIOD=10
DCS_TYPE=EVENT
CLG870.5-104
Software Installation Manual
PSM31A40397.21/72
CLG_TYPE=STANDALONE
CMD_PERIOD=10
CLG870.5-104
Software Installation Manual
PSM31A40397.22/72
ANARCHIQUE: DCS transmitting anarchically on both the Ethernet links. This case
is allowed for but is processed like NO_REDUNDANT mode. It is therefore
unnecessary to configure the TVC_CMDs and TM_CMDs. In this case, the
transmissions executed on the "second" link are lost.
E.g.
DCS_TYPE_REDUNDANCY=NO_REDONDANT
INIT_TIME=30
USED_MANAGED_COMMAND=YES
SIZE_FIFO_GTW=2
The line COMMAND_PER_CYCLE=<Number of commands per cycle> indicates
the maximum number of TC/TVCs transmitted from the gateway to the cell
controllers per 200 ms period; this period corresponds to the cell controller
command application cycle. This parameter is only used if flow management is
active. Its default value is 1.
E.g.
COMMAND_PER_CYCLE=1
CONSUMER_NB=5
CLG870.5-104
Software Installation Manual
PSM31A40397.23/72
E.g.
MASTER_REDUNDANCY=YES
WAIT_FOR_GI=NEVER
CLG870.5-104
Software Installation Manual
PSM31A40397.24/72
2.3.1.4
All combinations of parameters are possible; the paragraphs below show a few cases of regular
configurations of the Gateway IEC 870 104 depending on the type of DCS connected.
DCS in event-related write operating mode (like the P320):
DCS_TYPE = EVENT
INIT_TIME=0
USED_MANAGED_COMMAND = NO
SIZE_FIFO_GTW=0
COMMAND_PER_CYCLE=0
CONSUMER_NB=0
CLG_TYPE= STANDALONE
CMD_PERIOD=0
DCS_REDUNDANCY = NO_REDUNDANT
No TS_INIT
No TS_MANAGED_COMMAND
No TVC_CMD of TM_CMD
No PROCESS_VAR or PROCESS_VAR=NO on the TC and TVC
No DEADBAND on the TVC
DCS in periodic write operating mode and in parallel to both Gateways:
DCS_TYPE = CYCLIC
INIT_TIME = (SIZE_FIFO_TGW*0,2 s + basic value ) in seconds
USED_MANAGED_COMMAND = YES
SIZE_FIFO_GTW = somme of the TS_IA and TM_IA (PROCESS_VAR = YES) + talon (=1)
COMMAND_PER_CYCLE=1
CONSUMER_NB=1
CLG_TYPE=NORMAL or BACKUP or LOCAL
CMD_PERIOD=2
DCS_REDUNDANCY = PARALLELE
TS_INIT
TS_MANAGED_COMMAND
TVC_CMD
TM_CMD
PROCESS_VAR=YES for process states (TC => TS_IA and TVC => TM_IA),
PROCESS_VAR=NO for all pure commands ( TC and TVC)
DEADBAND on the TVC where PROCESS_VAR=YES
Non-redundant DCS in periodic write operating mode:
DCS_TYPE = CYCLIC
INIT_TIME = (SIZE_FIFO_TGW*0,2 s + basic value ) in seconds
CLG870.5-104
Software Installation Manual
PSM31A40397.25/72
USED_MANAGED_COMMAND = YES
SIZE_FIFO_GTW = sum of TS_IA and TM_IA (PROCESS_VAR = YES) + stub (=1)
COMMAND_PER_CYCLE=1
CONSUMER_NB=1
CLG_TYPE=STANDALONE
CMD_PERIOD=0
DCS_REDUNDANCY = NO_REDUNDANT
TS_INIT
TS_MANAGED_COMMAND
No TVC_CMD of TM_CMD
PROCESS_VAR=YES for process states (TC => TS_IA and TVC => TM_IA),
PROCESS_VAR=NO for all pure commands ( TC and TVC)
DEADBAND on the TVC where PROCESS_VAR=YES
2.3.1.5
CLG870.5-104
Software Installation Manual
PSM31A40397.26/72
2.3.1.6
Description
BASE_PERIOD
DELTA_MODE
COUNTER_MODE
COUNTER_PERIOD
GI_WITH_PAQ_TS
USE_M_EI
INVALID_TIMETAG_DELAY
MAX_SELECT_TIME
REMOTE_CLOCK_SYNC
CLOCK_TRANSMISSION_DELAY
OFC000 OFC111
GPT_PERIOD
TS_LINK_PERIOD
LONG_TIME_FAULT_DETECTION
QUEUE_SIZE
EVENT_WAITING_TIME
CYCLIC_QUEUE_CONTROL
MAX_TIME_EVT_IN_QUEUE
TIME_CONTROL_COMMAND
BUF_CMD_SIZE
TRACE_MODE
TRACE_COM
p1
P2
P3
P4
P5
P6
BI_DIRECTIONAL_TRANSFER
REVERSE_GI_PERIOD
REVERSE_TEST_PERIOD
DCS_TYPE
CLG_TYPE
CMD_PERIOD
DCS_TYPE_REDUNDANCY
INIT_TIME
USED_MANAGED_COMMAND
SIZE_FIFO_GTW
COMMAND_PER_CYCLE
CONSUMER_NB
MASTER_REDUNDANCY
WAIT_FOR_GI
CLG870.5-104
Software Installation Manual
PSM31A40397.27/72
2.3.2
2.3.2.1
CLG870.5-104
Software Installation Manual
PSM31A40397.28/72
2.3.2.2
TS_CONDUITE=PRO-TSP01
TS_LIAISON_G1=PRO-TSP02
CLG870.5-104
Software Installation Manual
TS_LIAISON_CLG=PRO-TSP03
PSM31A40397.29/72
- The line TS_SATURATION=<Key of the overflow TSP> defines the key of the
TS that indicates whether one of the chronological queues is full or none. When one
of the queues is full the TS is valid and equal to 1, otherwise it is equal to 0. This
parameter can also be defined in the first device section, instead of in this first
block.
Important: This TS must be defined, here or in the first device section.
E.g.
TS_SATURATION=PRO-TSP04
TS_INIT=PRO-TSP04
TS_MANAGED_COMMAND=PRO-TSP05
- The line TVC_CMD=<Key of the command TVC> defines the key of the TVC
used by the cell controller to determines the TM command TM_CMD in accordance
with the parameter CLG_TYPE. Its value authorizes the Centralog to send the
process commands or states to the cell controllers.
Each Centralog type CLG_TYPE=[NORMAL or BACKUP] writes its own value in the
TVC_CMD: CLG_TYPE=NORMAL => TVC_CMD=2
or CLG_TYPE=BACKUP => TVC_CMD=4.
CLG870.5-104
Software Installation Manual
PSM31A40397.30/72
TS_MANAGED_COMMAND=PRO-TVC_CMD_06
CLG870.5-104
Software Installation Manual
PSM31A40397.31/72
TM_CMD=PRO-TM_07
TS_SATURATION=PRO-TSP04
Then, the declaration of the two lists of variables (transmitted or received) is done
independantly of the type of concerned device (local or remote).
The list of variable types transmitted by the IEC 870.5-104 Gateway (or controlling
station) is declared as follows:
OBJECT_DESCRIPTION_TRANSMIT
OBJECT=<Id1> TYPE=<type1> BLOCK=<base1> POINTS=<Start1>,<End1>
OBJECT=<Id2> TYPE=<type2> BLOCK=<base2> POINTS=<Start2>,<End2>
....
OBJECT=<Idn> TYPE=<Typen> BLOCK=<Basen> POINTS=<Startn>,<Endn>
END_OBJECT_DESCRIPTION
CLG870.5-104
Software Installation Manual
PSM31A40397.32/72
CLG870.5-104
Software Installation Manual
PSM31A40397.33/72
CLG870.5-104
Software Installation Manual
PSM31A40397.34/72
. POINTS=<Start>,<End>: gives the limits of the object variable identifiers. The low
limit is equal to: <Base>+<Start>; the high limit is equal to: <Base>+<End>
During the definition of the list of object variables, the software application
checks that each variable identifier is located within these limits. The identifier is
calculated with the formula: Id=<Base>+<Point> (<Point> is a parameter of
the variable)
Example 1: The base address of the objects is equal to 0, which is the same as
defining the variable identifiers directly in the lists declared subsequently.
OBJECT_DESCRIPTION_TRANSMIT
OBJECT=1
OBJECT=2
OBJECT=31
OBJECT=32
OBJECT=3
OBJECT=4
OBJECT=5
OBJECT=6
OBJECT=7
OBJECT=10
TYPE=SINGLE_POINT
TYPE=SINGLE_POINT_WITH_TIME
TYPE=DOUBLE_POINT
TYPE=DOUBLE_POINT_WITH_TIME
TYPE=MEASURED_NORMALIZED_VALUE
TYPE=MEASURED_SCALED_VALUE
TYPE=MEASURED_FLOAT_VALUE_WITH_TIME
TYPE=INTEGRATED_TOTAL
TYPE=INTEGRATED_TOTAL_WITH_TIME
TYPE=MEASURED_INTEGER_VALUE
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
BLOCK=0
POINTS=0,
499
POINTS=500, 799
POINTS=800, 899
POINTS=900, 999
POINTS=1000,1499
POINTS=1500,1799
POINTS=1800,1999
POINTS=2000,2099
POINTS=2100,2499
POINTS=3000,3599
END_OBJECT_DESCRIPTION
Example 2: The ASDU of the non-timetagged TS is composed of 3 consecutive blocks;
a single TM type is used and there are no counters:
OBJECT_DESCRIPTION_TRANSMIT
OBJECT=1
OBJECT=11
OBJECT=12
OBJECT=2
OBJECT=4
OBJECT=6
TYPE=SINGLE_POINT
TYPE=SINGLE_POINT
TYPE=SINGLE_POINT
TYPE=SINGLE_POINT_WITH_TIME
TYPE=MEASURED_SCALED_VALUE
TYPE=MEASURED_FLOAT_VALUE
BLOCK=0
BLOCK=100
BLOCK=200
BLOCK=0
BLOCK=0
BLOCK=0
POINTS=0,29
POINTS=0,9
POINTS=0,20
POINTS=500,999
POINTS=1500,1999
POINTS=2000,2099
END_OBJECT_DESCRIPTION
The list of the data types received from the controlling station is declared as follows:
OBJECT_DESCRIPTION_RECEIVE
OBJECT=<Id1> TYPE=<Type1> BLOCK=<Base1> POINTS=<Start1>,<End1>
OBJECT=<Id2> TYPE=<Type2> BLOCK=<Base2> POINTS=<Start2>,<End2>
....
OBJECT=<Idn> TYPE=<Typen> BLOCK=<Basen> POINTS=<Startn>,<Endn>
END_OBJECT_DESCRIPTION
It is possible to declare up to 64 object of the same type.
The parameters of an IEC object are:
. OBJECT=<Id>: indicates the object identifier.
. TYPE=<type>: defines the object variable type. Each of the possible types
corresponds to an IEC 870.5-104 standard ASDU (see PID)
The possible types are:
- SINGLE_COMMAND: direct TC and Select Before Operate TC type
corresponding to the standard ASDU 0x2D (C_SC_NA_1),
- SINGLE_COMMAND_WITH_TIME: direct TC type and Select Before Operate
TC type corresponding to the standard ASDU 0x3A (C_SC_TA_1),
CLG870.5-104
Software Installation Manual
PSM31A40397.35/72
CLG870.5-104
Software Installation Manual
PSM31A40397.36/72
CLG870.5-104
Software Installation Manual
PSM31A40397.37/72
BLOCK=0 POINTS=3000,3499
BLOCK=0 POINTS=3500,3599
BLOCK=0 POINTS=4800,4999
END_OBJECT_DESCRIPTION
CLG870.5-104
Software Installation Manual
PSM31A40397.38/72
2.3.2.4
CLG870.5-104
Software Installation Manual
PSM31A40397.39/72
- STEP_POSITION,
- STEP_POSITION_WITH_TIME,
- INTEGRATED_TOTAL,
- INTEGRATED_TOTAL_WITH_TIME,
- SINGLE_COMMAND,
- SINGLE_COMMAND_WITH_TIME,
- DOUBLE_COMMAND,
- DOUBLE_COMMAND_WITH_TIME,
- REGULATING_STEP_COMMAND,
- REGULATING_STEP_COMMAND_WITH_TIME,
- SET_POINT_NORMALIZED_VALUE,
- SET_POINT_NORMALIZED_VALUE_WITH_TIME,
- SET_POINT_SCALED_VALUE,
- SET_POINT_FLOAT_VALUE,
- SET_POINT_SCALED_VALUE_WITH_TIME,
- SET_POINT_FLOAT_VALUE_WITH_TIME,
- SET_POINT_BIT_STRING.
For a <Device identifier> of type DESCRIPTION_REMOTE_DEVICE (i.e. data
transfer in reverse direction), the allowed objects are the following:
- SINGLE_POINT_FROM_MASTER,
- SINGLE_POINT_WITH_TIME_FROM_MASTER,
- DOUBLE_POINT_FROM_MASTER,
- DOUBLE_POINT_WITH_TIME_FROM_MASTER,
- MEASURED_NORMALIZED_VALUE_FROM_MASTER,
- MEASURED_NORMALIZED_VALUE_WITH_TIME_FROM_MASTER,
- MEASURED_SCALED_VALUE_FROM_MASTER,
CLG870.5-104
Software Installation Manual
PSM31A40397.40/72
- MEASURED_SCALED_VALUE_WITH_TIME_FROM_MASTER,
- MEASURED_FLOAT_VALUE_FROM_MASTER,
- MEASURED_FLOAT_VALUE_WITH_TIME_FROM_MASTER,
- STEP_POSITION_FROM_MASTER,
- STEP_POSITION_WITH_TIME_FROM_MASTER,
All the variables in a single object must be of the same type. The variable type must
be compatible with the object type. The key words used to define the different kinds
of variable are:
. DATA_TS (<TS parameters>): Definition of a TS. The IEC objects that
contain this kind of definition are of SINGLE_POINT or
SINGLE_POINT_WITH_TIME type,
. DATA_DOUBLE_TS (<Dual TS parameters>): Definition of a dual TS. The
IEC objects that contain this kind of definition are of DOUBLE_POINT or
DOUBLE_POINT_WITH_TIME type,
. DATA_TM (<TM parameters>): Definition of a TM. The IEC objects that
contain this kind of definition are of the type:
MEASURED_NORMALIZED_VALUE
MEASURED_NORMALIZED_VALUE_WITH_TIME
MEASURED_SCALED_VALUE
MEASURED_SCALED_VALUE_WITH_TIME
MEASURED_FLOAT_VALUE
MEASURED_FLOAT_VALUE_WITH_TIME
. DATA_VR (<VR parameters>): Definition of a VR.
MEASURED_INTEGER_VALUE type objects are exchanged via the channel of
MEASURED_SCALED_VALUE type IEC objects, The other objects that
contain VRs are of the type:
STEP_POSITION
STEP_POSITION_WITH_TIME
. DATA_COUNTER (<Counter parameters>): Definition of a counter. The IEC
objects that contain this kind of definition are of the type:
INTEGRATED_TOTAL
INTEGRATED_TOTAL_WITH_TIME
. DATA_TC (<TC parameters>) closed by END_DATA_TC: Definition of a TC.
The IEC objects that contain this kind of definition are of the type:
SINGLE_COMMAND
CLG870.5-104
Software Installation Manual
PSM31A40397.41/72
SINGLE_COMMAND_WITH_TIME
DOUBLE_COMMAND
DOUBLE_COMMAND_WITH_TIME
REGULATING_STEP_COMMAND
REGULATING_STEP_COMMAND_WITH_TIME
. DATA_TVC (<TVC parameters>): Definition of a TVC. The IEC objects that
contain this kind of definition are of the type:
SET_POINT_NORMALIZED_VALUE
SET_POINT_NORMALIZED_VALUE_WITH_TIME
SET_POINT_SCALED_VALUE
SET_POINT_SCALED_VALUE_WITH_TIME
SET_POINT_FLOAT_VALUE
SET_POINT_FLOAT_VALUE_WITH_TIME
SET_POINT_BIT_STRING
. DATA_PARAMETER (<Parameters of a parameter>): Definition of a
parameter. The IEC objects that contain this kind of definition are of the type:
PARAMETER_NORMALIZED_VALUE
PARAMETER_SCALED_VALUE - not implemented
PARAMETER_FLOAT_VALUE
The received objects from a remote LRU of the controlling station (in
reverse direction) are distinguished by the use of distinct variable types
(suffix _FROM_MASTER):
. DATA_TSP (<Received TS parameters>): Definition of received TS.
The IEC objects containing this kind of information are of type
SINGLE_POINT_FROM_MASTER or SINGLE_POINT_WITH_TIME_FROM_MASTER,
. DATA_DOUBLE_TSP (<Received double TS parameters>): Definition of
received double TS. The IEC objects containing this kind of information are of type
DOUBLE_POINT_FROM_MASTER or DOUBLE_POINT_WITH_TIME_FROM_MASTER,
. DATA_TMP (<Received TM parameters>): Definition of received TM.
The IEC objects containing this kind of information are of type
MEASURED_NORMALIZED_VALUE_FROM_MASTER
MEASURED_NORMALIZED_VALUE_WITH_TIME_FROM_MASTER
MEASURED_FLOAT_VALUE_FROM_MASTER
MEASURED_FLOAT_VALUE_WITH_TIME_FROM_MASTER
MEASURED_SCALED_VALUE_FROM_MASTER
MEASURED_SCALED_VALUE_WITH_TIME_FROM_MASTER
CLG870.5-104
Software Installation Manual
PSM31A40397.42/72
CLG870.5-104
Software Installation Manual
INTEGRATED_TOTAL
(<Parameters
of
(<Parameters
of
object
the
the
variables:
first
counter>)
last
counter>)
PSM31A40397.43/72
CLG870.5-104
Software Installation Manual
PSM31A40397.44/72
CLG870.5-104
Software Installation Manual
PSM31A40397.45/72
2.3.2.5
Definition of TS Parameters
The parameters of a TS are declared as follows:
DATA_TS (POINT=<p> KEY=<Key> [LIB=<Label>] [ADR_CSSF=<q>])
where:
POINT=<p>: number used to identify the TS during exchanges with the controlling
station. The identifier of the TS is equal to <p> + <Base>.
(<Base> is the base number of the object variable identifiers in which the TS is
defined),
KEY=<Key>: Centralog key of the TS.
LIB=<Label>: Label of the variable (in a word). This label is used as a comment.
For example the controlling station TS key could be used. This parameter is optional.
ADR_CSSF=<q>: System CSS-F address used to identify the TS during exchanges
between the system CSS-F and the application CSS-F. This parameter is optional
for the slave IEC.
Important: It is possible to reserve a point for subsequent use.
In this case the following declaration is made:
DATA_TS (POINT=45 NO_KEY LIB=TS_reserved)
The CLG870.5-104 software application never sends this TS to the controlling
station.
E.g.
DATA_OBJECT=2
DATA_TS (POINT=500
DATA_TS (POINT=501
DATA_TS (POINT=502
DATA_TS (POINT=503
.....
END_DATA_OBJECT
CLG870.5-104
Software Installation Manual
KEY=TSRAUT1000)
KEY=TSRAUT1001)
NO_KEY)
KEY=TSRAUT1003)
PSM31A40397.46/72
2.3.2.6
TS_OPEN=01KCZUS08SM1
TS_CLOSE=01KCZUS08SM2
TS_FAULT=01KCZUS08SM3)
TS_OPEN=01KCZUS09SM1
TS_CLOSE=01KCZUS09SM2
TS_FAULT=01KCZUS09SM3)
.....
END_DATA_OBJECT
CLG870.5-104
Software Installation Manual
PSM31A40397.47/72
2.3.2.7
Definition of TM Parameters
The parameters of a TM are declared as follows:
DATA_TM (POINT=<p>
KEY=<Key> [ADR_CSSF=<q>]
[OFFSET=<Offset>]
[COEFF=<Coeff>]
[DEADBAND=<Deviation>][LIB=<Label>] )
Where:
POINT=<p>: number used to identify the TM during exchanges with the controlling
station. The identifier of the TM is equal to <p> + <Base>.
KEY=<Key>: Centralog key of the TM.
OFFSET=<Offset>: offset of the formula used to convert the Centralog value of the
TM into the value transmitted to the controlling station. The value resulting from the
formula is then adapted to the format of the ASDU used to transmit the TM
(whatever the type of ASDU, the value transmitted is in 16 bits). This parameter is
optional; by default it is equal to 0.0
COEFF=<Coeff>: coefficient of the formula used to convert the Centralog value of
the TM into the value transmitted to the controlling station. This parameter is
optional; by default it is equal to 1.0
Important: The OFFSET and COEFF parameters of a TM must be defined in
order to match the ASDU used. For example for a normalized TM (ASDU 0x9)
varying between 0 and 2000 an offset of -1000 and a coefficient of 1000 could be
selected so that the measurement transmitted will always be between -1 and 1.
DEADBAND=<Deviation>:this parameter is used when:
The mode of transmission of the variables is the delta-mode (DELTA_MODE=YES) for
the non-timetagged TM,
For the timetagged TM, this parameter is not taken in account if a parameter
Deadband exists and is transmitted by the Controlling station.
It indicates the limit beyond which the value of the TM is considered to have
changed, thus triggering transmission to the controlling station. This is an absolute
value applied to the Centralog value (32 bits) of the TM.
This parameter is optional; by default it is equal to 0.0
LIB=<Label>: label of the variable (in a word). This label is used as a comment. It
is optional.
ADR_CSSF=<q>: system CSS-F address used to identify the TM during exchanges
between the system CSS-F and the application CSS-F. This parameter is optional
for the slave IEC.
CLG870.5-104
Software Installation Manual
PSM31A40397.48/72
2.3.2.8
Definition of VR Parameters
The parameters of a VR are declared as follows:
DATA_VR (POINT=<p> KEY=<Key> [LIB=<Label>] [ADR_CSSF=<q>] )
Where:
POINT=<p>: number used to identify the VR during exchanges with the controlling
station. The identifier of the VR is equal to <p> + <Base> (<Base> is the base
number of the object variable identifiers in which the VR is defined).
KEY=<Key>: Centralog key of the VR.
LIB=<Label>: label of the variable (in a word). This label is used as a comment.
For example the controlling station TS key can be used.
This parameter is optional.
ADR_CSSF=<q>: system CSS-F address used to identify the VR during exchanges
between the system CSS-F and the application CSS-F. This parameter is optional
for the slave IEC.
Important: It is possible to reserve a point for subsequent use. In this case the
following declaration is made:
DATA_VR (POINT=50 NO_KEY LIB=VR_reserved)
The CLG870.5-104 software never transmits this VR to the controlling station.
E.g.
DATA_OBJECT=10
DATA_VR (POINT=3000
DATA_VR (POINT=3001
DATA_VR (POINT=3002
DATA_VR (POINT=3003
.....
END_DATA_OBJECT
CLG870.5-104
Software Installation Manual
KEY=01VRE00)
KEY=02VRE00)
NO_KEY)
KEY=03VRE00)
PSM31A40397.49/72
2.3.2.9
CLG870.5-104
Software Installation Manual
KEY=PRO-TMI01 MAX=500000)
KEY=PRO-TMI02 MAX=500000)
NO_KEY)
KEY=PRO-TMI04 MAX=500000)
PSM31A40397.50/72
2.3.2.10
Definition of TC Parameters
The parameters of a command transmitted by the controlling station are declared as
follows:
DATA_TC
TYPE=<Type of the TC>
POINT=<p>
[LIB=<Label>]
[PROCESS_VAR =<YES/NO>]
[TC_SELECT(<Characteristic of the Centralog TC>)]
[TC_DESELECT(<Characteristic of the Centralog TC>)]
TC_SIMPLE(<Characteristic of the Centralog TC>)
OR
TC_ON(<Characteristic of the Centralog TC>)
TC_OFF(<Characteristic of the Centralog TC>)
OR
TC_ON_SHORT(<Characteristic of the Centralog TC>)
TC_OFF_SHORT(<Characteristic of the Centralog TC>)
OR
TC_ON_LONG(<Characteristic of the Centralog TC>)
TC_OFF_LONG(<Characteristic of the Centralog TC>)
OR
TC_ON_PERSISTENT(<Characteristic of the Centralog TC>)
TC_OFF_PERSISTENT (<Characteristic of the Centralog TC>)
OR
TC_ON_SHORT(<Characteristic of the Centralog TC>)
TC_ON_LONG (<Characteristic of the Centralog TC>)
TC_OFF_SHORT(<Characteristic of the Centralog TC>)
TC_OFF_LONG(<Characteristic of the Centralog TC>)
OR
TC_HIGHER(<Characteristic of the Centralog TC>)
TC_LOWER(<Characteristic of the Centralog TC>)
OR
TC_HIGHER_SHORT(<Characteristic of the Centralog TC>)
TC_LOWER_SHORT(<Characteristic of the Centralog TC>)
OR
TC_HIGHER_LONG(<Characteristic of the Centralog TC>)
TC_LOWER_LONG(<Characteristic of the Centralog TC>)
OR
TC_HIGHER_SHORT(<Characteristic of the Centralog TC>)
TC_HIGHER_LONG (<Characteristic of the Centralog TC>)
TC_LOWER_SHORT(<Characteristic of the Centralog TC>)
TC_LOWER_LONG(<Characteristic of the Centralog TC>)
END_DATA_TC
With:
TYPE=<Type of the TC>: This parameter indicates the type of the TC. The
possible values are:
CLG870.5-104
Software Installation Manual
PSM31A40397.51/72
CLG870.5-104
Software Installation Manual
PSM31A40397.52/72
CLG870.5-104
Software Installation Manual
PSM31A40397.53/72
CLG870.5-104
Software Installation Manual
PSM31A40397.54/72
CLG870.5-104
Software Installation Manual
PSM31A40397.55/72
2.3.2.11
CLG870.5-104
Software Installation Manual
PSM31A40397.56/72
TS_AUTO=<TS key>: key of the authorization TS associated with the TVC. This
parameter is optional.
SENS_AUTO=<Authorization TS sense>: value that the authorization TS of the
TVC must have for its transmission to be authorized. This parameter is optional; if it
is absent when an authorization TS has been defined, its default value is 0 .
TM_RET=<TM key>: key of the return TM associated with the TVC. This parameter is
optional.
TOLERANCE=<Dm>: maximum deviation tolerated between the setpoint and the
return value of the TM associated with the TVC, for the CLG870.5-104 software
application to consider that the setpoint has been correctly taken into account. This
parameter is optional; if it is absent when a return TM has been defined, its default
value is 0.0.
DELAY=<Delay>: TVC execution delay in seconds. This parameter is optional; if it is
absent when a return TM has been defined, its default value is 60.
Important: It is possible to reserve a point for subsequent use.
In this case the following declaration is made:
DATA_TVC (POINT=5678 NO_KEY LIB=TVC_reserved)
E.g.
DATA_OBJECT=7
DATA_TVC(POINT=4001 KEY=PRO-TVC01
OFFSET=100 COEFF=50
TS_AUTO=TSRAUT1040 SENS_AUTO=0
TM_RET=PRO-TMPESS01 TOLERANCE=10 DELAY=30)
DATA_TVC(POINT=4002 NO_KEY)
.....
END_DATA_OBJECT
2.3.2.12
CLG870.5-104
Software Installation Manual
PSM31A40397.57/72
LIB=<Label>: label of the TSP (in a word). This label is used as a comment. It is
optional.
TSP=<TSP key>: Centralog key of the TSP
2.3.2.13
CLG870.5-104
Software Installation Manual
PSM31A40397.58/72
INSTALLATION
3.1
PRIOR STATE
As the CLG870.5-104 software application uses a QUAD type expansion board, the
board must be installed in the target station before starting to install the system.
In effect for SYSCLOG to install the board drivers correctly, the board must already
be present when the tool is executed.
The CLG870.5-104 software application can be installed either during the installation
of the system or afterwards.
3.2
3.2.1
CLG870.5-104
Software Installation Manual
PSM31A40397.59/72
# uncompress file
install.sh
- Then:
cd /tmp/LIVRAISON*/IecXXX_<Release>
./install.sh
# Some files are installed under subdirectories of directory /local/af/exe
- Finally reboot the Centralog C10 (command reboot s) to install IEC function.
CLG870.5-104
Software Installation Manual
PSM31A40397.60/72
3.2.2
1
2
3
4
5
6
The current configuration is displayed. Add the IEC function on the concerned
station(s), to select:
(in the example, the function is installed on operator station 2, ws0634)
Current configuration is:
Station
Functions
System Name
------- --------------------------------------------------- ----------ws0673
CCC-S,CCC-D,CCC-M,EXP,HDSR,PRMGR,CLGTOOLS
5hob
ws0634
EXP,HDSR
5hpb
ws6603
CISSUN,CISGEN
5hsb
ws6604
CISSUN,CISGEN
5hsp
Enter station name to configure or to modify: ws0634
Enter function names[EXP,HDSR]: +IEC
Current Configuration is:
Station
Functions
System Name
------- --------------------------------------------------- ----------ws0673
CCC-S,CCC-D,CCC-M,EXP,HDSR,PRMGR,CLGTOOLS
5hob
ws0634
EXP,HDSR,IEC
5hpb
ws6603
CISSUN,CISGEN
5hsb
ws6604
CISSUN,CISGEN
5hsp
CLG870.5-104
Software Installation Manual
PSM31A40397.61/72
3.2.3
1
2
3
4
5
6
CLG870.5-104
Software Installation Manual
PSM31A40397.62/72
The label proposed by default is composed of the name of the function for ADM or of
the label that has already been input. It is completed by the number of the gateway
after input (e.g. IEC:GTW1). This label is used in the pulldown menus used to run or
stop the software application. In the example it is not modified:
***********************************
First IEC protocol link install ...
***********************************
Label of IEC protocol : IEC
New label ? :
->
The maximum number of gateways for the Centralog is 8. A single gateway cannot
be shared by several links. The installation engineer must check that the gateway
number selected is not used elsewhere in the system.
WARNING!! Each gateway number must be used only once in the
Centralog
Number(s) of Gateways available: [ 1 2 3 4 5 6 7 8 ]
Enter your choice ? :
-> 1
The menu proposes the list of the free ports on the station or the choice "other port".
The last allows the input of a name of any port without check on its presence.
Select "Other port" and indicate the name of the port Iec_Servern
Ports available:
/dev/ttya
-> 1
/dev/ttyb
-> 2
Other port
-> 3
Enter your choice: 3
New port name?
Iex_Server1
>> Creating file /local/af/exe/dc/piks_RESS_IEC.do <<
>> Creation of file /local/af/exe/sc/piks_GA_IEC.do <<
-> /local/af/exe/oc/piks_lance_IEC1.sh installed !!
IEC installation on ws0634 OK
Reinstalling the IEC function overwrites the choice defined previously.
CLG870.5-104
Software Installation Manual
PSM31A40397.63/72
3.3
3.3.1
Hardware configuration
Controcad Server version 3.3.3,
Centralog in version 5.3.3,
ADMP320 software already installed,
CONFP320 software already installed,
An available Ethernet network port.
3.3.2
3.3.3
Controcad configuration
The Gateway configuration must be done on the Controcad Server imperatively
before the installation of ConfP320 on the Centralog station.
Any modification of the Gateways configuration (addition of a Gateway, for example)
on the Controcad server implies the reinstallation of ConfP320 software on the
Centralog target station.
Gateway declaration on Controcad:
1.
2.
3.
4.
5.
6.
CLG870.5-104
Software Installation Manual
PSM31A40397.64/72
3.3.4
CSS-G installation
Important remark:
If several Gateways have to be installed on an unique machine, they must be
installed at the same time by the AdmP320 software (by indicating the final number of
Gateways to be installed), otherwise a new installation will be necessary and will reset
the former installed Gateways.
1. Log under exe account on the Centralog target station,
2. Insert the CD-ROM in the drive,
3. Copy the file IEC104_xx.tar.gz in a local directory,
4.
Uncompress the file IEC104_xx.tar.gz by using by using the tools
gzip32.exe and tar.exe located in C:\P320\bin,
-
Copy gzip32 and tar in the local directory or use absolute descriptor.
# uncompress file
CLG870.5-104
Software Installation Manual
PSM31A40397.65/72
3.3.5
Configuration files
3.3.5.1
3.3.5.2
3.3.6
CLG870.5-104
Software Installation Manual
PSM31A40397.66/72
3.4
3.4.1
Under UNIX
The application starts automatically when the station boots.
To stop the software application independently of the other software applications on
the station, use the pulldown menu accessible from the Window manager Desktop:
Menu: Application/IEC_Protocol/IEC:GTW1/Stop
To restart the software application independently of the other software applications
on the station, use the pulldown menu accessible from the Window manager Desktop:
Menu: Application/IEC_Protocol/IEC:GTW1/Start.
Execution is not authorized if the software application is already running.
3.4.2
Under NT
After installation of software (under exe account of Centralog target station and
CIS station), restart the CIS station by logging under clg . The application starts
automatically.
It is also possible to start or stop manually the software by the menu:
Start/Programs/IEC_GTWN_PROTOCOL/Start ,
or Start/Programs/IEC_GTWN_PROTOCOL/Stop .
CLG870.5-104
Software Installation Manual
PSM31A40397.67/72
MAINTENANCE
4.1
local
tmp
af
clg
exe
protocols
sc
Configuration files:
phkb_Sys_n.do
phkb_Data_n.do
CLG870.5-104
Software Installation Manual
PSM31A40397.68/72
The diagram below shows the location of the different files manipulated in the
Windows environment:
P320
Temp
exe
Communication trace file:
piko_TraceCom_n.do
Tmp
protocoles
Running flag:
phkb_gtwn_run
sc
Configuration files:
phkb_Sys_n.do
phkb_Data_n.do
CLG870.5-104
Software Installation Manual
PSM31A40397.69/72
CLG870.5-104
Software Installation Manual
PSM31A40397.70/72
4.2
Where:
KEY=<TM key>: Centralog key of the TM used to manage the counter,
VC=<Vc>: current value of the counter,
IS_VC_VALID=<v>: indicates whether the current value of the counter is valid (1) or
not (0)
E.g.
KEY=PRO-TMI01
KEY=PRO-TMI02
KEY=PRO-TMI03
KEY=PRO-TMI04
KEY=PRO-TMI05
CLG870.5-104
Software Installation Manual
VC=120000
VC=130000
VC=140000
VC=150000
VC=160000
IS_VC_VALID=1
IS_VC_VALID=1
IS_VC_VALID=1
IS_VC_VALID=1
IS_VC_VALID=1
VCM1=110000
VCM1=120000
VCM1=130000
VCM1=140000
VCM1=150000
TMM1=700
TMM1=700
TMM1=700
TMM1=700
TMM1=700
PSM31A40397.71/72
4.3
Example:
KEY=TSTASIG_TM_5
PRESENCE_PARAM=035 NVA_THRESHOLD=18350 NVA_SMOOTHING_FACTOR=-32768 F32_THRESHOLD=0.00000
F32_SMOOTHING_FACTOR=0.00000 SCALED_THRESHOLD=+00000
SCALED_SMOOTHING_FACTOR=+00000
KEY=TSTASIG_TM_1
PRESENCE_PARAM=035 NVA_THRESHOLD=18137 NVA_SMOOTHING_FACTOR=+14548 F32_THRESHOLD=0.00000
F32_SMOOTHING_FACTOR=0.00000 SCALED_THRESHOLD=+00000
SCALED_SMOOTHING_FACTOR=+00000
KEY=TSTASIG_TM_2
PRESENCE_PARAM=067
NVA_THRESHOLD=+00000 NVA_SMOOTHING_FACTOR=+00000
F32_THRESHOLD=0.00000 F32_SMOOTHING_FACTOR=0.00000
SCALED_THRESHOLD=-01136 SCALED_SMOOTHING_FACTOR=+02536
CLG870.5-104
Software Installation Manual
PSM31A40397.72/72