Relay Modules

Standalone Deployment Using Smart Action in LEO CR Series

3 views June 29, 2026 aryakrishna 0

1. Introduction

The Smart Action feature in the LEO Series modules enable the module to execute automation rules created by the customer without requiring  cloud service, or external controller. Once configured, the automation rules are stored  and continue to operate even after power cycles.

This allows the relay module to function as a standalone automation controller, making it suitable for industrial control systems, machine automation, home automation, agriculture, and other applications where reliable autonomous operation is required.

2. What is Smart Action?

Smart Action is an onboard rule engine that continuously monitors the digital input channels and automatically controls the relay outputs based on user-defined conditions.

Instead of continuously sending commands from a computer, the module itself makes control decisions in real time.

Typical rule:

If Digital Input 0 becomes HIGH → Turn ON Relay 0

3. Benefits of Standalone Automation

  • No external controller required during operation
  • No cloud or Internet connectivity required
  • Faster response
  • Continues operating after power interruption
  • Improves system reliability
  • Easy to configure using simple commands
  • Suitable for remote or unattended scenarios

4. How Standalone Automation Works

The Smart Action Engine continuously monitors the configured input channels. Whenever a configured condition becomes true, the corresponding relay action is executed automatically.


5. Supported Logic Modes

Smart Action supports multiple input-to-relay mapping modes.

Mode Description
HIGH Relay turns ON when input becomes HIGH.
LOW Relay turns ON when input becomes LOW.
FOLLOW Relay always follows the input state. Relay ON when input is HIGH and OFF when input is LOW.

6. Configuring Smart Action

Smart Actions can be configured through the module command interface.

The general configuration procedure is:

Step 1

Connect the module to a computer using USB.

Step 2

Open a serial terminal and log in using credentials.

Step 3

Create the desired Smart Action by mapping a digital input to a relay output and selecting the required logic mode using the command.

Example: smart 000 H 000 1

When digital input 0 goes HIGH, Relay 0 turns ON

Step 4

Restart the module to start the smart action.

The module will now operate independently using the stored Smart Action rules.

Note: Smart Action settings are stored and remain available even after power is removed. A factory reset clears all Smart Action configurations.

7. Examples

1. Conveyor Control

Start a conveyor motor whenever a workpiece is detected.

Hardware

  • Proximity Sensor → Digital Input 0
  • Motor Contactor → Relay 0

Smart Action

smart 000 H 000 0

IF Input 0 = HIGH
THEN Relay 0 = ON

Operation

  1. Object reaches the sensor.
  2. Sensor output becomes HIGH.
  3. Smart Action immediately activates Relay 0.
  4. Conveyor motor starts.
  5. When the object leaves the sensor, the relay returns to its configured state according to the selected logic mode.

2. Emergency Machine Shutdown

Hardware

  • Emergency Stop Button → Input 1
  • Main Contactor → Relay 1

Smart Action

smart 001 F 000

Relay 1 FOLLOW Input 1

Pressing the emergency stop immediately de-energizes the relay, shutting down the machine.

3. Garage Door Indicator

Hardware

  • Door Limit Switch → Input 1
  • Warning Lamp → Relay 1

Smart Action

smart 002 F 000

Relay 0 FOLLOW Input 2

The warning lamp remains ON whenever the garage door is open.

8. Combining Smart Action with Relay Timer

Smart Action can be combined with the built-in Relay Timer Engine to create more advanced automation.

Example:

Motion Detected
        │
        ▼
Relay Turns ON
        │
        ▼
Relay Timer Starts
        │
        ▼
Light Turns OFF after 60 seconds

This combination enables automation scenarios such as:

  • Pump delay
  • Alarm sirens
  • Cooling fan control
  • Machine sequencing

9. Best Practices

  • Verify digital input wiring before enabling Smart Actions.
  • Test each rule individually before deploying the smart actions.
  • Label inputs and relay outputs for easier maintenance.
  • Use the Relay Timer Engine for delayed or timed operations instead of implementing delays externally.
  • Perform a factory reset only when necessary, as it removes all Smart Action and timer settings.

Was this helpful?

Leave A Comment
*
*