8/22/2019 7:39 PM | |
Joined: 2/24/2015 Last visit: 1/25/2023 Posts: 306 Rating:
|
Block numbers should not overlap with the recommended - https://support.industry.siemens.com/cs/ru/ru/view/2771491/en PCS 7 Programming instructions for Blocks - https://support.industry.siemens.com/cs/ww/en/view/24449702 |
8/24/2019 3:03 PM | |
Joined: 4/28/2017 Last visit: 3/14/2024 Posts: 149 Rating:
|
Hi Vladimir007, First you need to complete your Data exchange programming activities, and Downloading of charts. Later that if somebody doing compilation and download on charts it won't affect your existing data exchange activity, But, If he is Downloading the Global DB from Blocks view it will rewrite your entire data, Also, Keep in mind that, When even you are modifying the DB I/O length (Add /Remove) will leads to entire compilation of your project. |
Note: If this post did really help you, you may use the "Rate" button to express your support, Thank you. |
|
8/24/2019 4:59 PM | |
Joined: 9/9/2015 Last visit: 8/27/2024 Posts: 727 Rating:
|
Hello Vladimir007, I am not sure whether I understand your question correctly or not, let me try to help. You are looking for an easier way to implement get/put totalized value in PCS 7 right? Here attached a method of mine for your reference. See the attached PDF. In PCS 7, normally we deal with a big system or important system which cannot afford a stop in PLC. So we should always use standard kinds of data blocks. if we modify data block, there will be a risk of not able to download/replace the online data block, causing a full download of PLC needed which means a stop of plc is needed. Hence, the get and put data block that you intend to create should be big enough with a lot of spares inside. But need to be exactly the same length as the S71500 data blocks. If the data blocks length is different from the one in your PLC, you might have a problem in communication. Then, you can use APL library, TotalL blocks FB1906 to build your totalizer values from flow meters. It consists of a lot of useful function like retaining the old data. Lastly, for the GET/PUT function, you can use SFB14 and SFB15 GET PUT. What I'm showing is achieving the function by using CFC, Continuous Function Chart which is normally what we used in PCS 7. Lastly, you can access the S7400 Sample block and program here. Sample program: S7 communication with the blocks SFB14 ("GET") and SFB15 ("PUT") with S7-400 And Other GET PUT information here Application for the "PUT" and "GET" Function Blocks of the S7 Communication Let me know if it is helpful for you. Thank you. Attachment20190824_HowToSendTotalizedValueViaGET_PUT.pdf (149 Downloads) |
Last edited by: JazTai at: 08/24/2019 17:02:21Please give me 5 stars Rating if my post is helpful for you. :) |
|
Follow us on