Profibus from CPU 314C - 2DP to SIMOREG 6RA70

SHYAMAL

Member
Join Date
Aug 2007
Location
DHAKA, BANGLADESH
Posts
53
Dear all,



I have some confusions on communication with CPU314C – 2DP to SIMOREG 6RA70 over Profibus.



  • As we know that according to PPO4, among 6 words (PZD1 to PZD6) PZD1 and PZD2 are for control word / status word and main reference value / main actual value. If I want to send data to the control word by the instruction T PQW 256 (say addr. 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266 & 267 are available in Hardware Configuration for PPO4), then do I need to make the parameter P648 in the drive equal to 3001?
  • Similarly, if I want to send data to speed ref by the instruction T PQW 258, then do I need to make the parameter P443 in the drive equal to 3002?
  • If I want to send data to the control word 2, then what address is to be used?
  • Please note that I am not using SFC 14 and SFC 15 for data transfer. I want to transfer data with Load and Transfer instruction.




Please help me to make it clear.



Thanks.



Shyamal

 
It sounds like you've got the right idea, K3001 is the first word in the telegram K3002 is the second an so on.

I would strongly urge you to use SFC14/SFC15 to communicate with the drive. Have your program read and write values from / to a data block and use SFC 14/15 to tranfer data with the drive. Reading and writing directly to the drive may cause data consistency errors which can be almost imposible to diagnose!
Nick
 
Dear Nick,


Many thanks for your reply.


To read status word 1, is it required to set the parameter of the drive U734.01 = 32 (K0032, connector of status word 1) ?



Can I connect the 3rd PZD connector K3003 to 2nd control word?



Could you please help me in this regard?



Shyamal
 
Shyamal,

You'r right. U734.01 determines the source for PZD1 (first word of telegram) U734.02 is for PZD2 (second word of telegram0 and so on.

By Default U734.01 is set to 32 (status word1), U734.02 is set as K167 Actual Speed. You might want to set U734.03 as K115 Actual armature current and U734.04 is set to K33 Status word 2 by default.

The source for control word 1 can be set in Paramer P648 or you can control individual bits for Off1, Off3, Off3 Etc.
The source for the second control word can be set by parameter P649 if you really want to control it directly from the PLC.

Nick
 
please my friend
iI want send data from CPU314C-2DP siemen(dpsalve) to foxboro
by the instruction ( L MW 200 and T QW200) or ( L MW XX and TQWXX) that make sofware fault" SF " in my cpu i finshed the hard ware configuration but ican transfer data to it
NOT i have 3 cpu314c-2dp are DP slave to the Master is FOXBOR
the address are 50,60and70
the comuncation is Proibus
thank my friend
 
cpu314c-2dp to foxboro

please my friend
I nee transfer data form cpu314c-2dp as dp salve to FOXBOR as a Master

iI want send data from CPU314C-2DP siemen(dpsalve) to foxboro
by the instruction ( L MW 200 and T QW200) or ( L MW XX and TQWXX) that make sofware fault" SF " in my cpu i finshed the hard ware configuration but ican transfer data to it
NOT i have 3 cpu314c-2dp are DP slave to the Master is FOXBOR
the address are 50,60and70
the comuncation is Proibus
thank my friend
 
please my friend
I nee transfer data form cpu314c-2dp as dp salve to FOXBOR as a Master

iI want send data from CPU314C-2DP siemen(dpsalve) to foxboro
by the instruction ( L MW 200 and T QW200) or ( L MW XX and TQWXX) that make sofware fault" SF " in my cpu i finshed the hard ware configuration but ican transfer data to it
NOT i have 3 cpu314c-2dp are DP slave to the Master is FOXBOR
the address are 50,60and70
the comuncation is Proibus
thank my friend


Hello hussein;
Before we go deeper into the diagnostics of the CPU, try writing your code this way first:
L MW200
T PQW200
....

Normally Profibus-DP exchanges in the S7 CPUs go through the Peripherical addresses (PIW, PQW) and not through the Input/Output image tables (IW, QW).
Hope this helps,
Daniel Chartier
 

Similar Topics

Hello Experts, I have two system one ET200S and another CPU 1513- PN which are 300 meters apart. Now i want to share data between these to...
Replies
8
Views
2,475
Hi All, I have a project that lets me control a Movimot drive via Profibus DP. A quick search on google learned me that a lot of information...
Replies
12
Views
2,760
Experts! Advice required S7300 CPU 2 DP 315 Master Slave Profibus.(2 CPU) In My application I have to send data from Master to slave and slave...
Replies
0
Views
1,945
Experts! Advice required S7300 CPU 2 DP 315 Master Slave Profibus.(2 CPU) In My application I have to send data from Master to slave and slave...
Replies
0
Views
2,340
hi there its my firest time working with profibus and i have already install gsd and networked profibus in step7 hw config and inserted base...
Replies
2
Views
2,519
Back
Top Bottom