GVP 2 2983-FDSP-Z2
GVP 2 2983-FDSP-Z2
4, 29/09/2008
for
STILMAS S.P.A.
REVISION HISTORY
Page 1 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
TABLE OF CONTENTS
Page 2 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 3 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 4 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Current GAMP
cGMP Risk Analysis: GMP_RA (Standard Stilmas Document)
Page 5 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
2. OVERVIEW
2.1. ASSUMPTIONS
This document assumes that the Supplier will implement the design phase in compliance with
current GMP regulatory requirements applicable to the fluids for Pharmaceutical use technology.
This document further assumes that the operators, supervisors, and other involved personnel
have good vision (20/30 acuity, corrected, or better) and good hearing.
2.2. GENERAL
Functional Objective. The Equipment shall produce up to 1088 kg/h of PS the quality of which
shall meet current USP requirements.
Design Resolution.
The Pure Steam production process consists on Purified Water evaporation followed by pure
steam separation and condensation, according to the following process steps:
1. The feed water is pumped by a centrifugal pump P09-1 inside the evaporator (ER20)
column from the bottom, filling the evaporator column itself and the exchanger (E20) tubes
(the exchanger is piped “in parallel” with the evaporator column).
2. Plant steam in the exchanger (E20) shell shall flash the feed water to vapor. The vapor, the
clean steam, shall enter the upper half of the evaporator column through a tangential port.
The height of the evaporator column and the low velocity of the clean steam inside it shall
effect the separation of the pyrogens and other contaminants and the entrained water
droplets from the clean steam, yielding pyrogen-free, WFI-quality pure steam.
3. The contaminants removed shall return to the feed-water in the lower half of the evaporator
column. A small quantity of the feed-water shall be removed through intermittent blow-
down, ensuring that the concentration of contaminants does not become excessive.
4. When the pressure into the evaporator reaches the set-point (tolerance ± 0,1 barg) the
modulating valve PCV20-14 (industrial steam regulation valve) starts closing, according to
the signal coming from pressure regulator PIC20-14.
5. A heat exchanger with Double Tube Sheet design (E20-2) condense the clean steam
sampled on the outlet. A conductivity cell (not temperature compensated), installed on the
outlet of the condensed clean steam, monitors continuously its quality.
6. The PSG production outlet feeds a header which distribute it to user points.
Page 6 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Temperature 143 °C
General utilities
Electric Supply Voltage 400 VAC
Frequency 50 Hz
Power 1/2 KW / A
Page 7 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
2.2.2. Operation
Functional Objective. To operate the Equipment in alternate mode to satisfy all loads conditions
related to storage tank’s demand.
Design Resolution. The Equipment is controlled by a PLC/OIT. The software shall provide all the
operations needed to control the Equipment in a safe and reliable mode using its physical input
and output. The software design shall ensure that operation continues, with minimal operator input
required, between the start time and the shutdown of the unit, as long as the process remains
within the set parameters. The software functions must ensure the safe shutdown of the system
when the process’s critical parameters are out of their fixed limits for good operation.
2.2.2.2. Shutdown
Functional Objective. To terminate Equipment operations when specific conditions, described in
the Flow Chart (see Appendix A), occur.
Design Resolution. All the control system’s output, which were activated, shall be set de-
activated according to the flow chart (see Appendix A & C).
Page 8 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
2.4.1. Wiring
Functional Objective. To wire with appropriate cables in a neat and professional mode according
to established and distributed electrical schematics applying national standards, to ensure safe
and reliable operations of the Equipment.
Page 9 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Design Resolution. All wiring shall be bundled using “cable ties” and/or cable ways. Each
conductor shall be identified at each termination point (i.e., at both ends). All wiring shall be in
compliance to approved schemes, which must be issued before wiring beginning. Wire section
shall be in compliance with EN60204 standards.
Page 10 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 11 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 12 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Functional Objective. To achieve the conformity with GAMP5 Good Practice Guide “Validation of
Process control Systems” (paragraph 9.5.5) in reference to “Embedded Systems“ (like PLC/OIT
are) for which is necessary :
QUOTE
The Software Design Specification (SDS) should unambiguously define how the SW implements
the requirement of the Functional Specification (a).
A structured modular programming language and technique should be used (b).
The SDS should define the logical and physical structure of the program (c), the standards to be
used for the file naming (d), label allocation (e) and module naming (f).
For an ease of understanding and testing the program code could be suitably annotated (g).
Any non standard SW requirement should be identified (h).
For systems it may be possible to incorporate the SW design into the Functional Specification (i).
The SDS forms the basis for the Software Test Procedure (l).
UNQUOTE
Design Resolution .The present document let the Equipment comply with the requirement “i”.
The FAT & SAT Protocols let the Equipment comply with the requirement “l”. The following
sections let the Equipment to comply with the requirements “a÷h“.
Page 13 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 14 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 15 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 16 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Example :
Engineering, for a PLC, a temperature reading of 0÷200,0 °C corresponding to 4÷20 mA from a
field instrument.
As Stilmas uses real address type, to find the corresponding temperature of a reading integer type
from the Input card of 21095, the integer value of the card (21095) is first converted into real value
(21095,0) and then through the following formula the engineering of the value into physical
paramer (i.e. Temperature) is done:
Y = 7630,0 x (200,0 – 0,0) + 0,0 = 152,6 (for TELEMECANIQUE PLC, example with 7630)
10000,0
Page 17 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
OIT
Memory 1
P
Memory 2 L
C
Memory 3
It must be defined in the OIT a memory area (Memory 1) where all operator selections are defined
and detailed (following instructions of the utilized OIT Editor)
This memory area, utilizing the specific interfacing PLC/OIT SW that must be compiled (following
the instruction of the Interface Editor), will be mirrored in an identical memory area of the PLC
(Memory 2) : in this area all characteristics of the Keys (i.e. one shot, retentive, not retentive, etc.)
are elaborated utilizing the selected language (see section 3.2).
The result of this elaboration is then loaded in another memory area (Memory 3), that is used in
the other SW modules, whenever this selection is needed (i.e. to start a running phase).
The above procedure allows to modify the address coding in the memory 1 & 2 without modifying
the rest of the Application SW where this address is utilized.
Page 18 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 19 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
3. Non critical alarms do not interrupt the operation of the equipment. Once the alarm is
acknowledged and reset, it provides the OIT to display the previous screen and to continue
operation as normal;
4. To interrupt operations for a critical alarm.
The presence of a critical alarm activates the Stop Action Sequence but with the following
differences (see Appendix A):
• The OIT does not display the actual screen until the alarm is acknowledged;
• The resuming alarm LED is not switched off until the alarm is acknowledged and reset.
Depending upon the type of alarm, procedure to be applied will be selected, either the auto reset
program or the manual reset by the operator.
Each single alarm listed in the Input List & Actions (see Appendix D) is loaded onto a memory
support which is utilized inside the program.
Before developing the PLC Application SW, a symbolic list is prepared specifying :
• Alarm Tag name equal to P&ID tag;
• Address of the memory where the alarm is loaded;
• Address Type (Bool);
• Alarm description that is equal to the alarm text displayed on the OIT.
Once the above symbolic list is completed, the SW developer compiles for each single alarm the
module already existing for any PLC, written with the selected language (see section 3.2) which is
the translation in SW terms of the Alarm Typical Flow Chart (see Appendix G).
Page 20 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Once the above symbolic list is completed, the SW developer compiles for each single phase
the module already existing for any PLC written with the selected language (see section 3.2)
according to the following Flow Chart :
START
Is the phase NO
timed ?
NO Is time phase
elapsed?
YES
YES
Are the
Conditions to
start (DI, Process NO
value, end of Are the
NO Conditions to end
previous Phase)
satisfied (DI, Process
value) satisfied?
PHASE START
PHASE END
END
Page 21 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 22 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
FROM FROM
Module 6 Module 2
Activation Process
Phase Value
Set Point
TO
% OUTPUT
FROM OIT
Gain
OIT
PID Module TO
Integral % OUTPUT
AO Card
FROM
OIT
The SW developer must compile the address where required data are located.
Page 23 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
3.4. FILE NAMING (D), LABEL ALLOCATION (E) AND MODULE NAMING (F).
The Application SW file is named as follow :
2983-PLC-Z2
2983-OIT-Z2
Where :
2983 = is the drawing series number common to all documents of the specific project.
PLC = means the reference to the PLC Application SW.
OIT = means the reference to the OIT Application SW.
Z2 = lists the sheet number of the P&ID. A PLC/OIT Application SW can control
more than one Equipment of a project and therefore Z2 identifies the different
sheets of the referenced P&IDs.
Each file has an individual label located in the file header.
This label shows :
• Project N°: 10/C083
• Customer: LABORATORIOS INIBSA
• Type of Equipments: PSG 750 DTS
• Serial numbers of the Equipments: 8757
• Revision No. of the PLC/OIT Application SW (see section 3.4.1)
All the above information is located in the file label and is also “mirrored” in the initial OIT screen
page.
The above specified SW Modules are named as indicated in the symbolic list of the Architecture
Tree (i.e. Module 1 Digital Input Processing). If an Application SW controls more than one
Equipment, the Equipment Module will be then named as 1.1, 1.2 etc.
Page 24 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Specifically for the PLC/OIT Application SW the revision history and numbering is the following :
• The first version of the Application SW for a specific Equipment is issued from the SW
programmer as Rev 0.0 after “bench test” in the Automation Dept.
• The differences with the std SW utilized to develop the Application SW are documented in
the SW Life Cycle document (MD 50).
• All modifications made on the PLC/OIT Application SW, during following tests (Control
Board Test, FAT, SAT) are updated with the following revision numbering criteria :
DESCRIPTION PREFIX EXTENSION
Application SW issue 0 0
Revision during Control Board Test 1 0,1,2,etc
Revision during FAT 2 0,1,2,etc
Changes during SAT 3 0,1,2,etc
Examples :
Rev. 0.0 means after Application SW issue.
If no modification are made on the original Application SW, for example during the Control Board
Test, the Application SW takes the Rev. no. 1.0, once it is downloaded.
If a modification is made, the Prefix identifies when the modification has been executed (i.e. 2 for
FAT, 3 for SAT), the Extension identifies how many times the Application SW has been modified.
For example : the Rev. 2.3 identify that the Application SW has been changed 3 times during FAT.
The SW Modules or the OIT screens which have been modified are documented in the SW Life
Cycle document (MD 50).
Practically, the Procedure MD 51 “Change Control“ applies only after a positive SAT, if required by
Customer.
Page 25 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
As a consequence the Application SW for the Equipment described in this specification will be
developed starting from the original standard Application SW with the following main modifications
requirement :
Page 26 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
4. DATA
Functional Objective. The Equipment shall provide permanent logging of the data required from
Predicated Rules .
Design Resolution. The data required from Predicated Rules for this Equipment are :
• Conductivity
• Temperature
The record of above data is not maintained in the PLC memory, but in a strip chart recorder that
shall provide a permanent, real-time record of the data . The input to the chart recorder shall
record the same Analog Input that is sent to the PLC.
5. INTERFACES
Functional Objective. The Equipment shall include interfaces with the operator and external
Equipment, to ensure the safe, reliable, continuous, and automatic operation and/or configuration.
Design Resolution. Interfaces with personnel (the operator), shall be the OIT display and an
audible alarm horn. Interfaces with external Equipment shall be the input and output modules of
the PLC itself.
Page 27 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 28 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
The Derivative (D), which is an accelerator of the regulation, is not necessary to Supplier process
controls.
From the “System Parameters” screen it shall be possible to return to the Main Menu screen,
through an “ESC” key on the OIT. The presence of an alarm or a warning shall override the actual
screen (see Section 5.1.1).
5.1.3. Password
Functional Objective. The OIT includes a “password” allowing supervisory personnel to change
parameters. However, all the variables parameters are limited in a range which ensure the safe
and reliable running the Equipment.
Design Resolution. The modification of critical data/set points must be permitted only into
dedicate OIT pages; changes to these data sets will be possible only with password procedure.
Trying to change any values on the screen a window will appear with a cursor line waiting for the
password code; once entered, the password must be confirmed by “ENTER” key. For safety
reasons the entered number will not be displayed. Consequently, the OIT shall display the
previous screen and then it will be possible to change the selected parameters. The adjustable
parameters have to be among limits fixed by STILMAS technicians. In case of a data insertion out
of the fixed limits, a special page will appear showing the inscription ”VALUE OUT OF RANGE”.
In this case it will be necessary to enter again the data. To know the limits fixed by Supplier, check
the parameters enclosed into the FAT / SAT reports. There is only one valid password which is a
number composed of three digits. This password can be changed only through the PLC. The
Operator Panel foresees no functions to change the password. Once changed, the old password
is definitely deleted. No limitations have been applied to the number of attempts to enter a
password.
Page 29 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Level 1 is normally utilised by STILMAS. Two possible entry codes are available : ADMIN and
SERVICE.
Level 2 is normally utilised by Customer. Only one entry code is available : SUPERUSER.
Level 3 is normally utilised by Customer. The entry code OPERATOR is available, but others can
be added.
Level 4 is only for OIT visualization for guest.
CONSULTATION
Users allowed for visualization of each H.M.I. X X X X
page, except SYSTEM and SERVICE pages.
PASSWORD MANAGING
Users allowed of management for password levels X X
and users creation / erasing
PLANT COMMAND X X X
SETTINGS X X X
COMPLETE MANAGING
Users allowed to have the complete control of the
H.M.I. settings, included :
- Change of the language.
- H.M.I. restart.
X
- Forcing.
- Change of range for timer alarms and phase
delay time
- All the operations needed to Stilmas
Automation Dept. and Service included in the
pushbutton.
Page 30 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 31 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
• DEFINITION OF VARIABLES
Always utilizing the OIT Editor, it is necessary to prepare a data base for all variables that
will be read/written from/into the PLC memory.
These variables are :
o Phase Delay timer Counting (PV) ⇐ from PLC
o Phase Delay timers set point ⇒ to PLC
o Alarm Delay timer Counting (PV) ⇐ from PLC
o Alarm Delay timer Set point ⇒ to PLC
o Process values Parameters ⇐ from PLC
o Set point Parameters ⇒ to PLC
o Phase Value (see below *) to
identify the corresponding Phase
message ⇐ from PLC
For each variable it is necessary to define :
o Tag name;
o Address of the PLC support memory;
o Address type (Bool, Integer, Real);
o Controller, limit value.
Page 32 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 33 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Analog input shall use the following input range: 4÷20 mA DC. RTDs (“Resistance Temperature
Detectors”) shall be connected to modules (Ω/mA converters) specifically designed to accept their
input directly with 3 wires connection. The analog input card of PLC contains A/D converters that
convert the current or voltage analog signal to an integer value inside the PLC memory. The PLC
logic program scales this value to Engineering units that will be used by the PLC and OIT (see
Input List ) for their functions.
Page 34 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
6. NON-FUNCTIONAL ATTRIBUTES
Page 35 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
Page 36 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
6.2. MAINTAINABILITY
Expansion/Spare Capacity
Functional Objective. The PLC/OIT system shall be configured so that function upgrades may be
accomplished without system physical redesign.
Design Resolution. The PLC/OIT system shall be supplied according to document 2983-CB-Z2
with at least 20% spare I/O point for each type of I/O provided.
Page 37 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
7. GLOSSARY
(This section shall include definitions of terms which may be unfamiliar to the reader or
terminology which have meanings specific to this document or application.)
PED Pressure Equipment Directive
ISPESL Istituto Superiore per la Prevenzione E Sicurezza sul Lavoro (ISPESL) code
PW Purified Water
AI Analog input
AO Analog Output
DI Digital input
DO Digital Output
Page 38 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
I/O Input/Output
PID Proportional Integral Derivative
PV Process Value
Q&PP Quality & Project Plan
RA __________________ Roughness
CD Compact disc
Page 39 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
8. APPENDIXES
Page 40 of 41
STILMAS FUNCTIONAL HW AND SW DESIGN SPECIFICATION
9. APPROVALS
This document has been reviewed and approved by the Supplier for submission to the Customer
Representative.
Upon approval by the Customer Representative, this document becomes an element of a legal
contract which is binding on the Supplier and the Customer.
Page 41 of 41