Keeping 28 Textile Chemicals Flowing Without Downtime or Cross-Contamination—One PLC, One Platform, One Project
Textile, Chemicals, Pumps
PLC, HMI, web server, and communications designed and deployed from a single UniLogic project—cutting engineering time while meeting stringent industrial requirements.
Summary
Distributed Control: UniStream PLCs Unify 28 Textile Chemicals Across Pipeline Networks
Resilient and scalable—distributed control built on 7 UniStream PLC + HMI controllers that deliver uninterrupted chemical preparation and distribution for global textile manufacturing Gildan Corporation. The distributed architecture covers the entire chemical lifecycle: raw material intake into eight large tanks, formulation of up to 28 textile chemicals including dyes and fabric finishers in three mixers, transferring products into storage, and distributing them via pipelines to end users with full traceability and remote monitoring—all engineered in a single Unitronics’ UniLogic software project
The Company
Gildan Corporation is a major vertically-integrated apparel manufacturer that operates advanced textile facilities throughout the Americas.
Gildan’s textile operations depend on an uninterrupted supply of precisely formulated chemicals delivered safely to production lines around the clock.
To achieve this, Gildan partnered with automation engineer Ober Yela, head of projects at Central de Mangueras in Honduras, to design a fully automated system for chemical preparation and distribution.
The Challenge: Complex, Continuous Chemical Supply
Gildan needed a system capable of managing a multi-stage process without downtime:
- Eight raw-material tanks, each up to 28,000 kg, with continuous level monitoring and isolation.
- Three mixers (2, 12, and 20 tons) running multiple recipes in parallel with precise dosing requirements.
- Transfer of 28 chemicals from mixers to storage tanks through a single shared pipeline, requiring strict automated flushing to prevent cross-contamination.
- High availability, even in the event of communication loss or hardware failure.
- Full traceability, with events—every receipt, dosing operation, transfer, and shipment—logged to SQL for compliance, cost allocation, and process optimization.
Real-time remote visibility for operators and management.
The Solution
Engineer Yela used seven Unitronics UniStream 10" PLC + HMI controllers to implement a distributed architecture that covers the entire chemical lifecycle: receiving raw materials into eight large tanks, preparing up to 28 textile chemicals in three mixers, transferring products into storage, and distributing them via pipelines to end users with full traceability and remote monitoring.
System Architecture: Three Integrated Tiers
Engineer Yela structured the solution in three main tiers, all controlled by UniStream and connected over Modbus TCP.
- Tier 1. Chemical Mixing Unit (CMU)
The CMU is the core preparation area. A UniStream controller manages intake, dosing, recipe execution, and transfers.
Instrumentation and Control:
- 65 hydrostatic level sensors + 65 high-level switches monitor 8 raw-material tanks, 28 storage chemical tanks and 28 end user tanks.
- 39 electromagnetic flowmeters + 2 Coriolis mass flowmeters ensure accurate dosing into the mixers, transfer to storage tanks and billing to end user tanks.
- 114 valves (47 three-way, 67 two-way) equipped with inductive position feedback for verification.
- Automated recirculation sequences maintain chemical integrity in storage tanks.
- Transfer logic moves finished chemicals to storage and triggers mandatory flushing of the single-line pipeline after each operation.
- Tier 2. Chemical Distribution Center (CDC)
Three UniStream 10” controllers coordinate storage and FIFO distribution to end users:
- FIFO request queue: the PLC receives level-based refill requests from user tanks and processes them in first-in, first-out order.
- Live shipment metrics shown on the HMI:
- AV: volume of current shipment (liters, green).
- DD: total volume shipped during the current day (liters, yellow).
- MM: total volume shipped in the current month (liters, light blue).
- Destination indication: enables operators to see which user tank is currently being filled.
- Distributed resilience: if Modbus communication is lost, each CDC controller automatically switches to manual/local mode and continues supplying chemicals.
- Tier 3. End-User Stations (AutoChem)
Each consumer tank is managed by a local UniStream controller that handles local tank monitoring and request logic:
- Overview screens showing tank levels and feed valve states for each chemical.
- Per-tank detail screens where engineers configure refill start and stop levels.
- A guided three-step sequence:
- End user requests a chemical
- CDC verifies line availability and commands the destination valve
- Once valve position is confirmed, shipment begins automatically
This handshake-style control ensures the pipeline opens only when both sides are ready, reducing risk of spills.
Software Design with UniLogic
Engineer Yela developed the entire control application, designed the HMI and webpages, and set up all communication using UniLogic, Unitronics’ integrated environment for UniStream controllers:
- State machines: PLC logic for filling, recirculation, dosing, transfer, and flushing, with clear transitions between modes.
- Distributed Modbus TCP communication blocks to exchange status, setpoints, and commands between CMU, CDC, and AutoChem units while preserving independent operation.
Remote monitoring was effortless—Using UniLogic’s built-in HMI software editor, Engineer Yela designed HMI screens, clicked to convert them to webpages, and displayed them on smart TVs in the office control center via UniStream’s embedded web server:
- CMU overview: eight raw material tanks with level bars, pump status, and 3/2 valve modes (fill, recirculate, dose).
- Recipe execution status: dosing and mixer screens.
- Transfer and flushing progress.
- Maintenance and calibration screens to disable tanks, test valves, and calibrate level sensors without affecting other parts of the system.
Results: High Availability, High Precision, and Scalability
The UniStream solution delivered major operational improvements, benefitting Gildan with a stable, extensible platform for textile chemical handling:
- Reliability: Distributed, autonomous controllers ensure chemical supply even during communication failures.
- Zero cross-contamination incidents, thanks to automated flushing of the single pipeline between different chemicals.
- Improved Quality Assurance: via scheduled recirculation sequences that prevent separation in storage tanks.
- Full traceability from raw material intake to end-user tank, with events logged to SQL for compliance, optimization, and billing insight.
- Real-time visibility: Field HMIs and office smart TVs provide immediate situational awareness.
- Scalability: New end-user stations can be added easily by extending the FIFO structure and adding AutoChem nodes.
Benefits
For Engineer and Gildan, the UniStream and UniLogic platform provided a compact, integrated solution tailored to complex process applications:
- One robust hardware platform: PLC + HMI + web server in one device.
- One software for all tasks: UniLogic is the environment for all tasks. Control logic, HMI / webpage, communications, SQL connectivity and more.
- Strong Modbus TCP capabilities for multi-controller systems and third-party drive integration.
- OEM/System Integrator-friendly design flow that simplifies build, commissioning, and long-term support
Engineer Yela reports “I really enjoy working with UniLogic! It is easy to build the PLC control program, easy to configure communications, and it enables me to design excellent HMI screens, that are simple for my customers to use.”
He went on to say:
“I was able to easily meet the client request for remote monitoring—I converted HMI screens to webpages with a click of the mouse, and used UniStream’s built-in webserver to display them on a smart TV in the production office. This saved me a lot of time and effort!”
Related Stories
Purifying the Desert: Advanced RO Control for Dairy Operations with Unitronics
From Medical-Grade Dialyzers to Scalable Water Purification
How UniCloud transformed irrigation pump control
How Innostall Uses UniCloud to Modernize Manure Management on Dairy Farms
Smart Wastewater Solutions-Upflow Goes Ground to Cloud with Unitronics
RutlandPlastic
Gaffey LED controls
Agrozone: What and Why Ozone?
Smart Water Management for Remote Communities
Song SengAll-in-one PLC automates beautiful fountain display, while saving the designers time and money
Watt TechnologyCan one PLC be standardized calibration benches using different measurements?
Waterplay Solutions Corp IncHow to downsize your control system without losing functionality?
Marcé Fire Fighting TechnologyHow can industrial automation improve safety in dangerous professions?
LLC Group 7easy to program, with a good number of useful features
EKOIDEAHow can you achieve reliable, safe automatic control settings?
Tesan Elektrik"Unitronics’ advanced communication options and temperature modules enabled us to offer the customer a cost-effective, accurate remote monitoring solution"
AquaRD Sp. z o.o.With a friendly development environment and unrivaled quality
Aqua Interma Engineering CopyHow can water treatment systems kill microorganisms and ensure water purity?
Aqua Interma EngineeringHow can water treatment systems kill microorganisms and ensure water purity?
Development of Salmon Ova with UnitronicsPartnering with Unitronics enables Champignon Farm to leverage advanced automation solutions, and achieve higher efficiency, sustainability, and profitability in mushroom cultivation.
Bio Mass Impianti SrlBio Mass Impianti Srl used Unitronics’ UniStream PLC creating a powerful flowmeter
GirhsaGIRHSA uses Unitronics UniStream PLCs for plant control and the UniCloud IIoT platform to lower maintenance costs, continuously optimize plant performance and water quality —and to reveal advanced industrial IoT data analytics to reveal data-backed insights for their customers.
Tills InnovationsWater Features: Pump Control with the UniStream 10.4 PLC + HMI
University of Johannesburg’s School of EngineeringHow can you install a PLC with remote monitoring and control in an area without electricity?