Ahmet Murat TUNÇ

İnovasyonInnovation··4 dk okuma6 min read

Endüstri 4.0'dan önce dijital iplik: Creo, Toolkit Java ve EPLAN ile tasarımdan üretime kesintisiz veriBefore Industry 4.0 comes the digital thread: unbroken data from design to production with Creo, Toolkit Java and EPLAN

Endüstri 4.0 sunumlarda genellikle sensörler ve robotlarla anlatılır. Fabrikadaki ilk engel ise çok daha sıradan: tasarım verisinin üretime hâlâ elle taşınması. Parametrik model, onu dışarıdan süren bir API ve aynı mantıkla kurulmuş bir elektrik projesi olmadan akıllı fabrika slaytta kalıyor.Industry 4.0 is usually presented with sensors and robots. The first obstacle on the factory floor is far more mundane: design data still travels to production by hand. Without a parametric model, an API that drives it and an electrical design built on the same logic, the smart factory stays on the slide.

PaylaşShare

Özel üretim yapan bir fabrikada her sipariş yeni bir tasarımdır. Seri üretimde bir kez tasarlayıp bin kez üretirsiniz; siparişe göre klima santrali yapan bir fabrikada ise bin kez tasarlarsınız. Endüstri 4.0'ın en çok kazandıracağı yer burası. En zor uygulanacağı yer de.

Sebebi şu: tasarımdan üretime giden veri yolu her siparişte baştan yürünüyor. O yol elle yürünüyorsa, bir robotun beklediği bilgi zaten geç ve eksik gelir. Robot sırada ikinci. Önce yol.

Dijital iplik nerede kopuyor

Benim tanımım kısa: veri tasarımda bir kez girilir ve sahaya kadar bir daha elle dokunulmadan akar. Satışın seçtiği ünite mühendisin modeline gider. Model çizime ve ürün ağacına (BOM) dönüşür, BOM ERP'de üretim emrine çevrilir, elektrik projesi de pano montajını ve PLC yazılımını aynı kaynaktan besler. Literatürde bunun adı dijital iplik. İpliğin nerede koptuğunu bulmak için tek bir şey sorarım: aynı sayıyı ikinci kez kim yazıyor?

Sahada sık gördüğüm tablo şöyle: kasa uzunluğu teklifin ekindeki bir Excel dosyasında ve üretimdeki bir kesim listesinde ayrı ayrı yaşıyor, ikisini de farklı kişiler yazmış. Biri değiştiğinde öteki haberdar olmuyor. Hata fark edildiğinde paneller çoktan kesilmiş oluyor. 4.0, ipliğin koptuğu o noktada biter.

Model, program ve elektrik projesi

Model bir çizim değil, bir kural seti

Creo'da parametrik modelleme, ölçüleri sabit çizmek yerine ilişki kurmak demek. Kasa uzunluğu, bölüm uzunluklarının toplamıdır. Panel sayısı, uzunluğun panel modülüne bölümünden gelir. Kapı, fan bölümünün servis tarafındadır. Bu cümleler modele ilişki (relation) olarak yazıldığında bir santral ailesinin bütün varyantları tek bir modelde yaşar ve parametreyi değiştirdiğinizde model kendini yeniden kurar.

Bedeli disiplin: iskelet model, anlamlı adlarla tanımlanmış parametreler, doğru yüzeylere bağlanmış referanslar. Kötü kurulmuş bir parametrik model otomasyonun elinde ilk gün patlar. Bir montaj referansı yanlış yüzeye bağlıysa, uzunluk değiştiği anda kapı menteşeleri boşlukta kalır. İyi kurulmuş olan ise yıllarca hizmet eder ve her yeni varyantla biraz daha değer kazanır.

Modeli dışarıdan süren program

Parametrik model tek başına hâlâ birinin parametreleri elle girmesini bekler. Kapıyı Creo'nun programlama arayüzleri açıyor. C tabanlı Creo Toolkit en geniş erişimi verir; Java tarafında ücretsiz J-Link ve onun lisanslı, daha kapsamlı hali Object TOOLKIT Java var. Bu arayüzlerle yazılmış bir program seçim yazılımının çıktısını okur, parametreleri modele yazar, modeli yeniden oluşturur (regenerate), çizimleri üretir ve ürün ağacını PLM'e gönderir.

Bizim uygulamamızda üç saatlik tasarım hazırlığı on dakikanın altına indi. Güzel bir rakam. Asıl kazanç ise başka yerdeydi: elli civarı mühendislik kuralı bir kişinin kafasından çıkıp yazılıma girdi ve bilgi artık tek bir kişinin izin günlerine bağlı kalmadı.

Bir kural ihlal edildiğinde program ilgili satırı işaretleyip mühendise bırakır ve iş akmaya devam eder. Son onay mühendiste kalıyor ve bence öyle kalmalı. Burada sık düşülen bir yanılgıya da değineyim: API kötü bir modeli iyileştirmez. Yalnızca hızlandırır, yani aynı hatayı çok daha çabuk çoğaltır.

Elektrik projesi de parametrik olmalı

Mekanik taraf otomatikleştiğinde darboğaz yer değiştirir ve elektriğe, otomasyona kayar. Her ünitenin bir pano projesi, kablo listesi, klemens planı ve PLC I/O listesi var. Çoğu fabrikada bunlar hâlâ bir önceki projeden kopyalanıp düzeltilerek hazırlanıyor. Kopyalanan projede silinmesi unutulan tek bir sensör bile sahada boşta kalan bir klemens ve devreye alma ekibi için kayıp bir yarım gün demek.

EPLAN'ın makro ve tip tabanlı yapısı, mekanikteki parametrik modelin elektrikteki karşılığı. Fan sayısı, sensör seti ve damper motorları belli olduğunda şemalar, kablo ve etiket listeleri, pano yerleşimi kurallardan üretilebiliyor; EPLAN'ın Cogineer gibi kural tabanlı proje üretim araçları tam da bunun için var. Daha önemlisi, elektrik BOM'u mekanik BOM ile aynı seçim verisinden türüyor. "İki liste tutmuyor" diye üretim hattında bekleyen ünite böylece ortadan kalkıyor.

Bizde bu adım hâlâ yürüyen bir çalışma; mekanikte aldığımız sonucu elektrikte de almak için aynı yolu izliyoruz. Bu tür işlerde zamanın çoğunu kod yazmak yemez. Asıl zaman, kuralları kâğıda dökmeye gider.

Geçişin gerçek ön şartları

Bir fabrikada bu dönüşümü konuşmadan önce aşağıdaki listeye bakarım. Dikkat ederseniz hiçbiri yeni bir teknoloji satın almakla ilgili değil.

Sensör almak kolay, robot almak da kolay. Zor olan, satışın girdiği bir sayının hiç kimse tarafından ikinci kez yazılmadan panoya kadar gitmesi.

En sık gördüğüm hata sıralamayı ters çevirmek. Önce makine bağlantısı, bulut platformu ve renkli üretim ekranları geliyor; otomasyon veri kaosunun üstüne kuruluyor. Makineler konuşuyor, ama söyledikleri birbirini tutmuyor. Doğru sıra önce tasarım verisini disipline etmek, sonra onu akıtmak, en son görselleştirmek.

Kendi fabrikanızda yarın sabah yapabileceğiniz basit bir test var. Son siparişinizin kasa uzunluğunu alın ve kaç farklı dosyada, kaç farklı adla yazıldığını sayın. Sayı birden büyükse Endüstri 4.0 oradan başlıyor.

In a factory that builds to order, every order is a new design. In series production you design once and build a thousand times; in a plant making custom air handling units you design a thousand times. That is where Industry 4.0 should pay off most. It is also where it is hardest to apply.

The reason is simple. The data path from design to production is walked from scratch for every order, and if it is walked by hand, whatever a robot is waiting for will arrive late and incomplete. The robot comes second. The path comes first.

Where the digital thread breaks

My definition is short: data is entered once, at design, and flows all the way to site without anyone touching it again. The unit that sales selected goes into the engineer's model. The model becomes drawings and a bill of materials, the BOM becomes a production order in ERP, and the electrical design feeds panel assembly and the PLC program from the same source. The literature calls this the digital thread. To find where it breaks, I ask one thing: who is typing the same number a second time?

A typical case: the casing length lives in a spreadsheet attached to the quotation and again in a cutting list on the shop floor, typed by different people. When one changes, the other never hears about it, and by the time anyone notices, the panels are already cut. That is where 4.0 ends.

Model, program and electrical design

The model is not a drawing, it is a set of rules

Parametric modelling in Creo means building relationships instead of drawing fixed dimensions. Casing length is the sum of the section lengths. Panel count follows from the length divided by the panel module. The door sits on the service side of the fan section. Once sentences like these are written into the model as relations, every variant of a unit family lives in a single model, and changing a parameter makes the model rebuild itself.

The price is discipline: a skeleton model, parameters with meaningful names, references attached to the right surfaces. A badly built parametric model blows up in the automation's hands on day one. If an assembly reference sits on the wrong face, the door hinges end up floating in mid-air the moment the length changes. A well-built one serves for years and gets more valuable with every new variant.

A program that drives the model from outside

On its own, a parametric model still waits for someone to type in the parameters. Creo's programming interfaces open that door. The C-based Creo Toolkit gives the widest access; on the Java side there is the free J-Link and its licensed, more complete big brother, Object TOOLKIT Java. A program written against these interfaces reads the output of the selection software, writes the parameters into the model, regenerates it, produces the drawings and pushes the BOM to PLM.

In our implementation, three hours of design preparation dropped to under ten minutes. A nice number. The bigger gain was elsewhere, though: around fifty engineering rules moved out of one person's head and into software, so the knowledge no longer depends on anyone's holiday calendar.

When a rule is violated, the program flags the line and hands it to the engineer while the job keeps moving; the final approval stays with the engineer. I think that is how it should stay. And a trap I keep running into: an API does not fix a bad model. It just reproduces the same error faster.

The electrical design has to be parametric too

Once the mechanical side is automated, the bottleneck moves to electrical and controls. Every unit has a panel design, a cable list, a terminal plan and a PLC I/O list. In most factories these are still produced by copying the previous project and editing it. One sensor that someone forgot to delete in the copied project means an empty terminal on site and half a day lost for the commissioning team.

EPLAN's macro- and type-based structure is the electrical counterpart of the parametric model. Once the fan count, the sensor set and the damper actuators are known, schematics, cable and label lists and the panel layout can be generated from rules; EPLAN's rule-based configuration tools, Cogineer among them, exist for exactly this. More importantly, the electrical BOM comes from the same selection data as the mechanical BOM, so the unit that sits waiting on the line because "the two lists don't match" disappears.

For us this step is still work in progress; we are following the same path to get in electrical what we achieved in mechanical. In this kind of work, writing code is rarely what eats the time. Getting the rules onto paper is.

The real prerequisites

This is the list I go through before any such transformation. None of it involves buying new technology.

Buying sensors is easy, and so is buying robots. The hard part is getting a number the sales team typed all the way to the panel without anyone typing it a second time.

The most common mistake I see is reversing the order. Machine connectivity, a cloud platform and colourful production dashboards come first, and automation gets built on top of data chaos. The machines talk, but what they say doesn't add up. The right order is to discipline the design data, then make it flow, and only then visualise it.

Here is a test you can run in your own plant tomorrow morning. Take the casing length of your latest order and count how many files it appears in, and under how many different names. If the answer is more than one, that is where your Industry 4.0 starts.

Faydalı bulduysanız paylaşınFound it useful? Share it
Ahmet Murat TunçAr-Ge ve Mühendislik Müdürü, Systemair Türkiye. Klima santralleri, veri merkezi soğutma, otomasyon.R&D & Engineering Manager, Systemair Türkiye. Air handling units, data center cooling, automation.