6/24/2010 3:08 PM | |
Joined: 3/14/2008 Last visit: 1/14/2025 Posts: 2158 Rating: (971) |
Hello guys, What I want: I have created a SCL source in PCS7 7.1. The SCL block copies values that a user puts in in Wincc. Its like a recipe file: An operator can set five values and each value is connected to SP_EXT (external setpoint) of a PID controller. I created the scl block and created a faceplate, using the designer in wincc. In order to know which value is connected to which PID, the text.value has to be changed. I'm using the block a few times, and each time, the text.value is different and thus must be changed automatically. How can I achieve this? So for unit 1, text1.value = TIA2101, text2.value = TIA2102 etc. So for unit 2, text1.value = TIA3101, text2.value = TIA3102 etc. and so on... I may now a way: 1. Make a case: for unit 1-->text1 : STRING; = 'TIA2101', for unit 2--> text1 : STRING; = 'TIA3101' Is there a easier, better way? |
If I could help you, you can use the RATE button. Thank you. |
|
6/30/2010 7:45 AM | |
Joined: 3/14/2008 Last visit: 1/14/2025 Posts: 2158 Rating: (971) |
Hey Phantom, I wasn't aware of these "radio" buttons.. I'll figure out what to do with them. Thx EDIT: Found an easier way: 1.In SCL source, create an input with system parameter "S7_m_c". 2. Declare input as a STRING type 3. From wincc explorer, open picture: @pcs7_batch 4. Copy the text field behind the static text: "name" (its is to display the name of the batch) 5. In properties, userdefined2, change value attribute to your input (example: .Name1) Now I can change/add namesof everyindividual blockin CFC editor. Don't know how your can design it yourself, but this worksfor me EDIT 2: PCS7_AnalogValue3 works fine too.... |
Last edited by: Oreca at: 6/30/2010 8:25 AMLast edited by: Oreca at: 6/30/2010 8:11 AMIf I could help you, you can use the RATE button. Thank you. |
|
This contribution was helpful to1 thankful Users |
Follow us on