Siemens 315 2DP comm. with Danfoss drive

manmeetvirdi

Member
Join Date
Oct 2004
Location
India.
Posts
750
Hi there,
I'am writing a program in Simatic Manager( CPU 315 2DP), which comunicates with Danfoss drives (VLT 5000) via Profibus DP.
In hardware configuration I have selected PPO type 5.

I have written these lines to read data from drive.

CALL SFC 14 ;Reads data from Standard DP Slave.
LADDR :=W#16#178 ;Address of Drive
RET_VAL:=#temp
RECORD :=P#DB10.DBX20.0 ;Place where data is bing stored.

My question is in which Word will the value of Frequency get stored ?????
Will it be DB10.DBW20 or DB10.DBW30 ? or some other location?

Thanks in advance for your time,
Regards,
Manmeet.
 
I once came across the same problem but ended up using the simplest PPO where you send and read the frequency and control words. If you animate the VLT from your hardware configuration you will be able to see the word and vary both the control and frequency.

Good luck
 

Similar Topics

I'll preface this by saying this is the first time I've worked on a Siemens system and I'm fairly unfamiliar with them. I might mess up some of...
Replies
29
Views
808
Hi We were having a few power cuts and the CPU would not work. I had to reset the memory and he CPU would read from the memory card and start...
Replies
13
Views
3,202
Dear Sirs, I had a problem with CP 343-1 with CPU315-2DP.I had newly add the CP343-1 Ethernet module to the hardware to allow me to access this...
Replies
5
Views
2,647
Hello Experts I have a little problem in dealing with addresses. I am using a profibus absolute encoder Hengstler make. This encoder is spec2:64...
Replies
11
Views
4,369
Hi All, One of our clients wants to replace some obsolete VFD's on their plant. There are two S7-315-2DP plc's and drives are connected via...
Replies
2
Views
3,479
Back
Top Bottom