Professional Documents
Culture Documents
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
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
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
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
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.
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:
Setpoints:
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