0% found this document useful (0 votes)
11 views44 pages

Ptp21a40018-Eb (Interfaces Library)

The document is a user's manual for the Interfaces Function Block Library, detailing the use and characteristics of various function blocks within a system library. It includes technical sheets for each function block, outlining their graphical representations, arguments, and specifications. The manual is intended for internal use by ALSTOM and contains confidential information.

Uploaded by

Carlos Rivera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views44 pages

Ptp21a40018-Eb (Interfaces Library)

The document is a user's manual for the Interfaces Function Block Library, detailing the use and characteristics of various function blocks within a system library. It includes technical sheets for each function block, outlining their graphical representations, arguments, and specifications. The manual is intended for internal use by ALSTOM and contains confidential information.

Uploaded by

Carlos Rivera
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 44

CONTROCAD

Interfaces Function Block 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

DIFFUSION : CONFIDENTIELLE o RESTREINTE o CONTROLEE o LIBRE o


ACCESSIBILITY CONFIDENTIAL RESTRICTED CONTROLLED FREE

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

REV STAT. F°/F° FIN Nb F°


SH/SH END N of SH
P T P2 1 A 4 0 0 1 8 - E B PT P 2 1 A 4 0 0 1 8
1 B GFE 1/44 44
PA 400 B
TABLE DES MODIFICATIONS / MODIFICATIONS TABLE

REV ETABLI VERIFIE APPROUVE DATE MODIFICATIONS STAT.


ESTABLISHED CHECKED APPROVED

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.2/44


PA 401 A
TABLE OF CONTENTS

1 PRESENTATION OF THE DOCUMENT.................................................................................................. 4

2 APP_PROPS : APPLICATION PROPERTIES ......................................................................................... 8

3 CCL_HMIES : CELL CONTROLLER HMI EXCHANGES SERVICES................................................... 10

4 CCL_ICES : CELL CONTROLLER INTER CELLS EXCHANGES SERVICES..................................... 12

5 CCL_OMR : CELL CONTROLLER OPERATIONNAL MODE AND REDUNDANCY ........................... 14

6 CUR_CTRL_FLTS : CURRENT CONTROLLER FAULTS .................................................................... 17

7 DUAL_CTRL_FLTS : DUAL CONTROLLER FAULTS.......................................................................... 20

8 EXT_CTRL_FLTS : EXTERNAL CONTROLLER FAULTS ................................................................... 23

9 FCL_OMR : FIELD CONTROLLER OPERATIONNEL MODE AND REDUDANCY ............................. 27

10 RECV_FROM_DUAL : RECEIVE FAULTS FROM DUAL ..................................................................... 29

11 S_REF : DISCRETE SYSTEM REFERENCES....................................................................................... 31

12 SA_REF : DISCRETE MASKABLE FAULT REFERENCES ................................................................. 35

13 SB_REF : DISCRETE NON-MASKABLE FAULT REFERENCES ........................................................ 39

14 SC_REF : DISCRETE SUMMARY FAULT REFERENCES ................................................................... 41

15 SEND_TO_DUAL : SEND FAULTS TO DUAL....................................................................................... 43

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.3/44


1 PRESENTATION OF THE DOCUMENT

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.

1.1 PRESENTATION OF THE TECHNICAL SHEETS.

The technical sheet includes the following items :

- The name of the function block (on the left top of the sheet),

- The graphical representation of the function block,

- The table of arguments characteristics,

- The FB function description,

- The function block use description that includes ;

* an optional and specific argument description,

* the parameters to be initialized,

* some notes on particular use.

- The function block specification that includes ;

* the description of the internal and state variables used in the FB,

* the LEA code generated by CONTROCAD in place of the graphical FBs,

* the basic function used by the FB.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.4/44


1.2 FUNCTION BLOCK GRAPHICAL REPRESENTATON

A function block representation is given hereafter ;

1
COS

IN E S OUT

2 4 3

1- Name of the function block,

2- Code name(3 caracters) ; name of the argument which is used in the FB code,

3- Display name (10 caractères): name of the argument displayed in CONTROCAD,

4- ARROW :

- Full arrow : represent an input/output that can be wired to another FB, or


connected to a variable or an immediate value,

- Empty arrow : represent an optional input/output.

1.3 TABLE OF ARGUMENTS CHARACTERISTICS.

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.5/44


The different column contain:

NAME : name of the argument

- input

- output

- parameters : the tunning variable associated to a FB has 2 levels ;

- Configurator : the parameters can’t be changed online


(eg :mechanical characteristics).

- User : the parameters can be changed online.

DESCRIPTION : description of the argument,

TYPE : a variable can has one of the following types :

- (B)OOLEAN [1 bit, 0 or 1] ANY_NUM


- (W)ORD [16 bits integer, from 0 to 65535]
- (I)NTEGER [16 bits integer, from –32768 to 32767]
ANY_INT
- (L)ONG [32 bits integer,from 0 to 4294967295]
- (D)OUBLE [32 bits integer, from –2147483648 to
2147483647]
- (R)EAL[32 bits, 3.4e +/-38]
- (D)URATION [32 bits]
- (C)URSOR[16 bit pointer]

ANY_INT : WORD, INTEGER, LONG, DOUBLE, CURSOR


ANY_NUM : WORD, INTEGER, LONG, DOUBLE, REAL
ANY_NUM* mean that all the arguments in the FB must be in the
same type.
For arguments representing an array of value, the lenght must be
indicated. eg : an array of 8 boolean -> BOOLEAN[8].

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.

MANDATORY CONNECTION : The argument can be wired to another FB, or connected to a


variable or an immediate value.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.6/44


DEFAULT VALUE : It’s the default value of an argument if MANDATORY
CONNECTION is set to « NO ».Another possibility is to use
the pre-processing directives of the LEA language.

MANDATORY DATA : Obligation to affect a value or a variable to the argument.

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.

General type of argument

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.7/44


2 APP_PROPS : APPLICATION PROPERTIES

2.1 COMPONENT REPRESENTATION

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).

2.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mand. Def. Mand. Advised First
Connection value Data parameters scan
value value
Output

RE_INIT Indicator of Initialisation B Y N Y


RE_CYC Cycle Time L N N Y
RE_MASTER Master Indicator B Y N Y

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.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.8/44


2.5 SPECIFICATIONS

Internal variables : None

Internal code :

#IF defined ($RE_INIT)


BOO INIT = RE_INIT
#ENDIF

#IF defined ($RE_CYC)


CAL CYC = RE_CYC
#ENDIF

#IF defined ($RE_MASTER)


BOO MASTER = RE_MASTER
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.9/44


3 CCL_HMIES : CELL CONTROLLER HMI EXCHANGES SERVICES

3.1 COMPONENT REPRESENTATION

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.

3.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mand. Def. Mand. Advised First
Connection value Data parameters scan
value value
Outputs

E_TM Emission Indicator B N N - Y


R_TC Reception Indicator B N N - Y
I_TC Boolean Command W N N - Y
Row
R_TVC Reception Indicator B N N - Y
I_TVC Analog Command W N N Y
Row

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.10/44


3.4 USE

Description of terminals

E_TM : It shows if there is at least one sent analogic signal (ccASig) in the
current cycle.

R_TC : It shows if there is one received boolean command


(OpenLoop_ccCmd_x) in the current cycle.

I_TC : It is set by the Communication Services at each reception of boolean


command (OpenLoop_ccCmd_x) and it shows the row of the last
received boolean command.

R_TVC : It is set by Communication Services at each reception of analogic


setpoint (ccSPt_x).

I_TVC : It is set by Communication Services at each reception of analogic


command (ccSPt_x) and it shows the row of the last received
analogic setpoint.

3.5 SPECIFICATIONS

Internal variables : None

Internal code :

#IF defined ($E_TM)


BF (C_GET_BIT_M, 83, E_TM)
#ENDIF

#IF defined ($R_TC)


BF (C_GET_BIT_M, 90, R_TC)
#ENDIF

#IF defined ($I_TC)


BF (C_GET_WORD_R, 9803, I_TC)
#ENDIF

#IF defined ($R_TVC)


BF (C_GET_BIT_M, 91, R_TVC)
#ENDIF

#IF defined ($I_TVC)


BF (C_GET_WORD_R, 9804, I_TVC)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.11/44


4 CCL_ICES : CELL CONTROLLER INTER CELLS EXCHANGES SERVICES

4.1 COMPONENT REPRESENTATION

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.

4.3 ARGUMENTS CHARACTERISTICS

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

E_IA : It is an indicator of emission towards all cells. It is set to 1 if the


emission happens at the end of the current cycle.

E_RG : It is an indicator of emission towards the cell of regroupement. It is set


to 1 if the emission happens at the end of the current cycle.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.12/44


4.5 SPECIFICATIONS

Internal variables : None

Internal code :

#IF defined ($E_IA)


BF (C_GET_BIT_M, 86, E_IA)
#ENDIF

#IF defined ($E_RG)


BF (C_GET_BIT_M, 87, E_RG)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.13/44


5 CCL_OMR : CELL CONTROLLER OPERATIONNAL MODE AND REDUNDANCY

5.1 COMPONENT REPRESENTATION

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.

5.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value

Inputs

INST Inhibition input B N N Y


CRIx Criteria input B N N Y
[1…7]

Outputs

NORM Function mode B N N Y


MTF8 Function mode B N N Y
S_OK Supervisor presence B N N Y
C_OK Presence of B N N Y
commandability

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.14/44


5.4 USE

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.

S_OK : It is set by communication service at any sweep in function of


supervisors presence.

C_OK : It is set to 1 by the communication service when the supervisor is


able to send directly commands to the cell controller. It is set to 0 if
the connexion with the supervisor has lost since at least 30 seconds
or if the cell controller topples in slave mode.

5.5 SPECIFICATION :

Internal variables : None

Internal code :

#IF defined ($INST)


BF (C_STORE_BIT_M, 385, INST)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.15/44


#IF defined ($CRI1)
BF (C_STORE_BIT_M, 386, CRI1)
#ENDIF

#IF defined ($CRI2)


BF (C_STORE_BIT_M, 387, CRI2)
#ENDIF

#IF defined ($CRI3)


BF (C_STORE_BIT_M, 388, CRI3)
#ENDIF

#IF defined ($CRI4)


BF (C_STORE_BIT_M, 389, CRI4)
#ENDIF

#IF defined ($CRI5)


BF (C_STORE_BIT_M, 390, CRI5)
#ENDIF

#IF defined ($CRI6)


BF (C_STORE_BIT_M, 391, CRI6)
#ENDIF

#IF defined ($CRI7)


BF (C_STORE_BIT_M, 392, CRI7)
#ENDIF

#IF defined ($NORM)


BF (C_GET_BIT_M, 78, NORM)
#ENDIF

#IF defined ($MTF8)


BF (C_GET_BIT_M, 75, MTF8)
#ENDIF

#IF defined ($S_OK)


BF (C_GET_BIT_M, 81, S_OK)
#ENDIF

#IF defined ($C_OK)


BF (C_GET_BIT_M, 82, C_OK)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.16/44


6 CUR_CTRL_FLTS : CURRENT CONTROLLER FAULTS

6.1 COMPONENT REPRESENTATION

CUR_CTRL_FLTS
DFA A
SY
SN
M
F
RF
GF
RS
GS
C

6.2 FUNCTION

The CUR_CTRL_FLTS function block allows to create an application fault in the


current controller and use some defaults of this controller. It can be used in any
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.

6.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value

Input

DFA Input B Y N N

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.17/44


Outputs

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

DFA : APPLICATION FAULT INPUT


It can be set to 1 by the application to send a fault to the controller.

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.

RF : F8000 MEDIUM REDONDANCY FAULT


This fault is set if the FBC ready condition is true AND the medium
fault condition given by the FBC30 is true, else it is set to 0.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.18/44


GF : F8000 COMMUNICATION GLOBAL FAULT
This fault is set if the FBC ready condition is false OR if this condition
is true AND no operational network condition given by the FBC30 is
true, else it is set to 0. It can be only used in the cell controller.

RS : S8000 MEDIUM REDONDANCY FAULT


If the unit network is S8000-E, then it is always set to 0. If the unit
network is S8000-F, then it is set if the FBC Ready condition is true
AND medium default given by the FBC30 is true on a redondant
network, else it is set to 0. It can be only used in the cell controller.

GS : S8000 COMMUNICATION GLOBAL FAULT


It is set if the S Drive Interface condition is false, OR if this S Driver
OK is false, OR the S Driver connected is false, else it is set to 0. It
can be only used in the cell controller.

C: SUPERVISOR COMMUNICATION FAULT


It is set if the cell controller has not relation with the supervisor (no
reception of the time message since at least 30 seconds), else it is
set to 0. It corresponds to the S_OK indicator.

6.5 SPECIFICATION :

Internal variables : None

Internal code :

#IF defined ($DFA)


BOO DFA = FS_DF_A
#ENDIF

TWB C_PRSCE_STAT = ,A,SY,SN,M,F,RF,GF,RS,GS,C

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.19/44


7 DUAL_CTRL_FLTS : DUAL CONTROLLER FAULTS

7.1 COMPONENT REPRESENTATION

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.

7.3 ARGUMENTS CHARACTERISTICS

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.20/44


7.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.

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.

RF : F8000 MEDIUM REDONDANCY FAULT


This fault is set if the FBC ready condition is true AND the medium
fault condition given by the FBC30 is true, else it is set to 0.

GF : F8000 COMMUNICATION GLOBAL FAULT


This fault is set if the FBC ready condition is false OR if this condition
is true AND no operational network condition given by the FBC30 is
true, else it is set to 0. It can be only used in the cell controller.

RS : S8000 MEDIUM REDONDANCY FAULT


If the unit network is S8000-E, then it is always set to 0. If the unit
network is S8000-F, then it is set if the FBC Ready condition is true
AND medium default given by the FBC30 is true on a redondant
network, else it is set to 0. It can be only used in the cell controller.

GS : S8000 COMMUNICATION GLOBAL FAULT


It is set if the S Drive Interface condition is false, OR if this S Driver
OK is false, OR the S Driver connected is false, else it is set to 0. It
can be only used in the cell controller.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.21/44


C: SUPERVISOR COMMUNICATION FAULT
It is set if the cell controller has not relation with the supervisor (no
reception of the time message since at least 30 seconds), else it is
set to 0. It corresponds to the S_OK indicator.

7.5 SPECIFICATION :

Internal variables : None

Internal code :

TWB D_PRSCE_STAT = GN,A,SY,SN,M,F,RF,GF,RS,GS,C

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.22/44


8 EXT_CTRL_FLTS : EXTERNAL CONTROLLER FAULTS

8.1 COMPONENT REPRESENTATION

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.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.23/44


8.3 ARGUMENTS CHARACTERISTICS

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

ABO : SUBCRIBER NUMBER


This word shows the subcriber number of the external controller. It is
indicated in the properties windows of the external controller.

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.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.24/44


SN : NON-BLOCKING FAULT
This fault is set to 1 when at least one fault appears in one of both
fault tables 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
This fault is set to 1 when at least one forcing is in the controller. Else
it is set to 0.

RF : F8000 MEDIUM REDONDANCY FAULT


This fault is set if the FBC ready condition is true AND the medium
fault condition given by the FBC30 is true, else it is set to 0.

GF : F8000 COMMUNICATION GLOBAL FAULT


This fault is set if the FBC ready condition is false OR if this condition
is true AND no operational network condition given by the FBC30 is
true, else it is set to 0.

RS : S8000 MEDIUM REDONDANCY FAULT


If the unit network is S8000-E, then it is always set to 0. If the unit
network is S8000-F, then it is set if the FBC Ready condition is true
AND medium default given by the FBC30 is true on a redondant
network, else it is set to 0.

GS : S8000 COMMUNICATION GLOBAL FAULT


It is set if the S Drive Interface condition is false, OR if this S Driver
OK is false, OR the S Driver connected is false, else it is set to 0.

C: SUPERVISOR COMMUNICATION FAULT


It is set if the cell controller has not relation with the supervisor (no
reception of the time message since at least 30 seconds), else it is
set to 0. It corresponds to the S_OK indicator.

SLx : IHR MODULE FAULT


This fault is set to 1 when the module, setting on the slot number x, is
declared in fault, and set to 0 when entered faults in the IO faults
table are acquitted by the operator with P80.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.25/44


8.5 SPECIFICATIONS

Internal variables : TEMP

Internal code :

CAL 16 – ABO/2 = TMP


CAL PRSCE_STAT_TB(TMP) = TMP
TWB TMP = GN, A, SY, SN, M, F, RF, GF_SL02, RS_SL03, GS_SL04,
C_SL05, SL6, SL07, SL08, SL09, SL10

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.26/44


9 FCL_OMR : FIELD CONTROLLER OPERATIONNEL MODE AND REDUDANCY

9.1 COMPONENT REPRESENTATION

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.

9.3 ARGUMENTS CHARACTERISTICS

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.27/44


9.5 SPECIFICATION :

Internal variables : None

Internal code :

#IF defined ($DMVE)


BF (C_STORE_BIT_M, 4095, DMVE)
#ENDIF

#IF defined ($MTF8)


BF (C_GET_BIT_M, 4094, MTF8)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.28/44


10 RECV_FROM_DUAL : RECEIVE FAULTS FROM DUAL

10.1 COMPONENT REPRESENTATION

RECV FROM DUAL


RE1
RE2
RE3
RE4
RE5

10.2 FUNCTION

The RECV_FROM_DUAL function block gives informations from the application of


the dual controller. It can be used in any redundant controller (cell or field controller).
But the exchange of application faults between slave and master controller contain
only five bits.
This block must be used with the SEND_TO_DUAL function block.
This five bits can be used, for exemple, for the redundancy management.

Many RECV_FROM_DUAL can be used in a controller.

10.3 ARGUMENTS CHARACTERISTICS

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.29/44


10.4 USE

Description of terminals

REx : It is a no-redundant boolean output received by the dual


controller. Set to 1 when the SEND_TO_DUAL’s input INx of
the dual controller is put to 1.

10.5 SPECIFICATIONS

Internal variables : None

Internal code :

TWB D_PRSCE_STAT = ,,,,,,,,,,,RE5,RE4,RE3,RE2,RE1

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.30/44


11 S_REF : DISCRETE SYSTEM REFERENCES

11.1 COMPONENT REPRESENTATION

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).

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.31/44


11.3 ARGUMENTS CHARACTERISTICS

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

FST_SCN : Set to 1 when the current scan is the first scan.

LST_SCN : Reset from 1 to 0 when the current scan is the last scan.

T_10MS : 0.01 second timer contact.

T_100MS : 0.1 second timer contact.

T_SEC : 1.0 second timer contact.

T_MIN : 1.0 minute timer contact.

ALW_ON : Always ON (the information is a "1" logical ).

ALW OFF : Always OFF (the information is a "0" logical).

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.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.32/44


IO_FULL : Set when the I/O fault table fills up. Cleared when an entry is
removed from the I/O fault table and when the I/O fault table is
cleared.

OVR_PRE : Set when an override exists in %I, %Q, %M and %G memory.

PRG_CHK : Set when a background program check is active.

PLC_BAT : Set to indicate a bad battery in a Release 4 or later CPU. The


contact reference is updated once per sweep.

SNPXACT : SNP-X host is actively attached to the CPU.

SNPX_RD : SNP-X host has read data from the CPU.

SNPX_WT : SNP-X host has a written data to the CPU.

11.5 SPECIFICATIONS

Internal variables : None

Internal code :

#IF defined ($FST_SCN)


BF (C_GET_BIT_S, 1, FST_SCN)
#ENDIF

#IF defined ($LST_SCN)


BF (C_GET_BIT_S, 2, LST_SCN)
#ENDIF

#IF defined ($T_10MS)


BF (C_GET_BIT_S, 3, T_10MS)
#ENDIF

#IF defined ($T_100MS)


BF (C_GET_BIT_S, 4, T_100MS)
#ENDIF

#IF defined ($T_SEC)


BF (C_GET_BIT_S, 5, T_SEC)
#ENDIF

#IF defined ($T_MIN)


BF (C_GET_BIT_S, 6, T_MIN)
#ENDIF

#IF defined ($ALW_ON)


BF (C_GET_BIT_S, 7, ALW_ON)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.33/44


#IF defined ($ALW_OFF)
BF (C_GET_BIT_S, 8, ALW_OFF)
#ENDIF

#IF defined ($SY_FULL)


BF (C_GET_BIT_S, 9, SY_FULL)
#ENDIF

#IF defined ($IO_FULL)


BF (C_GET_BIT_S, 10, IO_FULL)
#ENDIF

#IF defined ($OVR_PRE)


BF (C_GET_BIT_S, 11, OVR_PRE)
#ENDIF

#IF defined ($PRG_CHK)


BF (C_GET_BIT_S, 13, PRG_CHK)
#ENDIF

#IF defined ($PLC_BAT)


BF (C_GET_BIT_S, 14, PLC_BAT)
#ENDIF

#IF defined ($SNPXACT)


BF (C_GET_BIT_S, 17, SNPXACT)
#ENDIF

#IF defined ($SNPX_RD)


BF (C_GET_BIT_S, 18, SNPX_RD)
#ENDIF

#IF defined ($SNPX_WT)


BF (C_GET_BIT_S, 19, SNPX_WT)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.34/44


12 SA_REF : DISCRETE MASKABLE FAULT REFERENCES

12.1 COMPONENT REPRESENTATION

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).

12.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value

Outputs

PB_SUM Cheksum problem B N N Y


OV_SWP Over sweep B N N Y
APL_FLT Application fault B N N Y
CFG_MM Config. mismatch B N N Y
HRD_CPU CPU Hardware pb B N N Y
LOW_BAT Low battery B N N Y
LOS_IOM Lost module B N N Y
LOS_SIO Lost module B N N Y
ADD_IOM Added module B N N Y
ADD_SIO Added module B N N Y
HRD_SIO Hardware failure B N N Y
SFT_SIO Software fault B N N Y

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.35/44


12.4 USE

Description of terminals

PB_SUM : Set when a cheksum is calculated on the application program


does not match reference cheksum. If the fault was due to a
temporary failure, the discrete bit can be cleared by again storing
the program to the CPU. If the fault was due to a hard RAM failure,
the CPU must be replaced.

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.

CFG_MM : Set when a configuration mismatch is detected during system


power-up or during a store of the configuration. Cleared by the
powering-up PLC when no mismatches are present or during a
store of configuration that matches hardware.

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.

ADD_IOM : Set when an I/O module is added to a rack. Cleared by cycling on


power the main rack and when the configuration matches the
hardware after a store.

ADD_SIO : Set when an option module is added to a rack. Cleared by cycling


on power the main rack and when the configuration matches the
hardware after a store.

HRD_SIO : Set when a hardware failure is detected in option module. Cleared


by replacing the module and cycling power on the main rack.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.36/44


SFT_SIO : Set when an unrecoverable software fault is detected in a option
module. Cleared by cycling power on the main rack and when the
configuration matches the hardware.

12.5 SPECIFICATIONS

Internal variables : None

Internal code :

#IF defined ($PB_SUM)


BF (C_GET_BIT_SA, 1, PB_SUM)
#ENDIF

#IF defined ($OV_SWP)


BF (C_GET_BIT_SA, 2, OV_SWP)
#ENDIF

#IF defined ($APL_FLT)


BF (C_GET_BIT_SA, 3, APL_FLT)
#ENDIF

#IF defined ($CFG_MM)


BF (C_GET_BIT_SA, 9, CFG_MM)
#ENDIF

#IF defined ($HRD_CPU)


BF (C_GET_BIT_SA, 10, HRD_CPU)
#ENDIF

#IF defined ($LOW_BAT)


BF (C_GET_BIT_SA, 11, LOW_BAT)
#ENDIF

#IF defined ($LOS_IOM)


BF (C_GET_BIT_SA, 14, LOS_IOM)
#ENDIF

#IF defined ($LOS_SIO)


BF (C_GET_BIT_SA, 15, LOS_SIO)
#ENDIF

#IF defined ($ADD_IOM)


BF (C_GET_BIT_SA, 19, ADD_IOM)
#ENDIF

#IF defined ($ADD_SIO)


BF (C_GET_BIT_SA, 20, ADD_SIO)
#ENDIF

#IF defined ($HRD_SIO)


BF (C_GET_BIT_SA, 27, HRD_SIO)

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.37/44


#ENDIF

#IF defined ($SFT_SIO)


BF (C_GET_BIT_SA, 31, SFT_SIO)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.38/44


13 SB_REF : DISCRETE NON-MASKABLE FAULT REFERENCES

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).

13.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value

Outputs

BAD_RAM Corrupted RAM B N N Y


BAD_PWD Violated password B N N Y
SFT_CPU Software error B N N Y
STOR_ERR Storing error B N N Y

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.

BAD_PWD : Set when the password access violation occurs. Cleared by


clearing the PLC fault table.

SFT_CPU : Set when the CPU detects an unrecoverable error in the


software. Cleared by clearing the PLC fault table.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.39/44


STOR_ERR : Set when an error occurs during a programmer store operation.
Cleared when a store operation is completed successfully.

13.5 SPECIFICATION

Internal variables : None

Internal code :

#IF defined ($BAD_RAM)


BF (C_GET_BIT_SB, 10, BAD_RAM)
#ENDIF

#IF defined ($BAD_PWD)


BF (C_GET_BIT_SB, 11, BAD_PWD)
#ENDIF

#IF defined ($SFT_CPU)


BF (C_GET_BIT_SB, 13, SFT_CPU)
#ENDIF

#IF defined ($STOR_ER)


BF (C_GET_BIT_SB, 14, STOR_ER)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.40/44


14 SC_REF : DISCRETE SUMMARY FAULT REFERENCES

14.1 COMPONENT REPRESENTATION

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).

14.3 ARGUMENTS CHARACTERISTICS

Name Description Type Neg Range Mandatory Default Mandatory Advised First
Connection Value Data parameters scan
value value

Outputs

ANY_FLT Fault indicator B N N Y


SY_FLT Fault indicator B N N Y
IO_FLT Fault indicator B N N Y
SY_PRES Presence indicator B N N Y
IO_PRES Presence indicator B N N Y
HRD_FLT Fault indicator B N N Y
SFT_FLT Fault indicator B N N Y

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.

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.41/44


IO_FLT : Set when any fault occurs that causes an entry to be placed in I/O
fault table. Cleared when the I/O 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 variables : None

Internal code :

#IF defined ($ANY_FLT)


BF (C_GET_BIT_SC, 9, ANY_FLT)
#ENDIF

#IF defined ($SY_FLT)


BF (C_GET_BIT_SC, 10, SY_FLT)
#ENDIF

#IF defined ($IO_FLT)


BF (C_GET_BIT_SC, 11, IO_FLT)
#ENDIF

#IF defined ($SY_PRES)


BF (C_GET_BIT_SC, 12, SY_PRES)
#ENDIF

#IF defined ($IO_PRES)


BF (C_GET_BIT_SC, 13, IO_PRES)
#ENDIF

#IF defined ($HRD_FLT)


BF (C_GET_BIT_SC, 14, HRD_FLT)
#ENDIF

#IF defined ($SFT_FLT)


BF (C_GET_BIT_SC, 15, SFT_FLT)
#ENDIF

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.42/44


15 SEND_TO_DUAL : SEND FAULTS TO DUAL

15.1 COMPONENT REPRESENTATION

SEND TO DUAL
IN1
IN2
IN3
IN4
IN5

15.2 FUNCTION

The SEND_TO_DUAL function block gives informations to the application of the


dual controller. It must be used with the RECV_FROM_DUAL function block. It can
be used in any redundant controller (cell or field controller). But the exchange of
application faults between slave and master controller contain only five bits.
This five bits can be used, for exemple, for the redundancy management.

Several SEND_TO_DUAL function blocks can be used in a controller, but the


arguments connected must be different from must instance to the other. For
example you can affect IN1 and IN2 in a diagram and IN3 in another one, but you
should not affect the same argument in both diagrams.

15.3 ARGUMENTS CHARACTERISTICS

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

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.43/44


15.4 USE

Description of terminals

INx : It is a no-redundant boolean input send to the dual controller.


This controller receives this boolean data by the
RECV_FROM_DUAL function block in ouput REx.

15.5 SPECIFICATIONS

Internal variables : None

Internal code :

TBW ,,,,,,,,,,,IN5,IN4,IN3,IN2,IN1 = C_PRSCE_STAT

Interfaces Function Block Library - User's Manual P-TP21-A40018-EB.44/44

You might also like