1/31/2012 11:02 PM | |
Posts: 15 Rating:
|
Hi everyone Ive created a new shared DB in an ASPLCfor a WinCC client to send data valuesto. I have switched on the 'S7_m_c' attribute in the DB's object propertiesas well as the special object properties - attributes tab selection. When I compile and download the changes to our WinCC server, the only related connections to this DBin WinCCare text connections #block and #comment which appears torelate tothe fields for the 'special object properties' selection. What Im trying to do islink the DB's addressedvariables (Ive only declared 6 real numbers at this stage) to WinCC soWinCC can recognise the linkingand sendvalues down from client PC to the PLC as requested. Ive noticed that I can right-mouse on a DB variable and under its properties tab the window for assigning attributes is there but I am unable to select anything - no choices available. Now Im not sure as yet ifI can send values to the DB from the client PC, maybe the link is alreadythere but I would have thought the DB variable tag would need toappear in the WinCC tag list under named connections....maybe got that wrong. Any assistance greatly appreciated. |
2/1/2012 2:08 PM | |
Posts: 510 Rating:
|
I have attached a document with screen captures that document the process I went through to achieve what you are trying to do. In Step 7 V5.4 SP4, you have to type in the "S7_m_c" and the "true"in the object properties for the items in the DB. I typed in the first one, copied the line and then pasted it in for the other 5. If you have a lot to do, I usually do one, generate the source file, edit the source file to copy and paste the rest in. When I am done I compile the source I hope this helps. billwest
AttachmentOCM.pdf (311 Downloads) |
This contribution was helpful to
1 thankful Users |
2/2/2012 11:25 PM | |
Posts: 15 Rating:
|
Yep that did it alright you solved it! I did go as far as type in the S7_m_c for one of the variables earlier but noticed that while doing that it was in red - error - but if I carried on I would have been OK. I thought the dropdown list would have populated with available sources. Anyway thanks very much for your help very much appreciated. I can see the variables in WinCC no problems. |
This contribution was helpful to
2 thankful Users |
3/1/2012 2:53 PM | |
Joined: 4/20/2009 Last visit: 3/31/2025 Posts: 2 Rating:
|
Don't forget that the "s" in S7_m_c must be capital "S"
|
This contribution was helpful to
1 thankful Users |
Follow us on