Toimilaitelohkojen ohjaus TwinCAT-ympäristössä
Kärkkäinen, Aku (2023)
Kärkkäinen, Aku
2023
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202304276588
https://urn.fi/URN:NBN:fi:amk-202304276588
Tiivistelmä
Työn aiheena oli tutkia miten Siemensin TIA Portal -ohjelmointiympäristössä toteutetut, yrityksen sisällä standardoidut, toimilaitelohkot ja niiden ohjaus tulisi toteuttaa Beckhoffin TwinCAT-ohjelmointiympäristössä. Beckhoffin logiikoita sisältävien projektien määrä on kasvussa toimeksiantoyrityksessä ja osaamista niiden ohjelmointiin halutaan kehittää. Toimeksiantaja on Esys, Hollolassa sijaitseva vuonna 2003 perustettu automaatioalan yritys. Työn tavoitteena on löytää hyvä ja toimiva tapa toteuttaa toimi-laitelohkot ja niiden ohjaus sekä tehdä niistä esimerkit.
Työ toteutettiin selvittämällä, mitkä osuudet pystyttiin ohjelmoimaan samalla tavalla kuin TIA Portalissa ja toteuttamalla mahdollisimman toimiva ratkaisu niihin osuuksiin, jotka piti toteuttaa eri lailla. Työn teoriaosuuden aineisto koostuu suurelta osin Siemensin ja Beckhoffin omista materiaaleista.
Tuloksena saatiin toimiva ratkaisu toimilaitelohkojen ohjelmointiin ja niiden ohjaukseen. Ratkaisusta tehtiin esimerkki, ja sitä testattiin fyysisellä toimilaitteella onnistuneesti. Työ kehitti myös tekijän ymmärrystä ja osaamista toimilaitteiden ohjauksesta sekä TwinCAT-ohjelmointympäristössä ohjelmoinnista. Tavoitteiden saavuttamista mitattiin säännöllisillä palavereilla opinnäytetyön ohjaajan kanssa sekä suullisilla keskusteluilla toimeksiantajan kanssa.
Toimilaitelohkojen ja niiden ohjauksen standardointi yrityksen sisällä helpottaa työntekijöiden työtaakkaa sekä mahdollistaa tehokkaamman ajankäytön projektien toteutusvaiheessa. Tulevaisuudessa TwinCATille voisi toteuttaa vastaavanlaisen automaattisen projektipohjan luojan, joka Esysillä on käytössä TIA Portalissa. The topic of the thesis was to study how the standardized device control blocks, which were programmed in Siemens TIA Portal, utilized within the company and the method for controlling them could be implemented in the Beckhoff TwinCAT programming platform. The number of projects using Beckhoff hardware is on the rise and the client company wants to develop programming knowledge for Beckhoff software. The client is Esys, an automation company founded in 2003 and based in Hollola. The aim is to find a suitable solution for implementing the device control blocks and the method for controlling them as well as program a working example of both.
The thesis was conducted by determining which parts could be programmed in an equivalent way with TIA Portal and finding a working solution for the parts that needed different solutions. The materials for the theory section were mainly sourced from Siemens and Beckhoff.
The achieved result was a working solution for programming the device control blocks and the method for controlling them. An example was programmed and tested successfully with a physical device. In addition to improving the author’s knowledge and understanding about device control, the thesis also developed the author’s programming skills in the TwinCAT programming platform. The achievement of the objectives was monitored with regular meetings with the thesis supervisor and discussion with the client.
The standardization of device control blocks and their control method reduces the workload of employees and enables more efficient time management in the implementation phase of projects. In the future, a software solution which automatically creates project templates, similar to what Esys uses with TIA Portal, could be developed for TwinCAT.
Työ toteutettiin selvittämällä, mitkä osuudet pystyttiin ohjelmoimaan samalla tavalla kuin TIA Portalissa ja toteuttamalla mahdollisimman toimiva ratkaisu niihin osuuksiin, jotka piti toteuttaa eri lailla. Työn teoriaosuuden aineisto koostuu suurelta osin Siemensin ja Beckhoffin omista materiaaleista.
Tuloksena saatiin toimiva ratkaisu toimilaitelohkojen ohjelmointiin ja niiden ohjaukseen. Ratkaisusta tehtiin esimerkki, ja sitä testattiin fyysisellä toimilaitteella onnistuneesti. Työ kehitti myös tekijän ymmärrystä ja osaamista toimilaitteiden ohjauksesta sekä TwinCAT-ohjelmointympäristössä ohjelmoinnista. Tavoitteiden saavuttamista mitattiin säännöllisillä palavereilla opinnäytetyön ohjaajan kanssa sekä suullisilla keskusteluilla toimeksiantajan kanssa.
Toimilaitelohkojen ja niiden ohjauksen standardointi yrityksen sisällä helpottaa työntekijöiden työtaakkaa sekä mahdollistaa tehokkaamman ajankäytön projektien toteutusvaiheessa. Tulevaisuudessa TwinCATille voisi toteuttaa vastaavanlaisen automaattisen projektipohjan luojan, joka Esysillä on käytössä TIA Portalissa.
The thesis was conducted by determining which parts could be programmed in an equivalent way with TIA Portal and finding a working solution for the parts that needed different solutions. The materials for the theory section were mainly sourced from Siemens and Beckhoff.
The achieved result was a working solution for programming the device control blocks and the method for controlling them. An example was programmed and tested successfully with a physical device. In addition to improving the author’s knowledge and understanding about device control, the thesis also developed the author’s programming skills in the TwinCAT programming platform. The achievement of the objectives was monitored with regular meetings with the thesis supervisor and discussion with the client.
The standardization of device control blocks and their control method reduces the workload of employees and enables more efficient time management in the implementation phase of projects. In the future, a software solution which automatically creates project templates, similar to what Esys uses with TIA Portal, could be developed for TwinCAT.