Knowledge Base
Applied Automation Using Embed...

Fan Control - Latching Circuit

5min

Cooling and air distribution are essential to ensure a safe and optimal environment for workers. This example illustrates how to implement a latching circuit to monitor and control an industrial fan using the SCALAE AUTO๏ปฟ styled PLC.

Industrial Fan
Industrial Fan
๏ปฟ

Operational Purpose

This example enables the following two objectives:

  • Toggle the running state of the ceiling fan by pressing START and STOP.
  • Testing the ceiling fan if it is running normally by pressing TEST.

Hardware

Device

Role

X0

Press START, XSTART=ON

X1

Press STOP, X1 = OFF, FAN = OFF

X2

Press TEST, XTest = ON, FAN = ON

X3

Error signal, = ON, FAN = OFF

Y1

Ceiling-fan motor control signal

๏ปฟ

Software

The following example is easily created using LDMicro.

Document image
๏ปฟ

I/O

Role

RB0

Start

RB1

Stop

RB2

Err

RB3

Test

RD0

Fan

Program Description

  • Press Start, and XStart = On, and the fan will receive the start signal, and in the process, the latch on of YFan will active latch the signal on. While there is no error, the fan will continue to run.
  • When Stop is pressed, the circuit for Xon is broken and then the output signal for the fan is interrupted
  • If there is an error, the error input is triggered and this interrupts the Fan running signal and the fan will stop
  • When the Test button is pressed
    • The fan will receive the running signal, but the signal will not latch and once the button is released, then the fun will stop
    • The fan will run only if there is no error

All code samples available on GitHub : https://github.com/HavenTech/LDMICRO-Examples---PIC16F887๏ปฟ

๏ปฟ