Professional Documents
Culture Documents
Programming A SEW VFD Using: Allen Bradley PLC Programming Course
Programming A SEW VFD Using: Allen Bradley PLC Programming Course
Prerequisites Beginner
Understanding
Programming a PLC
Programming |
SEW VFD using
the
Configuration How to Read
Ladder Logic
of a SEW
Movitrac Read Tutorial
28
Shares
Creating a
new project in Modbus TCP in Intermediate
Unity Pro
Step 3 -
Unity Pro Allen-Bradley
PointIO Safety
Modules
Configuring Wiring and
By Redouane Ait Ali Yahia
Programming
the Modbus
Tutorial
TCP Network
in Unity Pro Read Tutorial
Introduction
Programming
in ST in Unity In modern industrial environments, the most
Pro common way to remotely control VFDs
(Variable Frequency Drives or Inverters) is by
Conclusion
using a Fieldbus communication with a PLC.
This offers a higher level of control as it
Share This Tutorial enables access to the VFD’s parameters and
data, allowing us to precisely adjust the
28
Shares
motor’s behavior in our PLC programs and to
Advanced
monitor the status of the drive.
PowerFlex 525
SEW-EURODRIVE is one of the main players VFD Setup -
among the VFD manufacturers. They offer a Programming
user-friendly and accessible configuration
Parameters
Wiring
environment, making it one of the easiest to
Diagram
use when it comes to establishing Fieldbus RSLogix Studio
communication with PLCs from various 5000 EtherNet
manufacturers such as Siemens, AB, IP Address
Omron..etc.
Start Stop
Read Tutorial
In this tutorial, we will learn how to exchange
process data (Setpoint Speed, Ramp, Actual
Speed, and Output Current) between any
SEW Movitrac B inverter equipped with a
DFE33B Modbus TCP interface and a
Schneider Electric Modicon M340 PLC using
28
Shares
Unity Pro. The goal is to demonstrate the
general way to set a VFD/PLC Fieldbus
communication.
Prerequisites
To follow along with this tutorial, you will
need
28
Shares
No PLC or VFD hardware is required for this
tutorial.
Understanding the
Configuration of a
SEW Movitrac
The Movitrac B series comes as a compact
device with a modular Fieldbus interface
card equipped with RJ45 ports (Figure 1.1).
For this tutorial, we are considering any
Movitrac B model equipped with a DFE33B
Modbus TCP interface directly wired to the
PLC via an RJ45 cable.
28
Shares
P 871 (Setpoint description PO2) value :
8 (Ramp time).
28
Shares
DFE33B Ethernet/IP And Modbus TCP
Fieldbusinterface manual
Creating a new
project in Unity Pro
Now that we have prepared the inverter, it is
time to do some programming in Unity Pro.
Let’s start by launching Unity Pro and
creating a new project by clicking on File ->
New.
28
Shares
Figure 2.1: Creating a new
project in Unity Pro.
28
Shares
Figure 2.2: CPU and rack selection.
Step 3 - Configuring
the Modbus TCP
28
Network in Unity Pro
Shares
On the left side of your screen, you can find
the project browser (See Figure 3.1 below)
that shows the different components of your
project such as the hardware configuration,
networks, variables, tasks..etc.
28
Shares
Figure 3.1: Creating a new network in Unity Pro.
28
Shares
Figure 3.5: IP Configuration of a network in Unity Pro.
Programming in ST in
Unity Pro
To read or write process data, we have to
create a MAST task in our project that will
28
Shares
contain our ST code.
28
Shares
Figure 4.1: Creating a new section in Unity Pro.
28
Shares
A task creation window opens. Type “Main”
in the name section and select the ST
language. Then click on OK.
28
Shares
Figure 4.5: READ_VAR function in Unity Pro.
28
Shares
Figure 4.6: READ_VAR and WRITE_VAR functions in
Unity Pro.
28
Shares
Figure 4.9: All variables we need.
28
Shares
According to the SEW documentation, speed
and current values in the inverter are scaled.
Conclusion
In this tutorial, you learned how to easily
interact with a SEW VFD using Unity Pro and
Modbus TCP.
28
Shares
As an automation engineer, having to
establish different Fieldbus communications
between the different devices of your project
is a key skill to acquire. VFDs are the best
example to demonstrate how they can be
done since they are one of the most
common parts of an industrial machine.
28
Shares
Back to tutorials