1/24/2010 11:29 PM | |
Joined: 5/18/2006 Last visit: 10/21/2020 Posts: 170 Rating:
|
See attached. The key here is to use the IN_OUT function of the OP_A.U parameter (note need to modify S7_link attribute to true). The U parameter only writes backwards (i.e. move functionality)when written to inside the block. This happens when the LINK_ON is true, writing the LINK_U value to the U parameter. Which in-turns writes to the data block. When LINK_ON is false the U parameter just reads the data block, so the value can then be changed freely by WinCC/HMI. For your case DB10.DBD0 would be connected to LINK_U and DB20.DBD14 would be connected to U. cabreytj AttachmentCFC Move.pdf (1032 Downloads) |
Last edited by: cabreytj at: 1/25/2010 4:37 AM |
|
1/25/2010 3:04 PM | |
Joined: 3/25/2008 Last visit: 4/17/2025 Posts: 240 Rating:
|
thank you a lot !!! working, but i don't know how to do to change attribute "s7_link" ... |
1/26/2010 11:19 AM | |
Joined: 3/25/2008 Last visit: 4/17/2025 Posts: 240 Rating:
|
great ! now it's all ok thank you |
9/30/2019 8:03 AM | |
Joined: 5/3/2017 Last visit: 2/6/2025 Posts: 673 Rating:
|
Hello AutoGen_1048067, this post is from a old PCS 7 Version, so the PCS 7 V7.0 Library with the block OP_A (FB 45) was used. Why do you want to move the real value? The application example Fast archiving of process data in SIMATIC PCS 7 with AR_SEND offers a solution for transfer the data from the AS to WinCC via variable trigger. With regards |
Follow us on