Ptp21a40018-Eb (Interfaces Library)
Ptp21a40018-Eb (Interfaces Library)
USER’S MANUAL
This document is the exclusive property of ALSTOM and shall not be used, copied or communicated to third parties without their prior authorization
Ce document propriété d’ ALSTOM ne doit pas être utilisé, copié ou communiqué à des tiers sans son autorisation
DATE NOM
SIGNATURE
10/10/2001 NAME
ETABLI
ESTABLISHED
C. FRIXONS
T. FAVIER
VERIFIE
abcd
CHECKED
C. CHARCELLAY
P. MANIETTE
APPROUVE
APPROVED
P. MARDUEL Centrales Energétiques SA
C.CHARCELLAY
A C.FRIXONS P. MARDUEL 15/04/01 First version GFE
P. MANIETTE
C.CHARCELLAY
B C.FRIXONS P. MANIETTE P. MARDUEL 10/10/01 New components GFE
T.FAVIER
This document describes the use of the function blocks belonging to the system library. Each
function block is described in a technical sheet enclosed in the following document. The technical
sheets are presented in alphabetical order.
- The name of the function block (on the left top of the sheet),
* the description of the internal and state variables used in the FB,
1
COS
IN E S OUT
2 4 3
2- Code name(3 caracters) ; name of the argument which is used in the FB code,
4- ARROW :
Name Description Type Neg Range Mand. Def. Value Mand. Advised First
Connection Data parameters scan
value value
Inputs
IN1 Input B Y - Y - N - -
IN2 Input B Y - Y - N - -
IN3 Input B Y - N 1 N - -
IN4 Input B Y - Y - N - -
Outputs Y - Y - Y - -
RE Operator result B
Parameters
- input
- output
RANGE : For each argument, the limit of the numerical value must be
indicated according to its type.Sometimes it is important to give its physical
value.
NEG : It is the possibilty of negation for a boolean input and of opposition for a
numerical input.
ADVISED PARAMETER VALUE : Value used in normal condition during the execution of the
FB.This value is an attribute of the connected varible.
FIRST SCAN VALUE : Value of the argument during the first execution cycle. It allows the
function block to be internally initialized.
HY : hysteresis
HI : high limit
LO : low limit
HT : high threshold
LT : low threshold
DL : line validation
DF : defaut validation
TY : type of process
SL : slope
PT : period of time
IN : input
IC : init command
IV : init value
IS : init status
RUN : run command
BCL : busy for closed loop
Bol : busy for open loop
BSY : busy
ME : measurement
SP : set point
FRZ : freeze
OLC : open loop compaign
TRK : tracking
ENO : error output
Gn : gain
AT : attenuation
TH : threshold
BD : Dead Band
APP_PROPS
INIT
CYC
MASTER
2.2 FUNCTION
The APP_PROPS function block shows the application properties such as the
initialization phase, the cycle time and the presence of the master controller. It can
be used in any controller (cell or field controller).
Name Description Type Neg Range Mand. Def. Mand. Advised First
Connection value Data parameters scan
value value
Output
2.4 USE
Description of terminals
RE_INIT : It is set to 1 at the first cycle of the controller, then set to 0 for
the other cycles.
RE_CYC : It shows the cycle time in milliseconds. It depends on the
application sweep time and the period of POU owner of
diagram where is put this function block.
Application Sweep Time × POU’s Period = RE_CYC
RE_MASTER : It is set to 1 when the controller is present in master running
mode. If the controller is alone, it is always set to 1.
Internal code :
CCL_HMIES
E_TM
R_TC
I_TC
R_TVC
I_TVC
3.2 FUNCTION
The CCL_HMIES function block gives informations on exchanges between the cell
controller and supervisors. It can only be used in a cell controller.
Name Description Type Neg Range Mand. Def. Mand. Advised First
Connection value Data parameters scan
value value
Outputs
Description of terminals
E_TM : It shows if there is at least one sent analogic signal (ccASig) in the
current cycle.
3.5 SPECIFICATIONS
Internal code :
CCL_ICES
E_IA
E_RG
4.2 FUNCTION
The CCL_ICES function block gives informations on emissions through the unit
network. It can only be used in a cell controller.
Name Description Type Neg Range Mand. Def. Mand. Advised First
Connection Value Data parameters scan
value value
Outputs
E_IA Indicator B Y N - Y
E_RG Indicator B Y N - Y
4.4 USE
Description of terminals
Internal code :
CCL_OMR
INST NORM
CRI1 MTF8
CRI2 S_OK
CRI3 C_OK
CRI4
CRI5
CRI6
CRI7
5.2 FUNCTION
The CCL_OMR function block sets informations for the redundancy management
and gives informations on redundancy and operationnal mode of the cell controller.
It can only be used in a cell controller.
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Inputs
Outputs
Description of terminals
INST : This indicator is set by the application in the master cell controller to
inhibit temporarily the topple. It so allows to avoid the master cell
controller on F8000 network to topple after the faults arrival, whom
don’t concern the F8000, when the application must keep the control
on F8000 to retain her coherency vis-à-vis her equipments.
The indicator INST can be set by the application on the master to
inibate the topple master-slave.It can be set to 1 only if the FS_MTF8
is set to 1 to avoid dysfunction.
CRIx (x between 1 to 7) :
These indicators are set by the application on each cell controller to
show that given conditions, which determine if one of controllers has
the best state, act upon the choice of master cell controller fonction of
the relative priority of each criteria.
So that one criteria indicate that the controller is more capable of
being the master than the other, this criteria should set to 1 on the
primary controller and should set to 0 in the secondary controller.
NORM : This indicator shows the function mode, master or slave, of the cell
controller vis-à-vis S8000. It is set to 1 for master S8000 operational
mode. It is set to 0 for the slave mode.
MTF8 : This indicator shows the function mode, master or slave, of the cell
controller vis-à-vis F8000. It is set to 1 for master F8000 operational
mode. It is set to 0 for the slave mode.
5.5 SPECIFICATION :
Internal code :
CUR_CTRL_FLTS
DFA A
SY
SN
M
F
RF
GF
RS
GS
C
6.2 FUNCTION
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Input
DFA Input B Y N N
A Application fault B N N Y
SYN Synchronization fault B N N Y
SN Non-blocking fault B N N Y
M Module fault B N N Y
F I/O forcing B N N Y
RF Redundancy fault B N N Y
GF Communication fault B N N Y
RS Redundancy fault B N N Y
GS Communication fault B N N Y
C Communication fault B N N Y
6.4 USE
Description of terminals
A: APPLICATION FAULT
This fault is set by the application using the FS_DF_A indicator.
SY : SYNCHRONIZATION FAULT
This fault is set if the synchronization can be realized in at least 30
seconds before. In the field controller, the synchronisation needs to
receive the synchronization pip all 5 seconds and the time message
from the supervisor.
SN : NON-BLOCKING FAULT
This fault is set to 1 when at least one fault appears in one of both
fault tables (I/O or CPU) of the controller, and is set to 0 when the
both fault tables are erased by the operator with P80.
M: MODULE FAULT
This fault is set to 1 when at least one module is declared in fault,
and erased when entered faults in the IO faults table are acquitted by
the operator with P80.
F: ` I/O FORCING
It is set to 1 when at least one forcing is in the controller. Else it is set
to 0.
6.5 SPECIFICATION :
Internal code :
DUAL_CTRL_FLTS
GN
A
SY
SN
M
F
RF
GF
RS
GS
C
7.2 FUNCTION
The DUAL_CTRL_FLTS function block allows to use some defaults of the dual
controller. It can be used in any redundant controller (cell or field controller).
The faults A, SY, SN, M, F and RF concern the field and cell controller.
The faults GF, RS, GS and C concern only the cell controller.
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Outputs
GN Controller Presence B N N Y
A Application fault B N N Y
SYN Synchronization fault B N N Y
SN Non-blocking fault B N N Y
M Module fault B N N Y
F I/O forcing B N N Y
RF Redundancy fault B N N Y
GF Communication fault B N N Y
RS Redundancy fault B N N Y
GS Communication fault B N N Y
C Communication fault B N N Y
Description of terminals
GN : CONTROLLER PRESENCE
This bit is set if the controller is present on the F8000 field network.
A: APPLICATION FAULT
This fault is set by the application using the FS_DF_A indicator.
SY : SYNCHRONIZATION FAULT
This fault is set if the synchronization can be realized in at least 30
seconds before. In the field controller, the synchronisation needs to
receive the synchronization pip all 5 seconds and the time message
from the supervisor.
SN : NON-BLOCKING FAULT
This fault is set to 1 when at least one fault appears in one of both
fault tables (I/O or CPU) of the controller, and is set to 0 when the
both fault tables are erased by the operator with P80.
M: MODULE FAULT
This fault is set to 1 when at least one module is declared in fault,
and erased when entered faults in the IO faults table are acquitted by
the operator with P80.
F: ` I/O FORCING
It is set to 1 when at least one forcing is in the controller. Else it is set
to 0.
7.5 SPECIFICATION :
Internal code :
EXT_CTRL_FLTS
ABO GN
A
SY
SN
M
F
RF
GF_SL02
RS_SL03
GS_SL04
C_SL05
SL06
SL07
SL08
SL09
SL10
8.2 FUNCTION
The EXT_CTRL_FLTS function block allows to use some defaults of the external
controller. It can be used in any controller (cell, field or IHR controller). But the
external controller must exchange its defaults on the field network with the controller
in which is used this function block.
The faults A, SY, SN, M, F and RF are common to all the controllers.
The faults GF, RS, GS and C concern only the cell controller.
The faults SLxx concern the IHR controller.
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Input
ABO Input W N Y N
Outputs
GN Controller presence B N N Y
A Application fault B N N Y
SYN Synchronization fault B N N Y
SN No-jaming fault B N N Y
M Module fault B N N Y
F I/O forcing B N N Y
RF Redundancy fault B N N Y
GF_SL02 Fault B N N Y
RS_SL03 Fault B N N Y
GS_SL04 Fault B N N Y
C_SL05 Fault B N N Y
SL06 Slot Fault B N N Y
SL07 Slot Fault B N N Y
SL08 Slot Fault B N N Y
SL09 Slot Fault B N N Y
SL10 Slot Fault B N N Y
8.4 USE
Description of terminals
GN : CONTROLLER PRESENCE
This bit is set if the controller is present on the F8000 field network.
A: APPLICATION FAULT
This fault is set by the application using the FS_DF_A indicator.
SY : SYNCHRONIZATION FAULT
This fault is set if the synchronization can be realized in at least 30
seconds before. In the field controller, the synchronisation needs to
receive the synchronization pip all 5 seconds and the time message
from the supervisor.
M: MODULE FAULT
This fault is set to 1 when at least one module is declared in fault,
and erased when entered faults in the IO faults table are acquitted by
the operator with P80.
F: I/O FORCING
This fault is set to 1 when at least one forcing is in the controller. Else
it is set to 0.
Internal code :
FCL_OMR
DMVE MTF8
9.2 FUNCTION
The FCL_OMR function block sets informations for redundancy management and
gives informations on redundancy and operationnal mode of the field controller. It
can only be used in the field controller.
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Inputs
DMVE Input B N N Y
Outputs
MTF8 Indicator B N N Y
9.4 USE
Description of terminals
DMVE : This indicator allows the application to ask punctually the topple in the
slave mode of the controller, entailling the topple of the dual controller
in the master mode.
It is had to set to 1 by the application during at least one sweep to ask
the topple in the slave mode of the controller. The application must
set to 0 after one sweep.
MTF8 : This indicator shows the function mode, master or slave, of the cell
controller vis-à-vis F8000. It is set to 1 for master F8000 operational
mode. It is set to 0 for the slave mode
Internal code :
10.2 FUNCTION
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Outputs
RE1 Fault B N N Y
RE2 Fault B N N Y
RE3 Fault B N N Y
RE4 Fault B N N Y
RE5 Fault B N N Y
Description of terminals
10.5 SPECIFICATIONS
Internal code :
S_REF
FST_SCN
LST_SCN
T_10MS
T_100MS
T_SEC
T_MIN
ALW_ON
ALW_OFF
SY_FULL
IO_FULL
OVR_PRE
PRG_CHK
PLC_BAT
SNPXACT
SNPX_RD
SNPX_WT
11.2 FUNCTION
The S_REF function block gives informations from the controller PLC. It can be used
in any controller (cell or field controller).
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Outputs
FST_SCN Indicator B N N Y
LST_SCN Indicator B N N Y
T_10MS Timer pulse B N N Y
T_100MS Timer pulse B N N Y
T_SEC Timer pulse B N N Y
T_MIN Timer pulse B N N Y
ALW_ON 1 B N N Y
ALW_OFF 0 B N N Y
SY_FULL Indicator B N N Y
IO_FULL Indicator B N N Y
OVR_PRE Indicator B N N Y
PRG_CHK Indicator B N N Y
PLC_BAT Indicator B N N Y
SNPX_RD Indicator B N N Y
SNPX_WT Indicator B N N Y
11.4 USE
Description of terminals
LST_SCN : Reset from 1 to 0 when the current scan is the last scan.
SY_FULL : Set when the PLC fault table fills up. Cleared when an entry is
removed from the PLC fault table and when the PLC fault
table is cleared.
11.5 SPECIFICATIONS
Internal code :
SA_REF
PB_SUM
OV_SWP
APL_FLT
CFG_MM
HRD_CPU
LOW_BAT
LOS_IOM
LOS_SIO
ADD_IOM
ADD_SIO
HRD_SIO
SFT_SIO
12.2 FUNCTION
The SA_REF function block gives informations from the controller PLC. It can be
used in any controller (cell or field controller).
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Outputs
Description of terminals
OV_SWP : Set when the PLC detects that the previous sweep took longer
than the time specified by the user. Cleared when the PLC detects
that the previous sweep did not take longer than the specified
time. It is also cleared during the transition from STOP to RUN
mode. Only valid if the PLC is in CONSTANT SWEEP mode.
APL_FLT : Set when an application fault occurs. Cleared when the PLC
transitions from STOP to RUN mode.
HRD_CPU : Set when the diagnostic detects a problem with the CPU
hardware. Cleared by replacing the PLC module.
LOW_BAT : Set when a low battery fault occurs. Cleared by replacing the
battery and ensuring that the PLC powers up without the low
battery condition.
LOS_IOM : Set when an I/O module stops communicating with the PLC CPU.
Cleared by replacing the module and cycling power on the main
rack.
LOS_SIO : Set when an option module stops communicating with the PLC
CPU. Cleared by replacing the module and cycling power on the
main rack.
12.5 SPECIFICATIONS
Internal code :
13.1 REPRESENTATION
SB_REF
BAD_RAM
BAD_PWD
SFT_CPU
STOR_ERR
13.2 FUNCTION
The SB_REF function block gives informations from the controller PLC. It can be
used in any controller (cell or field controller).
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Outputs
13.4 USE
Description of terminals
BAD_RAM : Set when the CPU detects corrupted RAM memory at power-
up. Cleared when the CPU detects that RAM memory is valid at
power-up.
13.5 SPECIFICATION
Internal code :
SC_REF
ANY_FLT
SY_FLT
IO_FLT
SY_PRES
IO_PRES
HRD_FLT
SFT_FLT
14.2 FUNCTION
The SC_REF function block gives informations from the controller PLC. It can be
used in any controller (cell or field controller).
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Outputs
14.4 USE
Description of terminals
ANY_FLT : Set when any fault occurs. Cleared when both fault tables have no
entries.
SY_FLT : Set when any fault occurs that causes an entry to be placed in
PLC fault table. Cleared when the PLC fault table has no entries.
SY_PRES : Set as long as there is at least one entry in the PLC fault table.
Cleared when the PLC fault table has no entries.
IO_PRES : Set as long as there is at least one entry in the I/O fault table.
Cleared when the I/O fault table has no entries.
HRD_FLT : Set when a hardware fault occurs. Cleared when the both fault
tables have no entries.
SFT_FLT : Set when a software fault occurs. Cleared when the both fault
tables have no entries.
14.5 SPECIFICATION :
Internal code :
SEND TO DUAL
IN1
IN2
IN3
IN4
IN5
15.2 FUNCTION
Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value
Inputs
IN1 Fault B N N Y
IN2 Fault B N N Y
IN3 Fault B N N Y
IN4 Fault B N N Y
IN5 Fault B N N Y
Description of terminals
15.5 SPECIFICATIONS
Internal code :