top of page

Building a Modular Control Architecture with Coolmay L02 PLCs for Efficient Automation

Automation systems are becoming more complex, demanding control solutions that are easy to expand, maintain, and troubleshoot. The Coolmay L02 PLC series offers a practical way to build a modern, modular control architecture without relying on expensive or complicated platforms. By organising hardware and software thoughtfully, engineers can create scalable systems that handle up to 512 inputs/outputs and communicate seamlessly via Ethernet/IP, Modbus, or Profibus.



Defining a Modular Control Architecture


A modular control architecture treats each hardware component as a distinct functional unit or slot. This approach simplifies system design and troubleshooting by giving each module a clear role and fixed position. For example:


  • Slot 0: CPU module, the brain of the system

  • Slots 1-4: Digital Input (DI) modules

  • Slots 5-8: Digital Output (DO) modules

  • Slots 9-12: Analog Input (AI) and Analog Output (AO) modules

  • Slots 13-14: Temperature measurement modules

  • Slots 15+: Specialty modules like load cells or communication interfaces


This predictable layout helps technicians quickly identify where signals originate and where to check if issues arise. The Coolmay L02 PLC supports this structure with a compact design that fits neatly on a Din Rail, making installation and expansion straightforward.


Using Tag-Based Programming for Clarity


Instead of programming with raw memory addresses, the system should use a tag-based approach. Tags group signals by module and function, such as DI, DO, AI, AO, Temperature, and Weight. Each tag includes fields for:


  • Raw sensor values

  • Scaled engineering units

  • Alarm status

  • Health diagnostics


This method lets engineers work with meaningful names rather than cryptic addresses, reducing errors and speeding up commissioning. For example, instead of remembering address `M100`, an engineer can refer to `DI_Slot1_Channel3` or `Temp_Slot13_Sensor1`.


Allocating Fixed Memory Ranges


Assigning fixed memory blocks to each module type creates a stable internal data map. For instance:


  • Digital I/O modules occupy memory range 0x0000 to 0x00FF

  • Analog modules use 0x0100 to 0x01FF

  • Temperature modules have 0x0200 to 0x02FF

  • Specialty modules like load cells use 0x0300 to 0x03FF


This consistency means the system’s internal layout remains unchanged even when modules are added or replaced. It also simplifies integration with SCADA systems or cloud platforms, which can rely on fixed memory locations for data retrieval.


Automatic Scaling and Health Diagnostics


Raw sensor data often needs conversion to engineering units for meaningful use. The Coolmay L02 PLC can run automatic scaling routines that transform raw analog values into temperature in degrees Celsius, weight in kilograms, or voltage in volts. This reduces manual calculations and potential errors.


Each module also includes health diagnostics to detect communication failures or abnormal readings. For example, if a temperature sensor stops responding, the system flags an alarm and marks the module as unhealthy. This feature improves system reliability and helps maintenance teams respond quickly.


Communication Protocols for Seamless Integration


The Coolmay L02 PLC supports common industrial communication protocols such as Ethernet/IP, Modbus, and Profibus. This flexibility allows the control system to connect with a wide range of devices and higher-level systems. For example:


  • Use Ethernet/IP for fast, real-time data exchange with modern SCADA systems

  • Use Modbus for compatibility with legacy equipment

  • Use Profibus for integration in complex factory networks


Supporting multiple protocols ensures the modular system can fit into existing automation environments without costly redesigns.



Practical Example: Expanding a Packaging Line


Imagine a packaging line controlled by a Coolmay L02 PLC system. Initially, the line uses:


  • CPU in Slot 0

  • 2 DI modules for sensors detecting product presence

  • 2 DO modules for controlling actuators and conveyors

  • 1 AI module for monitoring analog pressure sensors


As the line grows, engineers add:


  • Temperature modules to monitor motor heat

  • Load cell modules to weigh packages

  • Additional DI and DO modules for new sensors and actuators


Because each module has a defined slot and memory range, the system expands without reprogramming existing addresses. The tag-based software automatically includes new signals with clear names, and health diagnostics monitor all modules continuously.


Benefits of Using Coolmay L02 PLC for Modular Automation


  • Scalability: Easily add or replace modules without disrupting the system

  • Maintainability: Clear module roles and tag-based programming simplify troubleshooting

  • Integration: Support for Ethernet/IP, Modbus, and Profibus connects to diverse equipment

  • Compact design: Din Rail mounting saves space and supports up to 512 inputs/outputs

  • Reliability: Health diagnostics and automatic scaling improve system uptime


These advantages make the Coolmay L02 PLC a strong choice for automation projects that require flexibility and long-term support.


Final Thoughts on Modular Control with Coolmay L02 PLCs


Building a modular control architecture with Coolmay L02 PLCs helps engineers create automation systems that are easy to expand, maintain, and integrate. By assigning fixed slots to hardware modules, using tag-based programming, and supporting common communication protocols, the system remains clear and reliable even as complexity grows. This approach reduces commissioning time and lowers maintenance costs, making it a practical solution for modern industrial automation.

bottom of page