You are on page 1of 69

PROCEDURE TO CONTROL DRIVES

THROUGH PLC
Create a New s7 Project
Give appropriate Name to your
Project
insert s7-400 into your
Project
Configure the Hardware
Insert sinamics G120 into
the Profibus DP Master
Drag and drop
appropriate drives
into profibus DP
Master
Give profibus address for drive.
Select the correct version of drives
Select standard telegram 1,pzd-2/2
For basic programming
Now we have succesfully inserted drives
Save and compile and check
for no error
S7-400

Sinamics G120

Now the structure of your program


looks like this
Hardware connection between PLC and
Drives:

Connect the profibus cable from plc to drives


Connect the MPI to USB adapter to pc
Set pg/pc interface
Click accessible node and check for
proper communication
Sinamics G120

s7-400
Click on commisioning,it will open
starter software
Close this window
Start configuring drive unit
Select the appropriate
parameter of your
Power unit.
And then click
next
Select finish
Now control unit appears

Select configuration
Click on wizard
Select voltage and freq
control

Click next
Select your motor type
Type your motor data
From Name plate
Set the parameters
Select complete
calculation and click
next
Click on interface
Select s7online

Select ok
Check for this changes
Controlling drives through PLC

Normally Drives Consists of Four Words


1.Control word(pqw512)
2.Status word(piw512)
3.Speed setpoint(pqw514)
4.Actual speed(piw514)

Control word:
we are transmitting control word from plc to drives.
for e.g., giving command to start,stop,fwd,rev.

Status word:
we are receiving status word from drives to plc
for e.g., receiving status whether the motor is in start/stop mode,
whether motor is rotating in forward/reverse direction.
Speed setpoint:
we are giving the speed setpoint from plc

Actual speed:
we are receiving the actual speed from drives.

Note:
for a speed control
max pqw514 value is 16323.
Pqw 512 is control word
given by us through plc

Speed setpoint from plc


Status word from
drives to plc
Actual speed
received from drives
Download the program into plc
Speed
setpoint(md 108)

Command
Control to drive
word(mw 100)

Actual speed(md116)

Status of
drive
Status
word(mw 200)
Initially this 7 bits of control word
Should be ON for starting motor

This bit is fault ack bit.


If any fault occurs in the drive
We can ack by on/off this bit.
How to go online with drives:

1.select the drive you configured.


2.right click on it
3.select – connect to target device.

Checking drives:

1.select commisioning.
2.click on control panel
3.small window appear below
4.click on assume control priority.
5.click enable
6.set rpm and select start.
Settings:
The following settings has to be changed in starter software.

p700-command source selection


for giving setpoint through plc via profibus.
fieldbus has to be selected.

for giving setpoint through terminals.


terminals has to be selected.

p1000-speed setpoint selection:


for giving setpoint through plc via profibus.
fieldbus has to be selected.

for giving setpoint through terminals.


terminals has to be selected.

P971-save parameters:
after changing the parameters
select save drive project.
Right click and connect to target device
Green color indicates it is online
without any fault.
Speed set to 500

Motor command
if m100.3
0-rotate fwd
1-rotate rev

MOTOR STATUS
if m200.6
1-ind fwd rotation
0-ind rev rotation
Motor is rotating in 500rpm
Indicates motor
rotating in fwd
Indicates motor rotating in rev
Drive navigator:

Drive navigators is used to configure the drive parameter easily.

It is a picturised view of parameters.

changing the parameters in drive navigator is nothing but changing the


parameter in expert list.
Inputs/Outputs:

the six digital inputs are given here.


we can assign start/stop, jog fwd,jog rev,fixed speed setpoint etc.,

here we assign 2nd bit as jog fwd


3rd bit as jog rev
4,5,6th bit as fixed speed setpoint(100,200,300)

Setpoints:

drives have two setpoints


1.main setpoint
2.supplementary setpoint

Main setpoint:
we are getting from plc(profibus)

Supplementary setpoint:
we can use analog potentiometer r755(0)
or we can use fixed speed setpoint
Setpoint from plc (profibus)
Supplementary setpoint
We can vary rpm through
potentiometer
O U
K Y
A N
T H

You might also like