How to Turn the Digital Output On and Off Using an LED Light

How to Turn the Digital Output On and Off Using an LED Light

This tutorial shows you how to turn the Digital Output on and off with an HMI+PLC combo using an LED Light, while displaying on the user-interface.

Software Required

Hardware Required

Wiring and Circuit Design

This wiring diagram can also be applied to any HMC3 I/O Module with Digital Output capabilities.

Digital Output LED Wiring
Power Supply:
Red Wire: 24V Power from Power Supply
Black Wire: Output Signal to PLC/Controller

Digital Output:
Red Wire Y0: 24V to LED
Black Wire: Ground to LED

Software Code

IEC Ladder Diagram

Structured Text

Another type of IEC Language you can use:

User Interface

Sample Project

The project shown above was designed for the specific hardware mentioned at the beginning of the tutorial and is intended to provide you guidance when programming your unit. If you are using models other than the ones specified in this sample project, similar steps can be duplicated within your own project.

Download MAPware Sample Project

Resources & Documentation

HMC/MAPware-7000 Resources


See our Support Center for a complete list of Quick Start and Installation Guides

Scroll to Top