Testauksen automatisointi PLC-ohjelmalla
Lehtimäki, Tommi (2019)
Lehtimäki, Tommi
2019
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2019053013375
https://urn.fi/URN:NBN:fi:amk-2019053013375
Tiivistelmä
Opinnäytetyön toimeksiantajana toimii Arnon Oy:n Turun toimipiste. Työn tarkoituksena on yrityksen tuotteiden testauksen ja tarkastamisen työvaiheen kehittäminen automaation avulla. Työ valmistettiin yrityksen toimitiloissa vuoden 2018 aikana. Työtä varten haettiin tietoa laitevalmistajien manuaaleista, kirjallisuudesta, ohjekirjoista sekä käytettiin hyödyksi aikaisempaa työkokemusta yrityksessä.
Automatisoinnissa käytettiin laitteistona ABB:n AC500 -tuoteperhettä. Ohjelmoinnissa hyödynnettiin ABB:n automation builder -ohjelmistoa sekä CoDeSys-suunnitteluohjelmistoa. ABB:n manuaaleissa oli hyvin tietoa käytetyistä tuotteista.
Työ aloitettiin tutustumalla tarvittaviin komponentteihin ja ohjelmistoihin. Lisäksi perehdyttiin logiikan toimintaan ja sen ohjelmointiin. Tämän jälkeen aloitettiin suunnittelemaan testauksen tarpeisiin sopivaa PLC-ohjelmaa ja siihen tarvittavien lisälaitteiden hankintaa.
Valmistetun PLC-ohjelman toimivuus todettiin ensin simuloimalla ohjelmaa, jonka jälkeen testattiin ohjelman toimintaa testaustoimenpiteissä.
Työn tavoitteena oli valmistaa yritykselle toimiva laitteisto testauksen tarpeisiin ja suunnitella yhteen valmistettavaan tuotteeseen PLC-ohjelma, jonka avulla voidaan testata tuotteen sähköinen toimivuus. Valmistettuun laitteistoon voidaan jatkossa suunnitella lisää PLC-ohjelmia muiden tuotteiden testaukseen. This thesis was commissioned by the Turku office of Arnon Oy. The aim of the thesis was to test and check the company’s products and to improve the working phases with the help of automation. The thesis was made at the company’s facilities during 2018. Information was sought from the component manufacturers’ manuals, literature and instruction manuals. Also, the previous work experience in the company was exploited in this project.
The ABB’s AC500 range was the device used for automatization. The automation builder program provided by ABB and the CoDeSys engineering tool was used in the programming. Manuals were easily found on ABB’s official webpage, which provided information of the products used.
The thesis work itself was started by studying the necessary software and components. Furthermore, the Programmable Logic Controller’s function and its programming were acquainted with. The next step was to begin the planning of the PLC program, which would fit the needs of testing, and to get the additional devices needed for the program.
The functionality of the created PLC program was verified first by simulating a program and later by testing the program’s function in testing procedures.
The goal was to make a functional hardware for the company’s testing needs, and to design a PLC program for a manufactured product, which can be used to test the product’s electrical functionality. In the future, it is possible to design more PLC programs for manufactured hardware in order to test other products as well
Automatisoinnissa käytettiin laitteistona ABB:n AC500 -tuoteperhettä. Ohjelmoinnissa hyödynnettiin ABB:n automation builder -ohjelmistoa sekä CoDeSys-suunnitteluohjelmistoa. ABB:n manuaaleissa oli hyvin tietoa käytetyistä tuotteista.
Työ aloitettiin tutustumalla tarvittaviin komponentteihin ja ohjelmistoihin. Lisäksi perehdyttiin logiikan toimintaan ja sen ohjelmointiin. Tämän jälkeen aloitettiin suunnittelemaan testauksen tarpeisiin sopivaa PLC-ohjelmaa ja siihen tarvittavien lisälaitteiden hankintaa.
Valmistetun PLC-ohjelman toimivuus todettiin ensin simuloimalla ohjelmaa, jonka jälkeen testattiin ohjelman toimintaa testaustoimenpiteissä.
Työn tavoitteena oli valmistaa yritykselle toimiva laitteisto testauksen tarpeisiin ja suunnitella yhteen valmistettavaan tuotteeseen PLC-ohjelma, jonka avulla voidaan testata tuotteen sähköinen toimivuus. Valmistettuun laitteistoon voidaan jatkossa suunnitella lisää PLC-ohjelmia muiden tuotteiden testaukseen.
The ABB’s AC500 range was the device used for automatization. The automation builder program provided by ABB and the CoDeSys engineering tool was used in the programming. Manuals were easily found on ABB’s official webpage, which provided information of the products used.
The thesis work itself was started by studying the necessary software and components. Furthermore, the Programmable Logic Controller’s function and its programming were acquainted with. The next step was to begin the planning of the PLC program, which would fit the needs of testing, and to get the additional devices needed for the program.
The functionality of the created PLC program was verified first by simulating a program and later by testing the program’s function in testing procedures.
The goal was to make a functional hardware for the company’s testing needs, and to design a PLC program for a manufactured product, which can be used to test the product’s electrical functionality. In the future, it is possible to design more PLC programs for manufactured hardware in order to test other products as well