7/15/2015 3:57 PM | |
Posts: 1 Rating: (0) |
Hi. I have s7-1200 1214 dc/dc/dc fw v4.0 and siwarex 231 fw v1.0. I downloaded "TIA Portal V13 function block library for CPU V2.2, V3.0 and V4.0" from:
I included function block in my Main[OB1], typed required values(ADDR,HW_ID and DB NO), but current process values(net process weight,gross process weight etc.) are still 0. Sorry for my english AttachmentScreenshots.zip (231 Downloads) |
Last edited by: rafaldo at: 7/15/2015 4:00:07 PMLast edited by: Min_Moderator at: 7/15/2015 4:08:52 PMMove screenshots to attachments |
|
7/28/2015 4:34 PM | |
Posts: 206 Rating: (22) |
Hi Rafaldo,
if you want to see actual data in DR30 you have to read first the DR30. This won't be done automatically. How to read a DR you can find in the manual chapter 11.1.4. If you have a look to the "s_IO_DATA" structure of the DB you find the "dw_PROCESS_VAL_x" here you find two actual values that you can define in DR 14. All values in the data in the "s_IO_DATA" structure will be updated cyclic without doing anything. In the Ready for use" project https://support.industry.siemens.com/cs/ww/de/view/66825585 , in OB30 you find the possibility to read DR's cyclic. Regards ABenno |
Follow us on