0% found this document useful (0 votes)
697 views13 pages

Motor Speed Control Using VFD and PLC Programming - Ladder Logic

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
697 views13 pages

Motor Speed Control Using VFD and PLC Programming - Ladder Logic

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 13

6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

Pages

Inst Tools Menu

Motor Speed Control using VFD and PLC


Programming
BACnet Modbus Converter
Ad
ADFweb.com - IoT Gateways & Converters
Ad
www.ADFweb.com

Open

This is PLC Program to control motor speed using VFD drive.

Motor Speed Control

A VFD drive controls the motor speed. The VFD can be controlled remotely by using
PLC/DCS systems.

The PLC has to give set point for VFD drive to control the motor speed, this can
achieved either automatically from the PLC or by the operator action from the HMI.

Piezo Motion
Rapid response time: 10μs. Open and closed-loop options available

nonmagnetic

learn.piezomotion.com OPEN

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 1/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

According to set point value, PLC willX control the drive


PLC Program for Food Processing Industry
speed and VFD drive finally
T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S
X

controls
P LC TU TO RI Athe
LS motor speed. Write PLC program for this
T Flipapplication
Flop Logic using using
PLC This ladder
is PLC Program to
implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
language.
Program to detect burned chips and remove them by
flip flop in PLC using ladder diagram progra…
using PLC. Problem Description Potato chips are mad…

Problem Diagram

Problem Solution
For controlling we used here PID function so according to set point it will
automatically control drive speed.
As per name, PID controller consists main three coefficients: proportional,
integral and derivative.
For VFD drive control explanation, we will use setpoint for drive from the PLC
(50RPM). PID function will maintain the speed as per setting.
According to set point PID will generate output and the VFD drive receives the
PLC input and maintains the required motor speed.

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 2/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

Here we are considering 4-20mA


PLC Program for Food Processing Industry
X signal for VFD drive input (required speed
T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S
X

setpoint from PLC) and feedback from the Tdrive


P LC TU TO RI A LS Flip FlopisLogic
also 4-20mA
using which
PLC This is PLC in-turn
Program to
implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
Program toconnected to and
PLCremove
to display
them by the actual speedflipinflopHMI.
in PLC using ladder diagram progra…
detect burned chips
using PLC. Problem Description Potato chips are mad…

List of inputs/outputs
Digital Inputs/Analog Inputs

PID Enable :- I0.0


Manual Enable :- I0.1
PID reset :- I0.2
4-20mA signal form drive :- IW64

Digital outputs/Analog output

Analog output for drive :- QW80

M memory

Set point PID :- MD500


PID output for drive :- MW762
Run mode by startup :- M0.3

PLC Ladder diagram to control Motor Speed

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 3/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 4/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 5/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…

Program Description
For this application we use S7-1200 PLC and TIA portal software for programming. We
can implement this logic by using other PLC also.

Network 1:- 

In network we configured standard parameters for PID function.

“Drive PID”.sRet.r_Ctrl_Gain:- saved proportional gain or P gain for PID (1.0).


“Drive PID”.sRet.r_Ctrl_Ti:-Saved integral time or I gain for PID (20s).

Network 2:-

“Drive PID”.sRet.r_Ctrl_Td:-Saved derivative time or D gain for PID (0s).

Network 3:-

Here we have taken drive PID max output limit and minimum output limit. We have
considered here max limit for PID output 100 and minimum limit is 0.

Network 4 :-

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 6/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

Sampling time of the PID_Compact instruction


X
PLC Program for Food Processing Industry
r_Cycle is determined automatically and
T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S
X

usually
P LC TU TO RIequivalent
A LS to the cycle time of the calling OB. Consider
T Flip 0.1sPLCfor
Flop Logic using Thisthis
is PLCapplication.
Program to
implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…
Network 5 :-

When PID enable (I0.0) is pressed PID block will be executed. As per SET point
(MD500) it will generate output (0-27648) and according to speed drive will give
feedback (IW96) to PID.Manual enable (I0.1) is for manual operation and PID reset
(I0.2) is for resetting the PID.

Network 6 :-

Activate Mode after CPU restart If sb_RunModeByStartup = FALSE, the controller will
remain inactive after a CPU startup. After a CPU startup and if sb_RunModeByStartup =
TRUE, the controller will return to the most recently active operating mode.

Network 7 :-

When PID enable switch (I0.0) is pressed, Drive (Q0.0) will be enabled.

Network 8 :-

Moving PID output (MW762) to Analog channel (QW96) of the expansion module of
the PLC.

Set 50 RPM form the HMI and enable PID so PID will generate output according to set
point. After getting output from PID drive will run on 50 RPM and it will generate mA
according to speed. After reaching set point PID will maintain 50 RPM.

In above application we have considered S7-1200 PLC. There are two on board analog
inputs (Voltage) in this CPU. So for this application we need consider one more

$expansion module which has analog input facilities with current


a range k h J %
d selection.
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 7/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…

In TIA portal software, select analog output type > current and range > 4-20mA

Note :- Above application may be different from actual application. This example is
only for explanation purpose only. We can implement this logic in other PLC also. This
is the simple concept of drive speed control using PID.

All parameters considered in example are for explanation purpose only, parameters
may be different in actual applications.

For PID we need to configure so many parameter, here we configured parameters only
for our application. Hence all parameters are not configured here.

Runtime Test Cases

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 8/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…

Author : Bhavesh

If you liked this article, then please subscribe to our YouTube Channel for PLC and
SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

PLC Analog Signals Wiring

Analog Input Card Resolution

PLC Interview Questions

Sensor Scaling in PLC

PLC Output Types

Share With Your Friends

a Facebook d Twitter k LinkedIn h Pinterest v Email J WhatsApp

PLC Program for Food Processing Industry

$ Turbine Flow Meter Verification a d k h J %


https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 9/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X

Recommended Articles
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
1. PLC
Program Digital
to detect burnedSignals Wiring
chips and remove themTechniques
by
flip flop in PLC using ladder diagram progra…
using PLC. Problem Description Potato chips are mad…

2. Configuring and Usage of Cyclic Interrupts TIA Portal (OB 30+)

3. Automatic Box Filling System using PLC Programming

4. What is Ladder Diagram Programming ?

5. Interconnection between PLC, MCC, LCP & Pumps – Video

6. PLC Trainer Demo Download

7. What is Midline Instruction in Siemens PLC?

8. SAVE and BR Memory Instructions in Siemens PLC Programming

9. FIFO Instruction in Allen Bradley PLC Programming

10. Top 100 PLC Projects List

1 thought on “Motor Speed Control using VFD and PLC


Programming”

Pol Francesco
$June 1, 2020 at 8:25 pm a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 10/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

very good
P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to
implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
Reply
using PLC. Problem Description Potato chips are mad…

Leave a Comment

Name *

Email *

Website

Post Comment

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 11/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…

Categories

Select Category

Recent Comments

mohit on Free Control Valves Course

Aladdin Muaña on PLC Program for Latching and unlatching Circuit

Eva B on PLC Program for Blinking Lamp on 5 Seconds Interval

Prem on Industrial Automation Protocols

Mohammed on Industrial Automation Protocols

Mostafa on Sensors and Transducers Classification

Tushar on Magnetic Flow Meter Animation

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 12/13
6/13/2021 Motor Speed Control using VFD and PLC Programming | Ladder Logic

X X
PLC Program for Food Processing Industry T Flip Flop PLC Ladder Diagram P LC TU TO R IA L S

P LC TU TO RI A LS T Flip Flop Logic using PLC This is PLC Program to


implement T flip flop. Problem Description Implement T
PLC Program Food Processing Industry This is PLC
flip flop in PLC using ladder diagram progra…
Program to detect burned chips and remove them by
using PLC. Problem Description Potato chips are mad…
2021 © Reproduction without explicit permission is prohibited.

$ a d k h J %
https://instrumentationtools.com/plc-program-to-control-motor-speed-using-vfd-drive/ 13/13

You might also like