Siemens CPU315-2PN/DP communicating BW500

recycled_mind

Member
Join Date
May 2007
Location
Cebu, Philippines
Posts
118
Dear All,

May I know if anybody here has a set-up like this? A siemens CPU315-2DP communicating with Siemens BW500 Belt weigher integrator over profibus dp. Can you share how can I extract totaliser and flow-rate data from the BW500? What specific adress should I call?


Thanks,
Alex
 
Last edited:
I finally capture the data coming from BW500 weigher integrator. Using a data block, I was able to store the flowrate and totaliser data into my CPU315-2PN/DP CPU.
What is my problem now is how to be able to display the actual reading of the BW500 integrator into the PLC CPU?
Example, The BW500 weigher integrator flowrate is stored in DB2.DBD2
Flowrate is DINT data type
On the BW500 weigher integrator, the actual flowrate is 35.123 t/hr
I can capture only a value of 35123 into my PLC and stored to DB2.DBD2
Anybody can help me on how to manipulate this data so that decimal point will be readable to DB2.DBD2?
What S7 instructions should I use? I'm trying to use DIV_I by dividng the raw data (35123) by 1000 but it can't indicate the decimal places. The result will be rounded off to 35.
Please help if anyone knows.

Best regards,
Alex PS
 
Di_r

Use the conversion Double Int to Real and then use DIV_R by 1000.0 to get it into a floating point number that you can use...
 

Similar Topics

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,624
I have never installed a brand new CPU before. But, I need to take an existing project from a CPU315 and put it in a CPU319 because we are...
Replies
13
Views
3,092
Hi, I need to make a change in the Hardware Configuration of a Siemens CPU315-2 2PN/DP. But I'm not able to download the modified configuration...
Replies
2
Views
2,024
Hi folks, I could really use some help - I am trying to connect CP340 with my PC by RS232 protocol. I need to send some characters to PC from...
Replies
0
Views
1,896
I'm using a CPU315-2 DP and I can't find any information in the manual regarding the analogue current outputs, such as the addresses and which...
Replies
6
Views
1,829
Back
Top Bottom