You are on page 1of 120

Classic

PROTOP

Classic PROTOP
User’s Documentation

DU/204

THE GDCL PROGRAMMING BLOCKS


Classic PROTOP
THE GDCL BLOCKS
SUMMARY
Page

1 - PRESENTATION__________________________________________________1
2 - THE GDCL SYNTAX_______________________________________________4
2.1. SYNTAX OVERVIEW___________________________________________________4
2.2 - BLOCK TYPE________________________________________________________6
2.3. SATELLITE NUMBER__________________________________________________6
2.4. PROCESS NAME______________________________________________________7
2.5. CONNECTION________________________________________________________7
3 - BLOCKS RELATED TO PHYSICAL I/O SIGNALS________________________8
3.1. Digital Input blocks____________________________________________________8
3.2 Digital output blocks_________________________________________________10
3.3 Digital input/output common characteristics_____________________________10
3.4 . Analog input blocks__________________________________________________12
3.4.1 Characteristics of an analog input____________________________________________12
3.5 Linearization blocks : BL_____________________________________________14
3.5 Analog output blocks_________________________________________________15
3.5.1 Analog output block characteristics___________________________________________15
4 - THE COMMUNICATION VARIABLES :________________________________17
4.1 - Description :________________________________________________________17
4.2 -. Utilization__________________________________________________________17
4.3 - Analog communication variables : " A "_________________________________18
4.3.1 - Variable name__________________________________________________________18
4.3.2 - A. XXXXX______________________________________________________________18
4.3.3 - . An XXXXX____________________________________________________________18
4.3.4 . Important Note__________________________________________________________18
4.4 - LOGICAL COMMUNICATION VARIABLES : "Y" TYPE VARIABLES___________19
4.4.1 -.Variable name__________________________________________________________19
4.4.2 - Y.XXXXX_____________________________________________________________20
4.4.3 - Yn XXXXX_____________________________________________________________20
4.4.4. Important Note__________________________________________________________20
5 – PROCESS BLOCKS______________________________________________21
5.1 – Start / Stop Block (S)________________________________________________21
5.1.2. INPUTS________________________________________________________________24
5.1.3. - INFORMATIONS________________________________________________________27
5.1.4.- IMPLICIT MESSAGES____________________________________________________27
5.1.5. - OUTPUTS_____________________________________________________________28
5.1.6.- DIFFERENCES BETWEEN MT AND FS INPUTS______________________________30
5.1.7. ∑R AND________________________________________________________________31
5.1.8. - ALARM REVIEW, SEQUENTIAL START, SEQUENTIAL STOP____________________32
5.2 - MOTOR BLOCK (M)__________________________________________________35
5.2.1. USAGE________________________________________________________________36
5.2.2.- INPUTS_______________________________________________________________38
5.2.3. OUTPUTS______________________________________________________________40
5.2.4. MESSAGES OUTPUTS (MF, MV, D1, D2, D3, D4, D5, D6, D7)_____________________41
5.2.5. EQUATION OF THE MOTOR BLOCK________________________________________45
5.3 - GATE BLOCK (G)____________________________________________________47
5.3.1. USAGE________________________________________________________________48
5.3.2. INPUTS________________________________________________________________51
5.3.3. PARAMETERS__________________________________________________________53
5.3.4. OUTPUTS______________________________________________________________54
5.3.5. MESSAGES OUTPUT (D1, D2, D3)__________________________________________57
5.4 - LOGICAL BLOCK (L)_______________________________________________58
5.4 1. USAGE________________________________________________________________59
5.5 - DELAY BLOCK (T)___________________________________________________62
5.5.1. USAGE________________________________________________________________63
5.5.2. FUNCTIONNING OF THE DELAY BLOCK_____________________________________65
5.6 - PULSE BLOCK (I___________________________________________________66
5.6.1. USAGE________________________________________________________________67
5.6.2. FUNCTIONNING OF THE PULSE BLOCK_____________________________________69
5.7 - FAULT BLOCK (D)___________________________________________________72
5.7.1. USAGE________________________________________________________________73
5.7.2. FUNCTIONNING OF THE FAULT BLOCK_____________________________________75
5.7.3. INPUTS / OUTPUTS______________________________________________________75
5.7.4. PARAMETERS__________________________________________________________77
5.8 - MESSAGE BLOCK (df)_______________________________________________79
5.8.2. FUNCTIONNING OF THE MESSAGE BLOCK__________________________________81
5.9 - CALCULATION BLOCK (C)___________________________________________83
5.9.1 - USAGE_______________________________________________________________84
5.9.2. FUNCTIONNING OF THE CALCULATION BLOCK______________________________86
5.10 - ANALOG SWITCH BLOCK (H)________________________________________87
5.10.1. USAGE_______________________________________________________________88
5.10.2. FUNCTIONNING OF THE ANALOG SWITCH BLOCK___________________________90
5.11 COUNTING BLOCK (K)_______________________________________________91
5.11.1. USAGE_______________________________________________________________92
5.11.2. FUNCTIONNING OF THE COUNTING BLOCK________________________________94
5.12 – TIME BLOCK (Q)__________________________________________________95
5.12.1. USAGE_______________________________________________________________96
5.12.1.1 Time block organization__________________________________________________96
5.12.2. FUNCTIONNING OF THE COUNTER BLOCK_________________________________98
5.13.1. USAGE______________________________________________________________100
5.13.2. FUNCTIONNING OF THE THRESHOLD BLOCK______________________________102
5.14 – POSITION BLOCK (SW)____________________________________________105
5.14.1. USAGE______________________________________________________________106
5.14.2. FUNCTIONNING OF THE POSITION BLOCK________________________________108
5.15 - RAISE / LOWER BLOCK (RL)_______________________________________109
5.15.1. Block functioning_______________________________________________________110
5.15.2. INPUTS______________________________________________________________111
5.15.3. PARAMETERS________________________________________________________111
5.15.4. OUTPUTS____________________________________________________________112
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

THE GDCL BLOCKS

1 - PRESENTATION

In order to describe, within a sequence, all the limits and interlocks between the different pieces of
hardware, and to define the regulations loops and the calculation related to that sequence, the
proposed philosophy is to use "diagrams". Those " diagrams " are accessible to any electrician
in the plant, but they must be elaborated enough in order to eliminate the endless page of "AND"
and "OR" usually used in the classic methods.

Those diagrams use a block structure, which are subroutine executed in the satellites, and
related, for each type of block with a particular piece of hardware or function.

On a display terminal, the blocks are described on a rectangle shape, with inputs, outputs and
internal parameters.

block °
TITLE

Input Output
connections connections
Internal
parameters

The logician's work is to assign the inputs / outputs to these various blocks :

 to physical logical inputs (contactors response, limit switch,..)


 to physical analog inputs (analog measures, positions,....)
 to physical logical outputs (motors commands,...)
 to physical analog outputs (set points for control loops,...)
 to interlocks connections.

The operator can then use those blocks and assemble them on line to realize the sequential and
interlocks in a very effective way. These blocks can be visualized, modified or deleted on line.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 1
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

The following blocks are available on the system under the GDCL.

 Start / Stop block. Its function is to start or stop sequentially all the pieces of hardware
connected to a sequence, and to take care of the visualization of the eventual faults in this
sequence.

 Motor block. All the inputs / outputs normally linked to a motor (electrical conditions, contactor
response, process conditions, start command, interlock command,...) are connected to this
block. They are used to control and command this motor.

 Gate block (one or two positions) on which are connected all the inputs / outputs normally
linked to this piece of hardware (limit switches, interlock from other blocks, choice values,
damper commands...) Its goal is to control the functioning of a damper. This block can also be
used as a logical choice block. The inputs/outputs are logical variables linked with other
blocks.

 Fault block on which are connected all the non standard faults coming from the motor and
gate blocks. For each fault, the user must define the parameters
 (inhibition, connection with a lamp, audible alarm,...)

 Message block : allows the edition of a message on a logical transition.

 Boolean block : allows the execution of a Boolean equation (from 1 to 15 variables).

 Calculation block : allows the execution of an analog equation (from 1 to 15 variables).

 Delay or pulse blocks : allows the generation of variable length delay or pulse outputs.

 Threshold block allows to generate one or two logical outputs from one analog signal. The
threshold values are internal parameters or other analog signals.

 Analog switch block allows to select an analog output from two analog inputs, according to a
logical choice input.

 Counting block allows to convert logical transitions into analog values.

 Time block allows the measure of a time interval between two logical events.

 Position block allows the selection of one logical output between nine, according to the value
of an analog input.

+
 Raise / Lower block allows to control a servo-motor though 2 logical outputs " " and " " -

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 2
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

It is sometimes necessary to adapt an existing block to a particular user specification. It is also


possible, if necessary, to develop new blocks for some specific application.

Each block has some inputs / outputs (depending on the type of block). To define and write his
application program, the user must then connect the inputs / outputs of a block to the inputs /
outputs of other blocks or to physical inputs / outputs. This is done on line in a conversational
mode from any user display, on the central computer.

When creating a block, the user visualizes, on the screen, the same sketch he has been working
on to prepare his program. Once the input / output connections have been made, the block
structure is downloaded to the satellite. The visualization of blocks on the displays uses the
graphic capabilities of each of those displays. This volume DU/204 defines each block subroutine.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 3
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

2 - THE GDCL SYNTAX

2.1. SYNTAX OVERVIEW

Variable name :

All variables used in the system have the following structure :

Type defines the type of the variable (2 characters maxi)

SAT defines the satellite number (2 characters maxi)

PROCESS NAME Defines the variable name -It is defined by the user.

The first character must be a letter

The maximum length is 9 characters for a physical input / output, and


12 characters for the other variables.

CONNECTION This part is not mandatory. If present, it always starts with the "-" sign
and defines a connection with another block.

THE MAXIMUM LENGTH FOR A VARIABLE NAME IS 18 CHARACTERS

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 4
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Syntax of block names :

Variable name :

X n
P ro c e s s n a m e
( 1 2 c h a r. m a x i )
S a te llite n u m b e r
T yp e :
S Start - Stop
M Motor
D Fault
df Message
G Gate
L Boolean
T Delay
I Pulse
Z Threshold
C Calculation
H Analog Switching
K Counting
Q Timer
SW Position
RL Raise - Lower
BL Linearization

GDCL BLOCKS CONNECTIONS

Syntax :

X n
{

Connec tion nam e


Proc ess nam e
(12 c har.m axi) }
Sa te llite n u m b e r
1 2 c h a r.
maxi

Typ e (sam e as G D CL bloc ks)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 5
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

2.2 - BLOCK TYPE

It is made at the most of 2 characters and relates to the nature of the variable used.
These (up to 2 characters) will identify the variable.

The list of the characters which can be used in the type are :

Symbol Type of Block Characteristics

* Digital input

! Digital output Physical input and output

# Analog input at satellite level

% Analog output

A computer analog value Analog


communication value between
central computer and satellite, or
computer central.

Y Communication logical value


between computer and satellite, Computed or communication values
or computed central computer
logical value.

E Computed central computer


integer value

TX Computed central computer text


value
S Start – stop block
M Motor block
D Fault block
df Message block
G Gate block
L Boolean block
T Delay block Satellite
I Pulse block
Z Threshold block blocks
C Calculation block
H Analog switching block
K Counting block
Q Timer block
SW Position block
RL Raise / Lower block
BL Linearization block

2.3. SATELLITE NUMBER

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 6
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

It defines the satellite to which is attached the variable to be considered. It can be a dot or a
number between 1 and 15.

The character "dot" stands for central computer, since the main computer is considered as the
satellite number 0.

2.4. PROCESS NAME

Except for the 1st character which should be a letter, the operator may choose any name he
wants. All the alphanumerical characters are acceptable in the process name except for "-", which
(cf § 5) is given automatically for the satellite blocks connections variables.

The process name has a maximum of 9 characters for physical input / output ( *, !, #, %) or a
communication variable (A or Y).

There are a maximum of 12 characters for a satellite block variable.

2.5. CONNECTION

It is always separated from the process name by the character "-", and has 2 characters
maximum.

It determines a block, connection generated by the computer. It exists in all cases where there
is a GDCL block input / output (Satellite Interpreter).

The codes used in the connections are defined in the document concerning GDCL blocks
(DU/204" GDCL blocks").

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 7
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

3 - BLOCKS RELATED TO PHYSICAL I/O SIGNALS

3.1. Digital Input blocks

Variable name:

* n
Process name (9 char. maxi)
Satellite number
Digital input type

The maximum 9 characters process name can be chosen by the operator, except in the following
cases :

 The first character must be a letter (in order to distinguish the process name from the satellite
number).

 All the characters in the process name can be used except for " - " which is only used by the
identification system of a connection.

Note :
Even though this character is not decoded by the system, it can be practical to use "-" in
Process names of digital inputs relating to the same material.

Digital inputs use the following code :

*n MMM/XX
Specific characteristic
}

for the process name


}

Process name

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 8
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Digital Input block representation

* xxxxxx TITLE Digital Input No : xxxx

Card No : xx
S
Channel No xx
:

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 9
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

3.2 Digital output blocks

Variable name

! n
Process name (9 char. maxi)
Satellite number
Digital output type

The same notes and restrictions on the process name can be applied to digital inputs.

 The first character must be a letter


 All characters can be admitted for the name except "-".

3.3 Digital input/output common characteristics

When calling, or creating a digital input/output on the screen, one can find the following
informations :

 The variable name


 The physical address on the industrial chassis
 Titles allowing a quick signal identification
 The current state (0 or 1) of this input/output
 A list of input/output connections to the GDCL blocks
 A fault message with its characteristics if a fault is directly connected to this input/output.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 10
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Digital Output block representation

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 11
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

3.4 . Analog input blocks

Variable name :

# n
Process name (9 char. maxi)
Satellite number
Analog input type

The same notes and restrictions on the Process name can be applied to analog inputs :
- The first character is necessarily a letter.
-
- All characters are admitted for the name except " ".

3.4.1 Characteristics of an analog input

One can find the following characteristics in calling or creating an analog input
on the screen :
- Variable name
- Physical address (Card number and channel number)
- Title (40 characters) associated to the process variable
- Engineering units and scaling values.

- Types of card :

HL High Level
RTD Temperature resistor sensor
LL Low Level (gain 128)
WB Low Level (gain 8) ( + 1,28 V)
WA Low Level (gain 1) (+ 10 V)

- Scanning period
- First order filtering characteristic
- Electrical characteristics
- List of all the connections
- Actual value of the analog input
- Linearization block if any
- Temperature compensation input if any
- Open thermocouple detection if any.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 12
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Analog Input block representation :

# xxxxxx TITLE Analog Input No : xxxx

TY :
(Card type)

Card xx
AD
Channel xx

S Actual instant value

Electrical
CE characteristics
Linearization Scanning D Fault on the measure
curve CL PS
period

TF Filtering Electrical characteristics


Temperature time constant
compensation
CT values :
0 0.4 : 2V
1 1 : 5V or 4 : 20 mA
EC B Range Low 2 0 : 10V
3 0 : 48.89mV LL
EC H Range High 4 -5.022 : 14.183 mV RTD
5 0 : 9V
6 32 : 160 mV LL
7 0 : 160 mV LL
Engineering 8 2 : 10V
UN units

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 13
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

3.5 Linearization blocks : BL

The input connection "CL" of the Analog input block is used in the case where the input signal to
be measured is not linear.

In this case, a linearization block BL must be connected to "CL" in order to correct the input signal
value. The block BL contains the definition of the curve reflecting the behavior of the signal, and
the user is requested only to enter the values corresponding to different points of the curve, such
as :

OV = -15 °C
2V = 0 °C
5V = 38 °C
8V = 79.5 °C
10V = 120 °C

The BL block is represented on the screen as follows :

Linearization
BL xxxxxx TITLE
block No :

Engineering Electrical Values to be set


value by user
value

ECB 0.00000 0.4


EC1 10.0000 0.6
EC2 20.0000 0.8
EC3 30.0000 1.0
EC4 40.0000 1.1
EC5 50.0000 1.3
EC6 60.0000 1.5
EC7 70.0000 1.6
EC8 80.0000 1.8
EC9 90.0000 1.9
ECH 100.000 2.0
CE : 0.4 : 2V S Output Value

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 14
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

3.5 Analog output blocks

Variable name :

% n
Process name (9 char. maxi)
Satellite number
Analog output type

- The first character is necessarily a letter.


-
- For the rest, only " " is prohibited.

3.5.1 Analog output block characteristics

- Variable name
- Physical address on the industrial chassis
- Messages (on the console visualization and line printer)
- Engineering units, scaling and linearization values.
- Electrical output characteristics
- List of all the connections
- Current value

Note : An analog output can be used by the system only after this standard processing.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 15
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Analog Output block representation

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 16
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

4 - THE COMMUNICATION VARIABLES :

4.1 - Description :

These variables are called "computed " or "communication" variables. They can be defined at two
levels :

- In the continuous interpreter (GREG) : it is implicitly created when used in GREG.

- In the logical interpreter (GDCL) : to create the variable, enter its name after the question
"Enter your command".

4.2 -. Utilization

When creating a communication type variable by GREG or GDCL one can :

. Use it on any graphic display like any other variable. It can be an interactive variable with the
light-pen, in which case, the time, the variable name, the old and new values are edited on the
line printer.

. Use it in any CRT or line printer data logging.

. Use it in any report.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 17
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

4.3 - Analog communication variables : " A "

4.3.1 - Variable name

A n
Process name (9 char. maxi)
Satellite number
or central computer if n is "."
Variable type

One can see two types of A type variable

.
A XXXXX .
where " " (dot) stands for host (satellite No 0)

and An XXXXX where "n" stands for satellite number.

4.3.2 - A. XXXXX

These are variables generated by the continuous interpreter (GREG) or defined by the logical
interpreter (GDCL). These can only be used in the central computer, either in the continuous
interpreter or on the graphic display. In this case one can modify their value with the light pen.

4.3.3 - . An XXXXX

These are variables generated by the continuous interpreter (GREG) or defined by the logical
interpreter GDCL and can be used in satellite n.

They can, of course, be used in the central computer with GREG or on a graphic display. If there
is a variation on the value, it will be sent to the satellite number n. One can then use it in the
satellite as any block analog input.

4.3.4 . Important Note

Use An variables in the satellite only if necessary (in order to avoid an overload of
communications between satellite and central computer).

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 18
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

4.4 - LOGICAL COMMUNICATION VARIABLES : "Y" TYPE VARIABLES

4.4.1 -.Variable name

Y n
.........
Process name (9 char. maxi)
Satellite number
or central computer if n is "."
Variable type (logical communicat
ion)

There are basically two types of Y type variables

Y. XXXXX
and YnXXXXX

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 19
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

4.4.2 - Y.XXXXX

These are generated by the continuous interpreter (GREG) or defined by the logical interpreter
(GDCL). They can only be used in the central computer - either in the continuous interpreter or
in a graphic display. In this case they can be modified by the light pen.

4.4.3 - Yn XXXXX

These are logical channels generated by the continuous interpreter (GREG) or defined by the
logical interpreter (GDCL). They can be used in satellite n or in the central computer (as an
exchange variable between satellite n and central computer) and with any graphic display.

They can be used in the central in GREG as any physical logical variables or block connections
variables from satellite n. In addition, they can be used in the following cases :

- When an Yn XXXXX variable has been modified in the continuous interpreter, the new value is
immediately sent to the corresponding satellite (where the variable is connected to a satellite
block) and sent to the color display.

- When an Yn XXXXX variable has been modified on a graphic display with the light -pen, the
new value is immediately sent to the corresponding satellite (where the variable is connected to a
satellite block) and sent to the continuous interpreter.

4.4.4. Important Note

Use Yn variable in the satellite only if necessary (in order to avoid an overload of communications
between satellite and central computer).

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 20
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5 – PROCESS BLOCKS

5.1 – Start / Stop Block (S)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 21
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.1. USAGE

The Start/Stop block links the different pieces of hardware to be controlled, allows a coherent
checking for ready conditions start and stop commands, and synthesizes the functioning of the
hardware.

5.1.1.1 - Start / stop block organization

It includes :

- a title : block identification, 40 characters maximum

- a syntax :

SnXXXXXXXXX

Process variable name


Satellite number
Start/stop block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 22
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.1.2 - Signification of inputs, outputs and parameters

INPUTS
D Alarm review command
M Start command
A Stop command
MF By-pass start command
AP Stop process
L Inter sequence interlock
FS End of sequence
MT Total start
P1 By-pass of stop delay T1
P2 By-pass of stop delays T1 and T2
P3 By-pass of stop delays T1, T2T3and
P4 By-pass of stop delays T1, T2,
andT3T4
EL Lamp test

INFORMATION

LJ Yellow lamp
LV Green lamp
LR Red lamp

IMPLICIT
MESSAGES
BD L input fault
MS Sequence start
MD Sequence stop
MA Sequence emergency stop

OUTPUTS PARAMETERS

AR Alarm review
ST Sequence run
A1 1st step T1 Delay between steps 1 and 2
A2 2nd step T2 Delay between steps 2 and 3
A3 3rd step T3 Delay between steps 3 and 4
A4 4th step T4 Delay between steps 4 and 5
A5 5th step
R Reset

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 23
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.2. INPUTS

- D : Alarm review

A positive pulse initiates alarm review and a reset R if the following conditions are satisfied :

ST = 0
A=0
L=1

If not, the command is inactive.

- M : Start command

A positive pulse on the input M initiates the following :

a) a reset on the output R and the restart of sequence, which means :


ST = 1 ; A1, A2, A3, A4 and A5 = 0 if :

LJ = 1
AR = 1
A = 0
AP = 0
L = 1
ST = 0

or

b) a reset on the ouput R and the stop sequence if :

A = 0
AP = 0
L = 1
ST = 1

Note : if AP = 1, the start command is inhibited even if LJ = 1

-MF : Bypass the start command

A positive pulse initiates the following :

a) a reset R and the restart of sequence, which means:


ST = 1 ; A1, A2, A3, A4 and A5 = 0 if

AR = 1
A = 0
AP = 0
L = 1
ST = 0

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 24
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

or :

b) a reset R and the canceling of the stop sequence if

A = 0
AP = 0
L = 1
ST= 1

The difference with M, is that it is not necessary to have LJ = 1 to restart the sequence.

- A : Stop command

A positive pulse initiates the following

a) a step by step sequence stop if

A1= 0

or

b) an emergency stop, which is ST = 0 ; A1, A2, A3, A4 and A5 = 1 if

A1= 1

The condition A = 1 locks the input D, M and MF.

- AP Process Stop

A positive pulse initiates the step by step sequence stop if :

A1= 0

the same way the A command does.

The condition AP = 1 locks inputs M and MF.

- L : Inter-sequence interlock

The normal status when the sequence is on is L = 1.

This input is used when some pieces of hardware belong to several sequences, hence to several
start/stop blocks, and when one desires the inhibit of one sequence from the others.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 25
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

If L = 0 before the start of execution of the block, any alarm review is inhibited, with a message on
screen and display for operator usage.

If L goes to 0 during the normal functioning of the sequence then :

-the yellow light starts blinking


-the stop command remains active
-if some hardware connected to the sequence stops, then every restart (pulse or M or MF) is
ignored.

- FS : end of sequence

This input indicates that one or several important and vital pieces of hardware which are part of
the sequences have stopped. This is shown by a solid red (LR = 1).

FS is connected to a variable representing the "AND" of all the pieces of hardware part of the
sequence which, when stopping imply the stop of the shop.

When starting, FS = 0 until all the vital pieces of hardware are working.

If in between, a piece of hardware stops, nothing will happen to the red light, because the shop is
normally not running.

When FS = 1 (shops normally running), every change to 0 will set LR = 1, as long as FS goes
back to 1 or the sequence goes to a stop.

- MT Total start

MT is connected to a variable representing the "AND" of all the pieces of hardware, part of the
sequence.
The start of a sequence leads to a blinking green until MT goes from 0 to 1, which will then show
a solid green.

If MT goes from 1 to 0, the green light goes back to a blinking state until MT goes back to 1, or
the sequence goes to a stop, in which case the light is stopped (LV = 0).
For the operator :

- a blinking green light means :. shop partially running

- a solid green light means. shop totally running

MT allows then to know wether the pieces of hardware connected to the sequence are or are not
running.

- EL : Lamp test

If EL = 1, then LJ, LV and LR are set to 1.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 26
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.3. - INFORMATIONS

LJ : yellow light or yellow display target


LV : green light or green display target
LR : red light or red display target

- Those informations cannot be connected to other blocks.


- They are used to inform the user of the sequence status.
- The yellow light is connected to the faults.
- The green light is connected with the running pieces of hardware of the shop.
- The red light is connected to sequential or immediate stops of the shop.

5.1.3.1. LJ : Yellow light

LJ = 0 white no faults
LJ = 1 solid yellow no faults, but a reset must be done
or alarm review in progress
LJ = 2 blinking yellow some faults are present

5.1.3.2. LV : Green light

LV = 0 white the sequence is stopped


LV = 1 solid green the sequence is totally running
LV = 2 blinking green the sequence is partially running

5.1.3.3. - LR : Red light

LR = 0 white sequence running or in a stop


LR = 1 solid red an important piece of hardware is not running
LR = 2 blinking red the sequence is in a sequential stop

5.1.4.- IMPLICIT MESSAGES

- BD : L input fault

This fault locks the execution of the block due to some process conditions.

- A message is printed, when L = 0 and the user starts an alarm review.

- . the yellow lamp is not lighted

-. the fault message is printed on the line printer and the screen

When the sequence turns back to normal, a change from 0 to 1 is shown on the block input.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 27
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- MS Sequence start

After a pulse on M or MF, a message is printed if the sequence starts or if it invalidates a stop
status.

- MD Sequence stop

After a pulse on A or AP, a message is printed if the sequence stops.

- MA Sequence security stop

After a pulse on A, a message is printed if an immediate stop occurs, and if the sequence was
already in a normal stop.

NOTE :
Those implicit messages can be changed if a message block is connected to those inputs.

5.1.5. - OUTPUTS

- AR Alarm Review

This output is set to 1 at the beginning of an alarm review (D = 1) if :

ST = 0
A = 0
L = 1

It is reset to 0 as soon as the sequence starts (ST = 1).


The use of this output is to inhibit some faults which would prevent the sequence from starting.

- ST Sequence run

ST = 0 when the sequence is totally stopped

ST is set to 1 if
AR = 1
A = 0
AP = 0
L = 1
ST = 0
and
LJ = 1 and pulse on M
or
Pulse on MF

The output stays to 1 until the complete stop of the sequence


This output is the complement of A5.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 28
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- Step by step stopping sequence

Output A1, A2, A3, A4, A5 stopping steps

Delays T1, T2, T3, T4 time-outs between steps

Inputs P1, P2, P3, P4 bypass steps

When the sequence is totally stopped :

A1, A2, A3, A4, A5 = 1

When running :

A1, A2, A3, A4, A5 = 0

The step by step stop sequence is initiated by a pulse on A or AP if A1 = 0

STEP ° A1 A2 A3 A4 A5 ST
1 1 0 0 0 0 1

2 1 1 0 0 0 1

3 1 1 1 0 0 1

4 1 1 1 1 0 1

5 1 1 1 1 1 0

Step i (i = 1 to 4) lasts Ti seconds

If Pi is equal to 1 or goes to 1 during step i, step i + 1 is started

Step 5 is the complete stop of the sequence.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 29
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- R Reset

This output changes every time a reset is done

If R=0 it changes to 1

if R=1 it changes to 0

The reset is initialized during the alarm review by a positive pulse on D, or a positive pulse on M
or MF if ST = 1.

The reset is connected to the RE inputs of all the blocks connected to the sequence. It initializes
the faults that might exist on those blocks.

During the alarm review, the reset is used to detect the faults that might exist in the sequence.
The faults are printed and displayed on the screen to be easily located.

During the normal run, the reset is used to print and display the faults which prevent the
sequence from starting.

A reset or a normal running sequence has no effect.

5.1.6.- DIFFERENCES BETWEEN MT AND FS INPUTS

In a sequence, one must make the difference between :

- the main pieces of hardware, which, if not running, will stop the shop,

- the other pieces of hardware, which, if not running, will not stop the shop.
One must then connect :

On FS input : the output S of the last motor which, if running, will insure that the sequence is
running

.On MT input : the "AND" of FS and the outputs S of all the minor pieces of hardware.

In this case :
MT = 1 = the sequence is totally running
MT = 0 = at least one piece of hardware of the sequence is not running

Two cases are then possible :


MT = 0 only minor piece of hardware has stopped
FS = 1 the green light is blinking (LV = 2)

MT = 0 a main piece of hardware has stopped


FS = 0 the green light is blinking (LV = 2) and the red light is solid (L2 = 1)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 30
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.7. ∑R AND ∑R

They are two implicit inputs of the Start / Stop block, linked to the existing faults on the pieces of
hardware connected with this sequence.

There are two types of faults :

Faults which, when disappearing, will ask for a reset to restart the sequence
(Pulse on M or MF input),

Faults which, when disappearing will not ask for a reset. The sequence is then
automatically restarted.

The Motor (M) and Gate (G) blocks generate faults with "reset".

The Faults (D) blocks can generate faults with or without "reset".

The other blocks never generate faults.

As soon as a fault appears (or disappears) in a block, it is automatically transmitted to the start /
stop blocks to which the original block is connected.

In each Start / Stop block, there is an increment or decrement of two counters ∑R and ∑R.

∑R is a counter representing the number of faults in the sequence which


will need a "Reset".

∑R is a counter representing the number of faults in the sequence which will not need a
"Reset".

As soon as ∑R or ∑R are positive, at least one fault is present in the sequence. There is not
difference at that level, and the yellow light starts blinking.

As soon as ∑R comes to zero, and if ∑R = 0, the yellow light stops (LJ = 0), and the fault block on
which the last fault disappeared, restarts the pieces of hardware that were not running.

As soon as ∑R comes to zero, and if ∑R = 0, the yellow light stops (LJ = 0), and the
sequence is waiting for a reset to restart the pieces of hardware that were not running.

The procedure is the same for alarm review.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 31
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.8. - ALARM REVIEW, SEQUENTIAL START, SEQUENTIAL STOP

5.1.8.1. Alarm Review

It is initialized by a positive pulse on D input.

The yellow light starts blinking for 5 seconds, AR output goes to 1.

In the same time, a reset is initialized by the start / stop block, which propagates towards all the
blocks connected to the R output, and initiates an alarm review on each of them.

If no fault is found in the sequence, the yellow light comes solid, meaning that the sequence is
ready to start.

If some faults are present, the yellow light keeps on blinking, and the faults are edited on the
printer or the displays.

If another alarm review is initialized without stopping the sequence, the faults that are present are
edited on the displays in video inverse. This allows a fast visualization of the specific fault of a
sequence.

During all the alarm review :

AR = 1
ST = 0
A1 = A2 = A3 = A4 = A5 = 1

5.1.8.2. Sequential start

As long as the starting conditions are not present, a pulse on M is ignored.

As soon as those starting conditions are present, then :

AR = 1
A = 0
AP = 0
L = 1
ST = 0

A positive pulse on M and LJ = 1 ; or a positive pulse on MF initializes the following configuration :

LJ = 0
LV = 2 (blinking green light)
AR = 0
ST = 1
A1 = A2 = A3 = A4 = A5 = 0

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 32
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

A positive pulse on ST allows the start of all the pieces of hardware connected to the sequence.

From now on, the conditions ST = 1, A1 = A2 = A3 = A4 = A5 = 0 will remain unchanged until the
stop of the sequence.

If a fault comes present during the starting phase, the yellow light restart blinking (LV = 2). Once
the fault has been corrected, the yellow light stops (LV = 0), if that fault was without "reset". If the
fault was with "reset", the yellow light comes solid yellow (LV = 1). A positive pulse on M or MF
will restart the sequence.

The FS and MT conditions, previously described, are used to end the sequential start sequence.

5.1.8.3. - Sequential stop

A positive pulse on A or AP starts the sequential stop if A1 = 0. The following action is done :

LR = 2 red light is blinking


A1 = 1
wait T1 seconds then A2 = 1
wait T2 seconds then A3 = 1
wait T3 seconds then A4 = 1
wait T4 seconds then A5 = 1
ST = 0
LR = 0 red light stops

The 4 delays can be bypassed by using P1, P2, P3, P4.

At any moment during a sequential stop, a positive pulse on M or MF will execute the following :

LR = 0 red light stops


LV = 2 green light is blinking
A1 = A2 = A3 = A4 = A5 = 0
R= 1 restart all the pieces of hardware that were stopped

It is then possible to restart the sequence any time during a sequential stop.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 33
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.1.8.4. Emergency stop

A positive pulse on A, starts an immediate stop if A1 = 1.

The following action is done :

A1 = A2 = A3 = A4 = 15 = 1

ST = 0

LJ = LV = LR = 0 stop all the lights

This action immediately stops all the equipment connected to the sequence.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 34
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.2 - MOTOR BLOCK (M)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 35
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.2.1. USAGE

The motor block is used to control the functionning of a motor.

5.2.1.1. Motor block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

MnXXXXXXXXX

Process variable name

Satellite number

Motor block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 36
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.2.1.2 - Signification of inputs, outputs and parameters

INPUTS
P 1st start condition
MA 2nd start condition
DF 1st fault
DV 2nd fault
VE Block locking
AR Stop command
RD Alarm review
DI Electrical alarm review
CT Contactor status
CR Process status
RE Reset

OUTPUTS

C Contactor command
CP Locking command
S External interlock
S1 Start interlock
D Fault on the block
R Reset

MESSAGES
MF 1st fault
MV 2nd fault

IMPLICIT PARAMETERS
MESSAGES

D1 Ready condition
D2 Local running T1 Contactor feedback delay
D3 No process feedback T2 Process reponse delay
D4 No contactor feedback T3 Delay between 2 consecutive
D5 Loss of process feedback start-ups
D6 Loss of contactor feedback
D7 Motor not ready

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 37
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.2.1.3. - Connection with sequences

A motor block can be connected to one or more sequences or have no connection with any
sequence.

If it has no connection, it is considered as part of a sequence which is always running.

The connection to a sequence implies the reaction on the yellow light of all the faults of the motor
block. The faults of the motor block are of the type "with reset", except D2. It is necessary to have
a reset to restart a motor after a fault.

5.2.2.- INPUTS

- P : 1st start condition

P=1 is a necessary condition for the motor to run


P=0 implies the stop of the motor, with no message edition

- MA : 2nd start condition

MA = 1 is a necessary condition for the motor to run


MA = 0 implies the stop of the motor, with no message edition

- DF : 1st fault

DF = 1 is a necessary condition for the motor to run


DF = 0 implies the stop of the motor, the edition of a message connected with
MF, and the setting of D to 1.
Since D is an output "with reset", a reset will be necessary to restart the motor.

- DV : 2nd fault

DV = 1 is a necessary condition for the motor to run


DV = 0 implies the stop of the motor, the edition of a message connected with MV, and the
setting of D to 1. Since D is an output "with reset", a reset will be necessary to
restart the motor.

- VE : Block locking

VE = 0 is a necessary condition for the motor to run

VE = 1 locks the motor with


C = S = D1 = D2 = D3 = D4 = D5 = D6 = D7 = MF = MV = D = 0
This means the motor has no fault. It does not participate any more to the yellow light of the
sequence.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 38
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- AR : Stop command

AR = 0 is a necessary condition for the motor to run

AR = 1 locks the motor

If a sequence is running, the result is the same as VE = 1

If no sequence is running, and if one is in alarm review then C = S = 0, but D1, D2, D3, D4, D5,
D6, D7, MF, MV and D are normally running.

- RD : Alarm Review

RD = 1 allows the functioning of MF, VD, D1, D2, D3, D4, D5, D6, and D7, with no reaction on
the LJ light if VE = 1 or AR = 1, and if the sequence is running or in alarm review. It must
be noted that the D output remains inactive.

RD = 0 has no effect on the functioning of the block

- DI : Electrical Alarm Review

DI = 1 is a necessary condition for the motor to run

DI = 0 implies the stop of the motor, the edition of a message connected with D1, and the setting
of D to 1.

Since D is an output "with reset", a reset will be necessary to restart the motor.

The information connected with that input must represent the possibility to start the motor.

- CT : contactor status

CT = 1 is necessary T1 seconds after the contactor command (C = 1) to maintain the motor in a


running status. If there is no contactor command, it implies the edition of a message connected
with D2, and no repercussion on LJ and D.

CT = 0 after T1 seconds and C = 1 implies the stop of the motor, the edition of a message
connected with D4, and the setting of D to 1.

After more than T1 seconds and C = 1 implies the stop of the motor, the edition of a message
connected with D6 and the setting of D to 1.

Since D is an output "with reset", a reset will be necessary to restart the motor. The information
connected with that input must represent the possibility to start the motor.

- CR Process status

CR = 1 is necessary T1 + T2 seconds after the contactor command (C = 1) to maintain the


motor in a running status.

CR = 0 after T1 + T2 seconds and C = 1 implies the stop of the motor, the edition of a
message connected with D3 and the setting of D to 1.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 39
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

After more than T1 + T2 seconds and C = 1 implies the stop of the motor, the edition of a
message connected with D5 and the setting of D to 1.

Since D is an output "with reset", a reset will be necessary to restart the motor.

The information connected with that input must represent a process status of the motor.

5.2.3. OUTPUTS

- C : Contactor command

The equation for this output is :


_ __ __
C = P.MA.(STse1+....+STsen) D.AR.VE

The following conditions must then be present :

- 1st start condition


- 2nd start condition
- a running sequence
- no fault on the block
- no stop command
- no block locking

- CP Locking command

CP = 1 if delay T3 = 0

CP = 0 during T3 seconds after the C command disappears or after the


contactor status CT disappears, implies the edition of a message
connected with D7 and the setting of D to 1.

Using T3 makes it impossible to restart the motor before that delay has elapsed.
If an extra output connected with CP is used in the motor, it is possible to lock the restart of the
motor, even in local mode.

- S : External interlock

The equation for this output is :

S=C
t ≥ T1 + T2

S is a copy of C, T1 + T2 seconds after the contactor command has appeared.

- S1 : Start interlock

The equation for this output is :


S1 = S + S1. (SE1+...+SEn)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 40
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

S1 is the copy of S, and is set back to 0 when all the sequences to which the motor is connected
are stopped.

This output implies the necessity for the motor to run when the first sequence is starting, and then
allows to be freed from this interlock once it is realized.

5.2.4. MESSAGES OUTPUTS (MF, MV, D1, D2, D3, D4, D5, D6, D7)

These outputs should only be used in the central computer.

The implicit messages are automatically connected ; it is possible to replace an implicit message
by connecting it to a message block (df).

For the equation used, let's define the following variables :

ORST = (STse1 + STse2 + .............+ STsen)

which means : the sequence is running

ORAR = (ARse1 + ARse2 + .............+ ARsen)

which means : the sequence is in alarm review.

- MF : 1st fault

To allow MF to go to 1, DF must be 0.

MF = 1 implies :

- the setting of D to 1
- the stop of the motor (if it was running)
- the impossibility to restart
- the edition of the message connected to MF. If no block df is connected to MF, an
implicit message is edited.
__ __ __ __
MF = DF . (RD + VE). (ORst.AR + ORst.ORAR)

- MV : 2nd fault

To allow MV to go to 1, DV must be 0.

MV = 1 implies :

- the setting of D to 1
- the stop of the motor (if it was running)
- the impossibility to restart
- the edition of the message connected to MV. If no block df is
connected to MV, an implicit message is edited.
__ __ __ __
MV = DV . (RD + VE). (ORst. AR + ORst.ORar)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 41
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- D1 : Ready condition

To allow D1 to go to 1, DF must be O.

D1 = 1 implies :

- the setting of D to 1
- the stop of the motor (if it was running)
- the impossibility to restart
- the edition of the message connected to D1. If no block df is connected to D1, an implicit
message is edited.
__ __ __ __
D1 = DI . (RD +VE). (ORst. AR + ORst.ORar)

- D2 : Local start

D2 is set to 1 if the motor blocks finds the motor already running when no contactor command
has been issued.

D2 = 1 implies :

- the edition of the message connected to D2.


If no block df is connected to D2, an implicit message is printed out.
_ __ __ __
D2 = CT. C.(RD + VE). (ORst . AR + ORst.ORar)

This message output is the only one which has no action on D.It has not influence on the yellow
light (LJ) of the sequence.

- D3 : No process response

T1+ T2 seconds after the setting of C to 1, if CR = 0 and C = 1, then D3 is set to 1.

D3 = 1 implies :

- the setting of D to 1
- the stop of the motor
- the edition of the message connected to D3
If no block df is connected to D3, an implicit message is edited.
__
D3 = CR.C
t = T1 + T2
t = 0 when C is set to 1.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 42
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- D4 : No contactor response

T1 seconds after the setting of C to 1, if CT = 0 and C = 1, then D4 is set to 1.

D4 = 1 implies :

- the setting of D to 1
- the stop of the motor
- the edition of the message connected to D4
If no block df is connected to D4, an implicit message is edited.
__
D4 = CT.C
t = T1
t = 0 when C is set to 1.

- D5 : loss of process feedback

If C has been set to 1 for more than T1 + T2 seconds, and if CR is set to 0, then D5 is set to 1.

D5 = 1 implies :

- the setting of D to 1
- the stop of the motor
- the edition of the message connected to D5
If no block df is connected to D5, an implicit message is printed out.

__
D5 = CT.C
t > T1 + T2
t = 0 when C is set to 1.

- D6 Loss of contactor feedback

If C has been set to 1 for more than T1 seconds, and if CT is set to 0, then D6 is set to 1.

D6 = 1 implies :

- the setting of D to 1
- the stop of the motor
- the edition of the message connected to D6
If no block df is connected to D6, the an implicit message is edited.
__
D6 = CT.C
t > T1
t = 0 when C is set to 1.

- D7 Motor not ready

To allow D7 to go to 1, CP must be 0.

D7 = 1 implies :

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 43
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- the setting of D to 1
- the impossibility to restart the motor
- the edition of the message connected to D7
If no block df is connected to D7, an implicit message is printed out.
__ __ __ __
D7 = CP. (RD + VE).(ORst. AR + ORst.ORar)

- D : Fault on the block

D = O is a necessary condition for the motor to run

D = 1 implies :

- an action of the yellow light :


- blinking yellow light if MF+MV+D1+D3+D4+D5+D6+D7 = 1
- solid yellow light if MF+MV+D1+D3+D4+D5+D6+D7 = 0
- the stop of the motor (if it was running)
______ __ __ __
D = [ (MF+MV+D1+D3+D4+D5+D6+D7) + D.RESET]. VE. (ORst.AR + ORst.ORar)

where RESET = 1 if there is a pulse on input RE.

Since D is an output "with reset", a reset will be necessary to restart the motor.

The output can be used in the central computer and in the satellite.

- R : Reset

R is the copy of RE.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 44
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.2.5. EQUATION OF THE MOTOR BLOCK

ORST = (STSE1 + STSE2 + ...... + ST SEN)

ORAR = (ARSE1 + ARSE2 + ...... + AR SEN)

If a block is not connected to any sequence, then ORST = 1


__ __ __ __
MF = DF . (RD + VE). (ORST.AR + ORST . ORAR)
__ __ __ __
MV = DV . (RD + VE). (ORST.AR + ORST . ORAR)
__ __ __ __
D1 = DI . (RD + VE). (ORST. AR + ORST . ORAR)
__ __ __ __
D2 = CT.C (RD + VE). (ORST. AR + ORST . ORAR)
__
D3 = CR.C
t = T1+ T2

__
D4 = CT.C
t = T1

__
D5 = CR.C
t > T1+ T2

__
D6 = CT.C
t > T1

__ __ __ __
D7 = CP . (RD + VE) . (ORST.AR + ORST . ORAR)
______ __ __ __
D=[(MF+MV+D1+D3+D4+D5+D6+D7)+ D. RESET]. VE.(ORST. AR + ORST + ORAR)

_ __ __
C = P.MA.ORst . D . AR . VE

ta = T3
CP = O
ta = 0

S=C
t ≥ T1 + T2

S1 = S + S1.ORst

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 45
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

t=0 when C is set to 1

ta = 0 when C is set to 0 or CT is set to 0

RESET = Pulse on a transition of input RE.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 46
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3 - GATE BLOCK (G)

GATE BLOCK G

G xxxxxxxx TITLE Gate Nb :

Gate choice
G C1 Position command
(position 0 or 1) SE n C2 Position command
(part of the sequence n)
Block locking VE
D1 Wrong position
Stop command AR D2 Intermediate position
D3 Limit switch fault
Alarm review RD
S External interlock
Limit switch
position 1 F1
S1 Position 1 interlock
Limit switch
F2 S2 Position 0 interlock
position 0
Interlock for M1 S3 Interlock including gate
position 1 and inputs M1, M2
S4
Interlock for TP:
M2
position 0
D Fault on the block
PR:

Reset RE R Reset

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 47
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.1. USAGE

The gate block is used to control the functioning of one or two position gates, and can be used as
a decision block.

5.3.1.1. Gate block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

GnXXXXXXXXX

Process variable name


Satellite number
Gate block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 48
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.1.2 - Signification of inputs, outputs and parameters

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 49
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.1.3. Connection with sequences

A gate block can be connected to one or more sequences or have no connection with any
sequence.

If it has no connection, it is considered as part of a sequence which is always running.

The connection to a sequence implies the reaction on the yellow light of all the faults of the gate
block. The faults of the gate block are of the type "with reset". It is necessary to have a reset to
restart a gate after a fault.

5.3.1.4. Choice of PR : one or two positions

The gates, one or two positions are controlled with gate blocks.

The distinction is done through the PR parameters.

PR = 0 two positions gate


PR = 1 one position gate

The functioning is almost the same except for one point :


__
- C1 and C2 are kept opposite for a one position gate (C2 = C1)
- C1 and C2 are pulse output for a two positions gate.

One can use the following chart :

POSITION COMMAND GATE CHARACTERISTICS


INPUT
TWO POSITIONS ONE POSITION
G
PR = 0 PR = 1

0 1 C1= C2 = 0 C1 = 1 C2 = 0
TP

1 0 C1 = 0 C2= C1 = 0 C2 = 1
TP

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 50
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.2. INPUTS

- G : Gate choice

It is a logical choice of the desired position ; it implies specific responses on inputs F1, F2, M1,
M2.

For G = 1, the block looks for position 1 (active position for a one position gate)
For G = 0, the block looks for position 0 (inactive position for a one position gate)

For G = 0 or G = 1, the block looks for the following status :

G=0 G=1
F1 =0 F1=1
F2 =1 F2=0
M1=i M1=i
M2=1 M2=1

where :
i is an indifferent state (O or 1)
F1 : response of active position
F2 : response of inactive position

S, S1 and S2 are set according to those responses.

M1 is the interlock response for active position


M2 is the interlock response for inactive position

S3 and S4 are set according to those responses.

- VE : block locking

If VE = 1, the block is locked : the outputs are set to

C1 = 0
C2 = 1 for a one position gate

or
C1 = 0
C2 = 0 for a two positions gate
and
D1 = D2 = D3 = D = 0 all faults are inhibited
S = S1 = S2 = S3 = S4 = 0 all outputs are inhibited

The gate block is then ignored by the sequences to which it is connected.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 51
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- RD : Alarm review

RD = 1 allows the functioning of D1, D2, D3 with no reaction on the LJ light if VE = 1, and if the
sequence is running or in alarm review. It must be noted that the D output remains inactive.

RD = 0 has no effect on the functioning of the block.

- AR : Stop command

AR = 1 gives almost the same result as VE :

S = S1 = S2 = S3 = S4 = 0

If a sequence to which the block is connected is running (ST = 1), then

D1 = D2 = D3 = D = 0

If there is an alarm review on one of the sequences to which the block is connected, and the
others are stopped, then :

if F1 = 0 and F2 = 0 implies D2 = 1 and D = 1


or
if F1 = 1 and F2 = 1 implies D3 = 1 and D = 1

with standard reaction on the yellow light LJ.

- RE : Reset

If D = 1 and D1 = D2 = D3 = 0, then any transition or RE implies a reinitialization of the delay and


the command outputs and set D to O.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 52
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.3. PARAMETERS

- TP : Switching delay

This delay must be greater than the switching time for the gate to go from one position to the
other. At the end of that delay, the output commands (S, S1, S2, S3 and S4) are recalculated.

This delay is initialized on any transition on G input if :


_ __ __
D. AR. VE. (STSE1 + STSE2 + ......STSEN) = 1 or goes to 1

Output commands :

To set those outputs to 1, one must have :


_ __ __
D. AR. VE. (STse1 + STse2 +..............+ STsen) = 1

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 53
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.4. OUTPUTS

- R : reset

R is a copy of input reset RE

- S : external interlock

This interlock output indicates wether the responses F1 and F2 are coherent with the G
command.

Once the switching delay is over, then :


__ __ _
S = (F1. F2. G + F1. F2 . G)
t ≥ TP

When initializing the switching delay :

if S = 0, it will remain to O until the end of the delay


if S = 1, it will remain to 1 until the end of the delay

- S1 : position 1 interlock (active position fo a one position gate)

This interlock output indicates wether the position responses are coherent with the G command
for position 1
__
S1 = F1.F2.G
t ≥ TP

S1 is set to 1, at the end of the switching delay.

When the position command changes, and S1 = 1, S1 will be set to O :

- as soon as F1 goes to 0
or - at the end of the switching delay

- S2 : position 2 interlock (inactive position for a one position gate)

This interlock outputs indicates whether the position responses are coherent with the G command
for position 2.
__ _
S2 = F1. F2.G
t ≥ TP

S2 is set to 1 at the end of the switching delay. When the position command changes and S2 = 1,
S2 will be set to 0

-as soon as F2 goes to 0


-or at the end of the switching delay.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 54
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- S3 Interlock for other blocks

S3 : 1 means :
- the gate was in position, and is now switching
or - the gate is in a position coherent with the commands and choice
and
- the external interlock is set to 1

S3 = S1.M1 + S2.M2
t ≥ TP
_
S3 = (G.M1+G.M2).S
t < TP

There is an overlap during the switching delay is S was set to 1.

- S4 Interlock with other blocks

S4 = 1 means :

- the gate position is coherent with the command


and
- the interlock position response linked with this choice is set to 1

During the switching from one position to the other, the equation remains the same. S4 is reset to
0 when S1 or S2 is 0.

- Equations connected with outputs S, S1, S2, S3 and S4

O < t < TP t ≥ TP
__ __ __
S= St = 0 S = F1. F2. G + F1 . F2 . G

__
S1 = S1.F1 S1 = F1.F2.G

__ _
S2 = S2.F2 S2 = F1.F2. G

S3 = (G.M1 + G.M2) . St = O S3 = S1.M1 + S2.M2

S4 =S1.F1.M1 + S2.F2.M2 S4 = S1.M1 + S2.M2

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 55
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- D : fault on the block

D is set to 1 at the same time D1 or D2 or D3 is set to 1.


D is reset to 0 if there is a reset (RE) or when the position responses are coherent with the
command :
_____
D = D1 + D2 + D3 + D.RESET

If one replaces D1, D2 and D3, the equation becomes :


__________________
__ __ __ _______
D = (G. F1 .F2 + G . F1 . F2) + D . RESET

So, D is set to 1 after the switching delay as soon as the position responses become incoherent
with the command.

If D = 1, the interlock outputs S, S1, S2, S3 and S4 are set to 0, C1 is set to 0 and C2 to 1 for a
one position gate, C1 and C2 are set to 0 for a two position gate.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 56
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.3.5. MESSAGES OUTPUT (D1, D2, D3)

Those outputs should only be used in the central computer. The implicit messages are
automatically connected ; it is possible to replace an implicit message by connecting it to a
message block (df)

- D1 : Wrong position

After the switching delay, if the position responses are the opposite of the expected ones, there is
the edition of the message connected to D1.
__ _ __
D1 = G. F1 . F2 + G . F1 .F2
t ≥ TP

- D2 Intermediate position

After the switching delay, if both position responses are set to 0, there is the edition of the
message connected to D2.
__ __
D2 = F1 . F2
t ≥ TP

- D3 : Fault on limit switches

After the switching delay, if both position responses set to 1, there is the edition of the message
connected to D3.

D3 = F1 . F2
t ≥ TP

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 57
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.4 - LOGICAL BLOCK (L)

LOGICAL BLOCK L

L xxxxxxxx TITLE Logical Nb

Logical input n° 1 A
. B
. C
. D
. E
. F
. G
. H S Logical output
. I
. J
. K
. L
. M
. N
Logical input n° 15O

FL: Boolean equation (Up tohar.)


40 c

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 58
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.4 1. USAGE

The Boolean block is used to solve a Boolean equation.

5.4 1.1. Logical block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

LnXXXXXXXXX

Process variable name


Satellite number
Logical block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 59
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.4 1.2 Signification of inputs, outputs and parameters

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 60
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.4 2. FUNCTIONING OF THE LOGICAL BLOCK

The Boolean block is not connected to any sequence.

If there is a change of any input, and if that input is not connected to the output of the block, the
output is recalculated using the Boolean equation.

In order to memorize the output, one should connect the output to one of the input.

To avoid an oscillation, the Boolean block is not executed if there is a change of an input
connected to the output of the same block.

- FL : Boolean equation

Three operators are used :

- OR symbolized by +
- AND symbolized by .
- NON symbolized by ~

The classical rules for boolean equation are used in the calculation of the output.

Associativity (A.B).C = A.(B.C) = A.B.C


(A+B)+C = A + (B+C) = A + B + C

Distributivity A.(B+C) = A.B + A.C


A + (B.C) = A + B . A + C

Notes :
_ _
Due to the impossibility to write A, the symbol N is used and A is written (~A)
It is suggest to always use the parenthesis for A.

Any input can be complemented in the equation or at the block level.

The number of open parenthesis must be equal to the number of closed parenthesis.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 61
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.5 - DELAY BLOCK (T)

DELAY BLOCK T

T xxxxxxxx TITLE Delay Nb

TP :
Logical input E S Logical output
PR :

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 62
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.5.1. USAGE

The delay block is not connected to any sequence. It is used to delay a logical input according to
some parameters.

5.5.1.1. Delay Block Organization

It includes :

a comment block identification, 40 characters maximum

a syntax :

TnXXXXXXXXX

Process variable name


Satellite number
delay block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 63
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.5.1.2. Signification of inputs, output and parameters

INPUTS

E Logical input

OUTPUTS

S Logical output

PARAMETERS

TP Delay period

PR Type of delay

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 64
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.5.2. FUNCTIONNING OF THE DELAY BLOCK

- TP : Delay period
Delay period of the input signal in seconds

- PR : Type of execution

PR = 0 Delay on positive and negative pulse


PR = 1 Delay on positive pulse
PR = 2 Delay on negative pulse

Input signal

Output signal TP TP
PR=0

Output signal TP
PR=1

Output signal TP
PR=2

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 65
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.6 - PULSE BLOCK (I

PULSE BLOCK I

I xxxxxxxx TITLE Pulse Nb

TP :
Logical input E S Logical output
PR :

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 66
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.6.1. USAGE

The pulse is not connected to any sequence.


It is used to generate a pulse on a logical output according to some parameters.

5.6.1.1. Pulse block organization

It includes :

a comment : block identification, 40 characters maximum

a syntax :

InXXXXXXXXX

Process variable name


Satellite number
pulse block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 67
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.6.1.2. Signification of inputs, outputs, and parameters

INPUTS

E Logical input

OUTPUTS

S Logical output

PARAMETERS

TP Pulse length in seconds

PR Type of pulse

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 68
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.6.2. FUNCTIONNING OF THE PULSE BLOCK

- TP : Pulse length

Pulse length in seconds of the output signal, according to the parameter PR.

- PR : Type of pulse :

PR = 1 Positive pulse on the output when E goes from 0 to 1.


If E stays to 1 more than TP, the pulse length is TP.
If E stays to 1 less than TP, the pulse length is the time for which E stayed to 1.

PR = 2 Positive pulse on the output when E goes from 1 to 0.


If E stays to 0 more than TP, the pulse length is TP.
If E stays to 0 less than TP, the pulse length is the time for which E stayed to 0.

PR = 3 Negative pulse on the output when E goes from 0 to 1.


If E stays to 1 more than TP, the pulse length is TP.
If E stays to 1 less than TP, the pulse length is the time for which E stayed to 1.

PR = 4 Negative pulse on the output when E goes from 1 to 0.


If E stays to 0 more than TP, the pulse length is TP.
If E stays to 0 less than TP, the pulse length is the time for which E stayed to 0.

PR = 5 Positive pulse on the output when E goes from O to 1 the pulse length is TP.

PR = 6 Positive pulse on the output when E goes from 1 to 0 the pulse length is TP.

Pr = 7 Negative pulse on the output when E goes from 0 to 1 the pulse length is TP

PR = 8 Negative pulse on the output when E goes from 1 to 0 the pulse length is TP

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 69
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Note : For PR = 5 to PR = 8, the delay counter is reinitialized for each transition of the input.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 70
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Input

TP
PR=1

TP TP
PR=2

PR=3 TP

PR=4 TP TP

TP TP
PR=5

TP TP
PR=6

PR=7 TP TP

PR=8 TP TP

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 71
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

Classic PROTOP

THE GDCL BLOCKS

VII - FAULT BLOCK (D)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 72
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.7 - FAULT BLOCK (D)

FAULT BLOCK D

D xxxxxxxx TITLE Fault No

Interlock output
SEn C function of internal bit RE
Connexion
S/E CP Interlock output
function of inputs
VP RE L IA

Fault input n°1 F1 TF1


Delay of input n°1 D1 TD1 M1
. F2 TF2
. D2 TD2 M2
. F3 TF3
. D3 TD3 M3 Fault
. F4 TF4 messages
. D4 TD4 M4
. F5 TF5
. D5 TD5 M5
. F6 TF6
. D6 TD6 M6

Reset R Reset
RE

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 73
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.7.1. USAGE

The fault block is used to deal with faults other than those directly or implicitely connected to
motor blocks or gate blocks.

5.7.1.1. Fault block organization

It includes

- a comment : block identification, 40 characters maximum

- a syntax :

DnXXXXXXXX
X

Process variable name


Satellite number
fault block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 74
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.7.1.2 Signification of inputs, outputs and parameters

INPUTS

RE Reset
Fn Fault input n°n (n=1,....6)
Dn Delay of input n°n

OUTPUTS

R Reset
P Interlock output
CP Interlock output
Mn Fault output n°n

PARAMETERS

TFn Delay when Fn goes back to 0


TDn Delay when Dn goes from 0 to 1
VPn Reaction of Mn on P and CP
REn Reset necessary to reset P
Ln Action of Mn on the yellow light
IAn Inhibition when stopping the seque
nce

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 75
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.7.2. FUNCTIONNING OF THE FAULT BLOCK

- Connection with sequences

A fault block can be connected to one or more sequences or have no connection with any
sequence.
If it has no connection, it is considered as part of a sequence which is always running.

The connection to a sequence implies the reaction on the yellow light of those sequences, and
the connection of input RE to the output R of the start / stop block to force the execution of the
fault block during alarm review.

5.7.3. INPUTS / OUTPUTS

- RE : Reset

Any transition on RE force the execution of the block. If one output M n is equal to 1, it is set to 0
and then to 1 which allows to generate a video inversion on the display. If no output M n is equal
to 1, but P is equal to 0, it is set to 1.

- R : Reset

This output is a copy of RE

- M n : Fault output n° n

This output can only be used in the central computer.

It goes to 1 if :
- F n is 0 for more than TF n seconds

- D n is 1 for more than TD n seconds

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 76
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- one sequence is running or in alarm review or IA n is 0.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 77
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

The chart is the following :

a sequence
is running

a sequence is in
alarm review Fn Dn

IAn = 0

 TFn
TDn

AND

Mn

M n is connected to a message block df, which is executed in the main computer.

- CP : Interlock output without memorization

This output is influenced by VP n parameters.


_______ _______ _______
CP = (M1 . VP1) . (M2 . VP2) ....... (M6 . VP6)

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 78
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- P : Interlock output with or without memorization

This output is influenced by VP n or RE n parameters.

If all the RE n = 0, then P is identical to CP.

If a M n goes to 1 when the RE n = 1, then P is set to 0.

For P to go back to 1, M n must be reset to 0 and a reset command must be issued on RE input.

5.7.4. PARAMETERS

- TF n
Delay when F n goes back to 0 before a fault can be generated.

- TD n
Delay when D n goes from 0 to 1, before a fault can be generated.

- VP n : Reaction of M n on P and CP

when VP n = 1, if M n goes to 1, the P and CP are set to 0

when VP n = 0, M n has no influence on P and CP.

- RE n : Fault with memorization

VP n must be set to 1 if one wants RE n to 1 when RE n = 1, if M n goes to 1, P is set to 0. P will


stay to 0, even if M n is reset to 0 as long as no transition is generated on input RE.

When RE n = 0, as soon as M n is reset to 0, then P is set to 1.

This parameter is linked with the yellow light (LV) of the sequences through the counters ∑R.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 79
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- L n : Action of M n on the yellow light

When L n = 1, if M n = 1, a blinking yellow light is generated.


If M n comes back to 0 :

- RE n = 1 will generate a solid yellow light


- RE n = 0 will generate a white light

When L n = 0, there will not be any action if RE n = 0

- IA n : Inhibition when stopping the sequence

When IA n = 1, M n is set to 0 when all the sequences are stopped, with standard reaction on P
and CP.
When IA n = 0, M n keeps on working even if the sequences are stopped.

- The only correct combinations are the following :

VPn REn Ln IAn


0 0 0 0 0
1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
8 1 0 0 0
9 1 0 0 1
A 1 0 1 0
B 1 0 1 1
E 1 1 1 0
F 1 1 1 1

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 80
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.8 - MESSAGE BLOCK (df)

1. USAGE

The message block is executed in the central computer.

It allows the edition of a message on a display or a printer when a logical value changes.

5.8.1.1. Message block organization

- syntax :

DfnXYZ

Process variable name


Satellite number
message block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 81
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.8.1.2. Signification of inputs, outputs and parameters

PARAMETERS

ED Edition choice
LBA title at fault appearence
LBD title at fault disappearence
TRP Repetition delay

OPTIONS

V Display on VDU
I Report on line printer
A Alarm validation
K Klaxon alarm
IV Video inversion
H Historian archiving
AP Vocal alarm

INHIBITION INPUTS

I1 TO I7 Inhibition of message report

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 82
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.8.2. FUNCTIONNING OF THE MESSAGE BLOCK

- ED : Edition Choice

ED = 1 The message appears on a transition 0 to 1 and disappears on a


transition 1 to 0.

ED = 0 The message appears on a transition 1 to 0 and disappears on a


transition 0 to 1.

- LBA

LBA is the comment which is edited when the message appears.

- LBD

LBD is the comment which is edited when the message disappears.

- TRP : Repetition delay

To avoid multiple change of the message within a short period of time, the absence of fault must
last at least TRP seconds. If not, the message is edited only once with an .RE extension.

- V : Edition on VDU display

V=1 Edition on V.D.U. display

V=0 No edition

- I : Edition on line printer

I=1 Edition on line printer

- on the left side when the message appears

- on the right side when the message disappears

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 83
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

I=0 No edition

- A : Alarm Validation

A=1 The operator must validate the message by pressing the F8 key to clear it from
the display. Using this option, the time associated with a non validated message
is blinking. After validation, if the message is no longer present, it disappears. In
the other case, the time associated becomes solid and the message stays on the
display.

A=0 No validation required.

K1 : Klaxon Alarm 1 (Audible alarm)

K1 = 1 When the message appears, the klaxon output is activated. The operator must
press the F7 key to stop the klaxon.

K1 = 0 No klaxon activated.

K2 : Klaxon Alarm 2

K2 = 1 When the message appears, the klaxon output is activated. The operator must
press the F7 key to stop the klaxon.

K2 = 0 No klaxon activated.

- IV : Video Inverse

IV = 1 Allows to have a video inversion of the message on the display if the message
appears twice without disappearing (please refer to DU / 510)

IV = 0 No video inverse required.

- H : Historian Archiving

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 84
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

H=1 The alarm associated is archived.

H=0 No historian archiving required.

- AP : Audible Message Alarm

AP = 1 The alarm is sent to an audible alarm device with the number of repetition of the
message.

AP = 0 No audible message alarm required.

- I1 to I7 : Inhibition inputs

If one of those inputs has a value of 1, the edition of the message is inhibited.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 85
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.9 - CALCULATION BLOCK (C)

CALCULATION BLOCK C

C xxxxxxxx TITLE Calculation Nb

Analog input n° 1 A
Analog. input n° 2 B
. C
. D
. E
. F
. G
. H S Analog output
. I
. J
. K
. L
. M
. N
Analog input n° 15O

Logical input R PR

FA : Calculation equation

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 86
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.9.1 - USAGE

The calculation block is used to execute calculations on analog input values.

5.9.1.1 Calculation block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

CnXXXXXXXX
X

Process variable name


Satellite number
Calculation block type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 87
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.9.1.2. Signification of inputs, outputs and parameters

INPUTS
A Analog input n°1
B Analog input n°2
C
D
E
F
G
H
I
J
K
L
M
N
O Analog input n°15

R Logical input

OUTPUT

S Analog output

PARAMETERS

PR Type of execution
FA analog equation to be performed

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 88
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.9.2. FUNCTIONNING OF THE CALCULATION BLOCK

The calculation block is not connected to a sequence

- A, B, ....... O : Analog inputs

These inputs are the analog values used to execute the calculation equation.

- R : Logical input

It is used to force the execution of the block.

- PR : Type of execution

PR = 0 The block is executed when any input (analog or logical) changes.

PR = 1 The block is executed when the logical input goes from 0 to 1.

- FA : Analog equation

It is used to define the analog equation to be executed on the inputs.

Note When PR = 0, one should not connect the output on a input of the same block, because
the block will be executed permanently.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 89
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.10 - ANALOG SWITCH BLOCK (H)

ANALOG SWITCH BLOCK H

H xxxxxxxx TITLE Analog switch Nb

High limit switch n°1 H1


Analog input n° 1 A1
Low limit switch n°1 B1
SA Analog output
High limit switch n°2 H2
Analog input n° 2 A2
Low limit switch n°2 B2

Choice logical input CH

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 90
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.10.1. USAGE

The analog switch allows the command of an actuator based on two different calculations and a
logical choice.

5.10.1.1 Calculation block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :
-

HnXXXXXXXX
X

Process variable name


Satellite number
Analog switch type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 91
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.10.1.2. Signification of inputs, outputs and parameters

INPUTS

H1 High limit switch n°1


A1 Analog input n°1
B1 Low limit switch n°1

H2 High limit switch n°2


A2 Analog input n°2
B2 low limit switch n°2

CH Choice logical input

OUTPUT

SA Analog output

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 92
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.10.2. FUNCTIONNING OF THE ANALOG SWITCH BLOCK

The analog switch is not connected to a sequence.

The functioning is defined by the following chart.

CH = 0 SA = H1 if A1 ≥ H1
SA = A1 if B1 ≤ A1 ≤ H1
SA = B1 if A1 < B1

CH = 1 SA = H2 if A2 ≥ H2
SA = A2 if B2 ≤ A2 ≤ H2
SA = B2 if A2 < B2

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 93
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.11 COUNTING BLOCK (K)

COUNTING BLOCK K

K xxxxxxxx TITLE
Counter Nb

Logical counter T PD:

SA Analog counter output


Init logical value IN PI:
PR :

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 94
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.11.1. USAGE

The counting block allows to convert logical transitions into analog variables.

5.11.1.1 Counting block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

KnXXXXXXXX
X

Process variable name


Satellite number
Counting type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 95
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.11.1.2. Signification of inputs, outputs and parameters

INPUTS
T Logical counter
IN Init logical value

OUTPUT

SA Analog counter output

PARAMETERS
PD Pulse weight
PI Init value
PR Type of operation

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 96
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.11.2. FUNCTIONNING OF THE COUNTING BLOCK

- T : logical counter

When a logical transition occurs on T (according to PR), then the output SA is incremented by PD.

- IN : Init logical value

IN = 1 SA is initialized with value PI

IN = 0 Standard functionning

- SA : Analog counter output

Logical transition on T SA = SA + PD

IN goes from 0 to 1 SA = PI

- PO : Pulse weight

Value of the increment

- PI : Init value

Value of output when IN = 1

- PR : Type of operation

PR = 0 Execution of the block when T goes from 0 to 1

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 97
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

PR = 1 Execution of the block when a transition occurs on T.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 98
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.12 – TIME BLOCK (Q)

TIME BLOCK Q

Q xxxxxxxx TITLE Time Nb

Time in seconds
Logical input E S between two changes
PR : of input status

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 99
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.12.1. USAGE

The time block is used to measure an interval of time in seconds, between two logical events.

5.12.1.1 Time block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

QnXXXXXXXX
X

Process variable name


Satellite number
Time type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 100
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.12.1.2. Signification of inputs, outputs and parameters

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 101
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.12.2. FUNCTIONNING OF THE COUNTER BLOCK

- E : logical input

When a logical transition occurs on E (according to PR) then the output S is calculated.

- S : time in seconds

Time in seconds between two logical transitions on E (according to PR)

- PR : Counting mode

PR = 0 : Time measured between up and down values of E

E T sec.

S
S = previous value S=T

PR = 1 : Time measured between two up values of E

E T sec.

S
S = previous value S=T

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 102
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.13 – THRESHOLD BLOCK (Z)

THRESHOLD BLOCK Z

Z xxxxxxxx TITLE Threshold Nb

Analog input A
to be compared
Z1:
Analog comparison A1
H1: S1 Logical output n°1
value n°1
Logical comparison F1
P1:
value n°1
Z2:
Analog comparison A2
value n°2 Logical output n°2
H2: S2
Logical comparison F2
value n°2
P2:

Inhibition I

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 103
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.13.1. USAGE

The threshold block allows the comparison of an analog input to others analog values and to
generate logical outputs.

5.13.1.1 Threshold block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

ZnXXXXXXXX
X

Process variable name


Satellite number
Threshold type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 104
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.13.1.2. Signification of inputs, outputs and parameters

INPUTS

A Analog input to be compared


A1 Analog comparison value n°1
F1 Logical comparison value n°1
A2 Analog comparison value n°2
F2 Logical comparison value n°2
I Inhibition

OUTPUTS

S1 Logical output n°1


S2 Locigal output n°2

PARAMETERS

P1 Comparison parameter n°1


Z1 Fixed threshold n°1
H1 Hysteresis for threshold n°1
P2 Comparison parameter n°2
Z2 Fixed threshold n°2
H2 Hysteresis for threshold n°2

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 105
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 106
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.13.2. FUNCTIONNING OF THE THRESHOLD BLOCK

The threshold block is not connected to a sequence.

The threshold is divided in three parts :

- a common part

- a part for threshold n° 1

- a part for threshold n° 2

5.13.2.1 The common part

- A : Analog input

This is the analog input to be compared to the other analog values, according to the various
parameters values.

- IN : Inhibition

I=0 The outputs are calculated according to the others analog inputs and various
parameters values.

I=1 The block is inhibited and the outputs S1 and S2 are set to 1.

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 107
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.13.2.2 Parts for threshold n° 1 and threshold n° 2

The calculation are the same for each threshold.

- Ai : Analog comparison value n° i

The analog input A is compared with Ai according to Fi.

- Zi : Fixed threshold n° i

The analog input A is compared with Zi according to Fi.

- Fi : Logical comparison value n° i

Fi = 0 A is compared with Zi = CVi

Fi = 1 A is compared with Ai = CVi

- Hi : Hysteresis for threshold n° i

An hysteresis Hi is used in the comparison according to Pi.

- Pi : Comparison parameter n° i

Pi = 0 S1 = 0 if CVi - Hi ≤ A ≤ CV + Hi

S1 = 1 in the other case

Pi = 1 S1 = 0 if A ≥ CVi

S1 = 1 if A < CVi - Hi

Pi = 2 S1 = 0 if A ≤ CVi

S1 = 1 if A > CVi + Hi

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 108
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

- Si : Logical output n° i
They are set according to the following chart :

Note : Fi = 1 : Compare A and Ai, Fi = 0 : Compare A and Zi


I=1 Reset Si to 1

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 109
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.14 – POSITION BLOCK (SW)

POSITION BLOCK SW

SWxxxxxxxx TITLE Position Nb

S1 Logical output n°1

S2

S3

Command analog A S4
value
S5

S6

S7

S8

S9 Logical output n°9

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 110
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.14.1. USAGE

The position block is used to position one logical output out of nine, according to the value of an
analog input.

1.1 Position block organization

It includes :

- a comment : block identification, 40 characters maximum

- a syntax :

SW nXXXXXXXX

Process variable name


Satellite number
Position type

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 111
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.14.1.2. Signification of inputs, outputs and parameters

INPUT
A Analog input value

OUTPUTS

S1 Logical output n°1


S2
S3
S4
S5
S6
S7
S8
S9 Logical output n°9

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 112
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.14.2. FUNCTIONNING OF THE POSITION BLOCK

The position block is not connected to a sequence.

- A : Analog input

The block is executed every time there is a signification change on input A.

- S1,............, S9 : Logical outputs

They are set according to the following chart.

ANALOG COMMAND VALUE OUTPUT VALUES


A S1 S2 S3 S4 S5 S6 S7 S8 S9
A<1 0 0 0 0 0 0 0 0 0
1 ≤ A <2 1 0 0 0 0 0 0 0 0
2 ≤ A <3 0 1 0 0 0 0 0 0 0
3 ≤ A <4 0 0 1 0 0 0 0 0 0
4 ≤ A <5 0 0 0 1 0 0 0 0 0
5 ≤ A <6 0 0 0 1 0 0 0 0
6 ≤ A <7 0 0 0 0 0 1 0 0 0
7 ≤ A <8 0 0 0 0 0 0 1 0 0
8 ≤ A <9 0 0 0 0 0 0 0 1 0
9 ≤ A <10 0 0 0 0 0 0 0 0 1
10 ≤ A 0 0 0 0 0 0 0 0 0

Any output among S1 to S9 can be forced by freezing the Analog Input A

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 113
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.15 - RAISE / LOWER BLOCK (RL)

RAISE / LOWER BLOCK

RL

RL xxxxxx TITLE RL block No : xxx

Setpoint SP SR Output "RAISE"


Process
. Variable PV
.
Hysteresis HY
. SL Output "Lower"
.
.
.
.
. K : Coefficient of action
.
.
Switch-limit High TM : Pulse length
FH
.
Switch-limit Low FB
. TR : Response time
.

Local - Distance LD

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 114
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.15.1. Block functioning

The Raise / Lower block is used to control a motor (or something equivalent) through 2 logical
pulses : "Increase" and "Decrease"

5.15.1.1. Raise/Lower block organization :

It contains :

- A title : used to identify the block - 40 characters maximum

- a syntax :
RL n xxxxxxxx

Variable name

Satellite number

Raise/Lower block
prefix name

5.15.1.2. Signification Inputs, Outputs and parameters

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 115
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.15.2. INPUTS

- SP : Setpoint

- PV : Process variable

- HY : Hysteresis

They are used to determine the lengh of the output command :

IF : SP - HY ≤ PV ≤ SP+HY

Then

Output command length = 0 seconds

Else :

Output command length = K * | SP - PV | seconds

- FH : Switch limit high

FH = 1 implies SR = 0

- FB : Switch limit Low

FB = 1 implies SL = 0

- LD : Local distance

LD = 1 implies SR = 0 and SL = 0

5.15.3. PARAMETERS

-K: Coeficient of Action


It is used to calculate the length of the action

- TM : Minimum action length


- Not used for now - The minimum length is fixed to 1 second.

- TR : Response time

Sets the period where no calculation of action is performed, even if PV has


changed. (The evolution of PV is considered as normal during this time).

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 116
Classic PROTOP DU/204 G D C L - THE GDCL BLOCKS
_________________________________________________________________________________________

5.15.4. OUTPUTS

- SR : Logical command to "Increase"


This Output is set to 1 when SP - PV > 0
Its length depends on the calculation performed from the Inputs.

- SL : Logical command to "Decrease".


This Output is set set to 1 when SP-PV < 0
Its length depends on the calculation performed from the Inputs.

5. TIMING

The block is executed after a delay "TR" in order to redefine a new command, if only PV has
changed

The block is executed immediately in order to redefine a new command when :

SP, HY, FH, FB or LD have changed

_________________________________________________________________________________
MODCOMP Classic PROTOP DU/204 page : 117