Professional Documents
Culture Documents
Programmable Logic Controllers (PLC) : NIOEC-SP-70-21
Programmable Logic Controllers (PLC) : NIOEC-SP-70-21
NIOEC SPECIFICATION
FOR
THIRD EDITION
DECEMBER 2017
THIS STANDARD IS THE PROPERTY OF NATIONAL IRANIAN OIL ENGINEERING & CONSTRUCTION COMPANY. IT IS CONFIDENTIAL AND ALL
RIGHTS RESERVED TO THE OWNER. NEITHER WHOLE NOR ANY PART OF THIS DOCUMENT MAY BE DISCLOSED TO ANY THIRD PARTY,
REPRODUCTED, STORED IN ANY RETRIEVAL SYSTEM OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE PRIOR WRITTEN
CONSENT OF THE NATIONAL IRANIAN OIL ENGINEERING & CONSTRUCTION COMPANY.
DECEMBER 2017 NIOEC-SP-70-21(2)
IN THE NAME OF GOD
FOREWORD
By their very nature, technical Specifications are continuously subject to modifications and
revisions. To strengthen their merit and usefulness, continuous improvements, addendum, deletion
of disparate information and consequently provision of updated revisions are to be made in order
to ascertain that such Specifications meet the current requirements, inclusive of Iranian Petroleum
Standards (IPS) and the recognized and acceptable national and international Standards, as well as
the optimal codes and practices based on the accumulated in-house know-how and plant
knowledge and experiences.
However, in reality, due to several reasons, not to mention the complexity of the matter, the
ultimate goal of continuous direct embedment of the required changes on the relevant
Specifications may be far reaching. Therefore, in the interim periods between the officially issued
revisions, the required changes will appear in other documents related to the engineering and
design work of the ongoing projects.
In response to the initiative of the Design and Engineering Directorate, and considering that the
task of the execution of several important and mega projects for the realization of the new oil
refineries, pipelines and oil terminals as well as improvements of the existing facilities, has been
assigned to NIOEC, it was decided to update the NIOEC Specifications and to issue new official
revisions.
The Design and Engineering Directorate was itself entrusted to carry out this important task, and
as such by forming several special technical committees, working in close co-operation and
cohesion and sharing their expertise and knowledge, the updated and revised NIOEC
Specifications were successfully prepared and complied.
These Specifications are intended to be used for Oil Refineries, Distribution Depots, Oil
Terminals, Pipelines and Pump Stations within NIOEC's projects, and have been proven to be of
high value for such purposes. It must however be appreciated that these Specifications represent
the minimum requirements and should in no way be interpreted as a restriction on the use of better
procedures, engineering and design practices or materials.
We encourage and highly appreciate the users and other clear sighted and experts to send their
comments on the Specifications to the Design and Engineering Director of NIOEC for evaluation
and approval.
DECEMBER 2017 NIOEC-SP-70-21(2)
REVISION INDEX
REV. REV. REV. REV.
PAGE 1 2 3 4 5 PAGE
1 2 3 4 5 PAGE 1 2 3 4 5 PAGE 1 2 3 4 5
1 X 26 X 51 76
2 X X 27 52 77
3 X X 28 53 78
4 X X 29 54 79
5 X X 30 55 80
6 X X 31 X 56 81
7 X X 32 X 57 82
8 X X 33 58 83
9 X 34 X 59 84
10 X 35 60 85
11 X X 36 61 86
12 X X 37 62 87
13 X X 38 X 63 88
14 X X 39 64 89
15 X X 40 X 65 90
16 X X 41 X 66 91
17 X X 42 67 92
18 X X 43 68 93
19 X X 44 69 94
20 X X 45 70 95
21 X X 46 71 96
22 X X 47 72 97
23 X X 48 73 98
24 49 74 99
25 X 50 75 100
NOTES:
3
2 DECEMBER 2017 A.H.BEHRADFAR G.R.MOHSENI M.R.FARZAM M.KARGARNAJAFI
1 DECEMBER 2009 INST. DISC. KHATIB FARZAM SAJEDI
0 APRIL 2007 ORDOOBADI ORDOOBADI FARZAM SAJEDI
REV. DATE PREPARED CHECKED APPROVED AUTHORIZED
DECEMBER 2017 NIOEC-SP-70-21(2)
1. SCOPE .........................................................................................................................................2
2. REFERENCES............................................................................................................................2
3. UNITS ..........................................................................................................................................4
4. ABBREVIATIONS .....................................................................................................................4
5. PRODUCT HISTORY ...............................................................................................................5
6. CERTIFICATION AND APPROVALS ...................................................................................5
7. UTILITY AND ENVIRONMENTAL REQUIREMENTS.....................................................5
8. ARCHITECTURAL DESIGN REQUIREMENTS .................................................................6
9. COMPONENT DESIGN REQUIREMENT ............................................................................7
10. NAMEPLATES ...........................................................................................................................8
11. PAINTING AND RUST PREVENTION..................................................................................8
12. DOCUMENTATION ..................................................................................................................8
13. INSPECTIONS AND TESTING ...............................................................................................9
14. INSTALLATIONS, START UP AND COMMISSIONING.................................................12
15. SPARE PARTS SUPPLY .........................................................................................................13
16. TRAINING ................................................................................................................................13
17. GUARANTEES .........................................................................................................................14
1
DECEMBER 2017 NIOEC-SP-70-21(2)
1. SCOPE
This specification defines NIOEC’s minimum requirements for the design and installation of Logic
Systems, which will be base on Programmable Logic Controller.
Logic Systems addresses in this document are classified as follows:
1.1. Interlock System
Systems, which will be used to perform interlocks and will be referred to as “Interlock System”. In
plants, where Process Control System is employed, this function is normally incorporated within the
PCS.
1.2. Logic Control System
Systems which will be used to perform repetitive, batch type sequencing of valves and controllers
and provide process control and automation in plants where other process control systems are not
employed due to small size of plant and the economies involved, and will be referred to as “Logic
Control System”.
Deviations from this specification will only be permitted on obtaining written approval from
NIOEC.
Resolution on cases not explicitly stipulated in this Specification, or on cases where conflicts may
arise among the requirements of the referenced IOPTC (Iranian Oil Pipeline and
Telecommunications Company) Specifications and the international standards, shall be made
through written consent and approval of NIOEC.
2. REFERENCES
The following standards, codes, and specifications, to the extent specified hereinafter, shall
constitute a part of this NIOEC Specification. Latest edition of the undated referenced documents
and the cited edition of the dated references shall apply. The applicability of changes made to the
dated references, after the cited date shall be mutually agreed upon between NIOEC and the Vendor
/Contractor.
EU (EUROPEAN UNION)
Directive 2014/30/EU “European Union EMC Directive”
2
DECEMBER 2017 NIOEC-SP-70-21(2)
IEC 61000-4-2,
IEC 61000-4-3, “Electromagnetic Compatibility (EMC)”
IEC 61000-4-4
IEC 61131-2 “Programmable Controllers-Part 2: Equipment Requirements
and Tests”
IEC 61131-3 "Programmable Controllers – Part 3: Programming
Languages"
IEC 61131-5 “Programmable controllers - Part 5: Communications”
IEC 61158-2 “Foundation Field Bus Standard for Use in Industrial Control
Systems – Part 2 Physical Layer Specification and Service
Definition”
IEC 61499-1, “Function Blocks For Industrial Process Measurement and
IEC 61499-2 Control Systems”
IEC 61511 "Functional safety - Safety instrumented systems for the process
industry sector"
IEC TR 62380 “Reliability Data Handbook– Universal Model for Reliability
Prediction of Electronics Components, PCBs and Equipment”
IEEE (INSTITUTE OF ELECTRICAL & ELECTRONICS ENGINEERS)
IEEE 802.3 "Local Area Network Specific Requirements - Part 3: Carrier
Sense Multiple access with Collision Detecting (CSMA/CD)
Access Method and Physical Layer Specification"
IEEE C37.90.1 “Surge Withstand Capability (SWC) Tests for Relay Systems
Associated with Electric Power Apparatus”
3
DECEMBER 2017 NIOEC-SP-70-21(2)
UL (UNDERWRITERS’ LABORATORIES)
UL 508 "Standard for Safety Industrial Control Equipment"
3. UNITS
International System of Units (SI) shall be used in accordance with NIOEC-SP-00-10, unless
otherwise specified.
4. ABBREVIATIONS
FAT: Factory Acceptance Test
MTBF: Mean Time between Failures
PCS: Process Control System
SAT: Site Acceptance Test
UPS: Un-interruptible Power Supply
4
DECEMBER 2017 NIOEC-SP-70-21(2)
5. PRODUCT HISTORY
Equipment shall be of the same model and design as used in similar plants and operating/ambient
conditions with at least three (3) years of satisfactory operational history.
However, as a minimum the following operating conditions shall not degrade the continuous
operation of the System:
Min/max temperature: 5C to 40 C
Min/max humidity: 20% to 90% RH non-condensing
Suspended Solids as dust and sand.
Allowable indoor noise level shall be 55 dBA, measured at one meter from equipment in
question.
5
DECEMBER 2017 NIOEC-SP-70-21(2)
Electrical accessories, cabling and junction boxes in hazardous areas shall normally be of
intrinsically safe construction and execution suitable according to hazardous area classification.
6
DECEMBER 2017 NIOEC-SP-70-21(2)
8.5. Spare Capacity
The spare capacity shall allow on site development and modification without major changes
to the hardware, software and System configuration. The spare I/O capacity shall be
distributed evenly by I/O type per System Cabinet. The Vendor shall define this during the
functional design phase.
No more than 70% of the available memory and solid state disc shall be utilized during
normal system operation.
Each System cabinet shall have 20 % spare fitted and wired controllers, I/O cards and other
associated equipment to render 20 % future control and monitoring expansion facility. In
addition, 20 % spare space shall be provided for each of the above-mentioned categories
unless otherwise stated elsewhere in this specification.
8.6. Scalability
The system shall be modular in standard 19" rack according to EIA/ECA-310 standard, so that
an easy expansion from a small System to a large System can be made if necessary. The
Vendor shall describe the future expansion philosophy of the installed System in terms of
limits of capability and ease of implementation. The description shall include the expansion
aspects of control, man-machine interfaces, System database, applications, operating System,
hardware and communications.
8.7. System Loading
The equipment shall be designed so that under full load conditions, the loading of Processing
shall be less than 75%, and that of the Memory shall fall below 70%. Network load in normal
operating condition shall not exceed 50%. This load shall be calculated based on the conditions
of "No alarm status" and "All operator displays are continuously updated at one-second cycle
with 50 dynamic data per display" occurring simultaneously.
8.8. Communication with Third Party Systems
All CPU modules shall provide secure communication through Ethernet to other Systems for
annunciation, logging of alarms and events and retransmission of process variable data. CPU
module shall be capable of updating all process variable data at least every one seconds.
For safety application, the communication protocol shall meet the respective SIL requirement.
For real time application, the communication protocol shall support time sensitive networking.
Unless otherwise specified by Client, IEC 61131-5 shall be followed.
7
DECEMBER 2017 NIOEC-SP-70-21(2)
9.4. Operating system
The Operating System program for the workstation shall be the last stable revision of Microsoft
Windows including all updates.
9.5. Monitors
Monitors for the stations shall be OLED or colored LCD with LED backlight type with the
Minimum Diagonal measurement of 21 inches and Full HD resolutions.
9.6. Cabinets
NIOEC-SP-70-14 shall be followed.
10. NAMEPLATES
Each cabinet, module, peripheral included in Vendor’s scope of supply shall have its individual
nameplate.
Nameplates shall be plastic type with a glossy black laminated surface and opaque white base
Nameplates for outdoor equipment shall be stainless steel
Nameplates shall be securely fixed at both ends with stainless steel screws
Nameplate size, characters and character format shall be submitted for Client’s review and
approval
English lettering shall be used.
Vendor’s mark and nameplate shall also be required for each station, cabinet and rack containing
manufacturer’s name, manufacturing date and production number. Material and format shall be
the same as other nameplates discussed above.
Each cabinet shall have both front and rear side nameplates.
12. DOCUMENTATION
12.1. Introduction
The documentation to be supplied with the equipment shall be sufficient to operate, maintain,
repair and reconfigure the hardware and software throughout the operational lifetime of the
System. Document types are specified in Attachment 1; Vendor Documents Schedule (VDS).
8
DECEMBER 2017 NIOEC-SP-70-21(2)
12.2. Design Documents
The Vendor shall produce a Functional Design Specification as his first activity prior to any
construction commencing unless agreed by the Client. The Functional Design Specification
shall detail fully the equipment offered, hardware details, and software configuration and
programs and test procedures and shall be approved by the Client.
The Vendor shall produce unique drawings and documents for those items on the VDS, which
are identified as for Client approval. The Vendor may submit standard drawings and
documents for other category items on the VDS.
All the System-related software including engineering tools, application programs, standard
and optional packages that are included in the scope of supply shall be delivered on solid state
media.
13.2.1.Introduction
The tests shall demonstrate the functional integrity of all hardware and software. Client’s
assigned inspectors shall inspect the performance of all tests and they shall have access right
to all facilities involved in the manufacturing of the equipment purchased under this
specification. The vendor shall maintain and/or replace any hardware or modify the software,
if the specified functions are not satisfactorily performed in Factory Acceptance Test on the
Client’s inspector judgment. A detailed factory test procedure shall be submitted in the bid
proposal by Vendor and shall be agreed upon before starting the test. Vendor shall provide all
necessary personnel and test equipment to perform the tests as and when required with the
costs included in the bid price and separately indicated.
13.2.2.The Basic Goals
To confirm proper design and implementation, demonstrating to the Client’s inspector
that the system meets the Client’s specifications.
To establish that the system performs properly under load and under conditions of stress.
To confirm proper system configuration and organization. This may involve; setting
program priorities (for example, which program runs first when several should be run),
interconnection of system modules, etc.
To look for unanticipated interaction between modules, such as; those which might be
caused by two programs inadvertently sharing the same memory location for different
data.
13.2.3.Quality Assurance Tests
Quality control shall be as per manufacturer’s quality control standard to assure the good
performance of components/ modules used in the system.
9
DECEMBER 2017 NIOEC-SP-70-21(2)
The sampling procedure for the tests will be defined by Clients assigned inspectors.
The Vendor shall perform all routine tests on the modules in the system or a subsystem
prior to power-up of the system.
Functional tests for the system may be performed as a rehearsal for the Factory
Acceptance Test at this stage.
Structural tests shall be performed to find defects in isolation and concentrates on missing
paths, wrong paths, and wrong actions within and between software modules. These tests
shall be performed by Vendor’s engineers and programmers intimately involved in the
design and implementation of the system and inspected by Client’s representative. The tests
shall involve all possible paths in a set of sequence logic.
"Functional" and “Structural" tests are both required to prove that a control system works
correctly. "Structural tests" shall be done as the software modules are coded, whereas
"Function tests" shall be performed after the system or the major subsystem is integrated.
The final testing of the total system shall be Functional.
13.2.4.Procedures for Factory Acceptance Test
The Factory Acceptance Tests shall be performed when all the application software and
data bases have been coded and installed and the Structural tests of individual modules
have been successfully completed.
The testing shall be performed with simulation system.
The Client’s assigned inspector will perform this phase of the test and shall be applied to
all hardware and software of the system. The necessary workmanship and co-operation
shall be provided by the Vendor, in addition to all measuring instruments. All the
subsystems shall be interconnected as "per-actual" interconnecting configuration in the
field.
13.2.5.Requirements of Final Factory Acceptance Test
The following paragraphs describe requirements for testing to be performed by Vendor and
witnessed by the Client’s assigned inspectors. Client’s inspectors shall have the right to
perform any test, request for repeat of performing of any test, or request for additional test as
included in the Vendor’s approved proposal test procedure.
13.2.5.1. Visual and Mechanical Tests
Client’s inspectors will carry out visual and mechanical testing principally to assure;
correct, proper, and good workmanship of the equipment.
13.2.5.2. Functional Tests
When all procedures mentioned here-to-fore has been met, as a minimum, and all utility
programs loaded, testing shall proceed preferably with the following steps:
First, the ability of the system to correctly read the field inputs must be confirmed.
Secondly, these inputs shall be manipulated, preferably by appropriate signal sources
connected to the input terminals, and proper operation of the interlock levels checked.
The ability of the operator to access the system will be very important at the computational
safety level (level 2). The interlocks at this level which may have multiple operating
modes shall be tested separately by application of a tester replacing the higher levels for
the purpose of these testing.
The proper operation on the regulatory level shall be checked by suitable tester and by
changing the set-points and other directives, through the operator interface.
10
DECEMBER 2017 NIOEC-SP-70-21(2)
The sequence levels of a batch control system shall be tested. First, the shared units shall
be tested with their local operator interface, if available, or the central operator interface.
When this operation is confirmed to be correct, testing shall proceed to higher level
functions, as they exist, until it is established that the shared units all respond correctly to
the simulated input signals from the process.
In batch control, the logic for the main process vessels shall be tested (at this point, the
logic is supported by all functionality for the levels below and for the shared units).
Outputs to files for logging and reporting shall be tested; the logging and reporting
programs themselves may be tested later, independently, after it is confirmed that the data
received from the logic are correct.
Software for production scheduling and other higher level functions shall be tested along
with the other batch control software.
All process and equipment failure must be simulated and tested during this period, since
many failure conditions are difficult and/or time consuming to simulate when the system
is connected to the actual process for the field acceptance test.
Software testing shall start with Operating System, then control programs and finally
utility programs.
13.2.5.3. Test Plan Schedule
The Vendor shall submit his test plan at a suitable time before starting of the test. The
test plan shall demonstrate the properly execution of the functions, features,
performance, and reliability of the system. The tests shall avoid non relevant duplication
and shall provide greatest coverage with fewer test cases.
Plans are required for both "Structural" and "Functional" tests. The plans should specify
the sequence in which a module or a function is to be tested, the required inputs and the
anticipated results.
The plan for the "Structural test" shall cover all possible paths of logic in a module, and
an appropriate subset or combinations of the logic paths, by the Vendor’s designer and
programmers’ judgment.
Client’s representative shall witness all "Structural tests" performed on the modules at
any stage of manufacturing. Therefore, the test plan shall be suitably timed, to enable the
Client’s representative to take part in the tests.
11
DECEMBER 2017 NIOEC-SP-70-21(2)
13.3.2.Configuration Documentation
All the latest changes in programs and data-bases, as performed during acceptance test shall
be transferred to solid state drive (four copies). Two copies shall be shipped separately by
express mail to Client and two other copies shall be shipped with the system.
13.3.3.Final Conclusion of Tests
The Client’s assigned inspectors shall sign all Factory Acceptance Test (FAT) reports and
log books and consequently issue a certificate of shipment on satisfactory completion of
witnessing tests. Vendor shall properly pack the system according to shipping instructions
and packaging specifications furnished to him by Client and forward all equipment to the
Client’s site.
14.2. Checks
Vendor specialists shall be responsible to check that the following minimum requirements
have been fulfilled:
Correct installation of cabinets and stations.
Replacement of equipment in cabinets and station removed for transportation.
Connection and installation of all System cables and internal cable connections.
Connection of all power and earthing cables and resistance checks.
14.3. Power up
Vendor specialists shall power up the System and check all vendor standard hardware,
software and communication with Client control system.
14.4. SAT
Vendor specialists shall then perform Site Acceptance Test (SAT) for Client’s approval. Full
functional test shall be carried out at this stage.
14.5. Commissioning
Vendor shall be required to provide a site-based specialist to assist the Client with the
following activities during commissioning:
Operator guidance.
Loop tuning.
Control loop configuration amendments.
Resolve System faults.
12
DECEMBER 2017 NIOEC-SP-70-21(2)
Vendor shall confirm in his quotation, his commitments to render the above-mentioned
services, and quote daily-rates and recommended service period for the above services.
Vendor shall also indicate the location of his nearest technical and service offices.
Dispatched Specialist(s) must be able to communicate in English to perform their required
duties.
14.7. Documents
The Vendor shall provide agreed as-built documents and drawings following site
commissioning.
16. TRAINING
Vendor shall provide training courses for Client as follows:
Training of Operators to overtake System operation
Training of Technicians to perform System maintenance work
Training of Engineers to be in charge of System configuration (hardware and software) and
advanced System maintenance work
Operators will normally be trained at site while the Technicians and Engineers are to be dispatched
to Vendor’s workshop to receive their respective training.
13
DECEMBER 2017 NIOEC-SP-70-21(2)
17. GUARANTEES
Vendor shall guarantee to support and supply spare parts for the supplied hardware, software and
firmware for at least 10 years from the date of shipment.
If it is expected that parts of the system will be withdrawn from sale after 10 years, Vendor shall
provide a statement detailing the equipment to be withdrawn, the timing and how updated parts can
replace the withdrawn parts.
The Vendor shall also guarantee that the supplied equipment are free from fault in design,
workmanship and material, and is of adequate design and proper material to fulfil satisfactorily the
specified operating conditions.
Should any failure or defect in design, material, workmanship or operating characteristics develop
under the start-up and commissioning periods or during the first 12 months of operation, but not
later than 24 months from the date of shipment, the Vendor shall make all required repairs,
alterations or replacements of the defective equipment, free of charge, and shall pay transportation
fees involved to and from NIOEC’s site.
14
DECEMBER 2017 NIOEC-SP-70-21(2)
APPENDIX I
VENDOR’S DOCUMENT SUPPLY (VDS)
Documents
Documents Documents After
After
With Quotation Purchase Order
DESCRIPTION Finalization
Quantity Issue Quantity Quantity
Type Purpose And Type And Type
1. GENERAL
1.3 Catalogues 4C
2. SHIPPING INFORMATION 4C FI 2C 2C+1R
2.1 Net & Gross Weights 4C FI 2C 2C+1R
2.2 Measurements 4C FI 2C 2C+1R
2.3 Packing, Knockdown and Transportation FI 2C 2C+1R
Procedures
3. SCHEDULES
3.1 Design Work Schedule 4C FI 2C 2C+1R
3.2. Manufacturing Schedule 4C FI 2C 2C+1R
3.3 Document Submission Schedule FI 2C 2C+1R
3.4 Test And Inspection Schedule FI 2C 2C+1R
3.5 Shipping Schedule FI 2C 2C+1R
4. REPORTING
4.1 Status Reports FI
4.2 Test And Inspection Reports FA 2C 2C+1R
15
DECEMBER 2017 NIOEC-SP-70-21(2)
6.7 Engineering Station Manuals FI 2C 2C+1R
16