Profibus/PLC Addressing in S7-315

31415927

Guest
3
I have an application were a s7-315 PLC must communicate
with a Masterdrive ac inverter through (CBP) Profibus. I set up
DB150 for sending/receiving data to the drive. I specified
the first word in DB150 as the (PZD1) control word. Now
for example if I wanted to turn the drive on. Biconnector
3100 would have to be set. So I would set bit DB150.dbx0.0?
or DB150.dbx1.0? I have an old example here I am confused
because dbx1.0 is used. Is this a case were the bits are
"flipped" around like the alarms in Pro Tool Pro?
 
Yes, the bits are swapped. Here is the control word I formulate for a MasterDrive with the telegram starting at DBW0:

A #FaultReset
= DBX 1.7

A bStartDrive
= DBX 1.0 //Drive ON/OFF1 command
S DBX 1.1 //Drive OFF2 command
S DBX 1.2 //Drive OFF3 command
= DBX 1.3 //Drive ENABLE command

SET //Force the other control bits
S DBX 1.6 // Setpoint enable (bit 6)
S DBX 0.2 // Control from PLC (bit 10)
S DBX 0.3 // Forward speed release (bit 11)
S DBX 0.4 // Reverse speed release (bit 12)
S DBX 0.7 // No external fault (bit 15)
 
If you look under the "downloads" section on this site, a masterdrive function is available. Just download the file and retreive in to Step 7. This block may save you a couple hours of head stratching.
 

Similar Topics

Hi All, I am facing one issue with the SEW MDX61B drive. Issue- I want to run a conveyor with this drive in two directions but it runs in...
Replies
0
Views
336
Kindly, we are trying to go online on an S7-300 plc, with profibus communication, using a CP5711 adapter. But when we open the Ladder and press...
Replies
0
Views
778
Hi, I have a doubt about the system architecture shows below: could two master devices install in same profibus network?
Replies
4
Views
2,644
Dear Sir, I have a healthy profibus communication between SIEMENS PLC S7 400 and Allen Bradley drive PF700 using 20-comm-p profibus dp module...
Replies
3
Views
2,809
Hello, I have not programed plc wtih profibus communication yet, so If anybody has any idea how to please help. So I use PLC CX2020 and program...
Replies
5
Views
2,349
Back
Top Bottom