Professional Documents
Culture Documents
Section 5.6 - PLC-DCS Programming Techniques
Section 5.6 - PLC-DCS Programming Techniques
6 – PLC-DCS
Programming Techniques
System Configuration:
The system outline, components used and non-default device settings within the entire system should be described.
An example system outline is shown below – it should show all components involved and their unique names, IP-addresses etc.
Components description applies for all hardware and software used, specifying manufacturer, model-numbers, firmware’s,
software versions/service-packs etc.
Every non-default/factory setting should be described as well, such as station/panel-names, screen size/resolution,
communication protocols/speed, TCP/IP settings etc.
Slide 5.6.2
Previous Next Section 5.6 Index
PLC-DCS - Documentation
Functional Descriptions:
Interlocking/’bubble’ diagrams/CEDs (Cause & Effect Diagrams), flow-charts etc should be
made/documented for describing the process/program functionality.
Firstly we need to understand the processes prior we should/could start setting up flow-charts etc:
• Setup a block-diagram that describes the different process steps (see diagram below – Soybean
Crushing)
• Describe the function, interlocking and special requirements that is applicable for each process-step
• Describe the functions of non-process related such as alarm handling, input/output marshalling,
control typical’s for motors/valves etc.
Software Structure/Architecture:
The software structure should follow same architecture as the process block-diagram as described in
previous sheet as much as possible – this approach would ease upon trouble-shooting etc.
Program (Modules):
Program subroutines/modules (typicals) that are used for programming/animating motors, On/Off valves,
PID-controllers etc should be described – object oriented programming should be used as much as
possible to ease upon programming and maintenance.
Data Structures:
We should prevent using too many line crossings etc – it is important that our process screens looks straight-forwarded
& simple.
We do not have to follow corresponding P&ID’s for 100%, indicating the main product flows is what’s important.
It is strongly recommended to setup our process screens using corresponding P&ID AutoCAD drawings:
• Copy corresponding P&ID AutoCAD drawings
• ‘Strip’ these drawings such that only corresponding instruments/equipment and main process flow lines remains
• Reallocate/change the drawings such that they start to look straight-forwarded & simple
• Have our production department to look at them and advise where necessary
• Revise the drawings until everybody is satisfied
• Start to setup the process screens following these drawings
Color-Animations:
Equipment animations – On/Off Valves:
Grey: Closed
Yellow: Traveling
Green: Opened
Tag-Name Blinking Red: ‘Unhealthy’ (Alarm – Not Acknowledged)
Steady Red: ‘Unhealthy’ (Alarm – Acknowledged)