11/22/2009 10:05 PM | |
Posts: 15 Rating:
|
hello! i have a problem with tag list. maybe i do not really understand the logics but let me explain. i have configured one output field in which i would like to display five different texts depeding on the state of a system. i've also made a text list starting with 1 and ending with 5 (talking about number that is before text, don't know the definition of this numer. maybe it is a bit?), 1 should be for example sistem in stop. 2 is sistem running, 3 is sistem error... etc. my idea is to write to db1.dbw0 an integer number which changes from 1 to 5 according to system state. then, i made a tag wich reads from db1.dbw0. data type is integer. am i making any sence here? hope so. my problem is that even if number changes from 1 to 5 in db1.dbw0, my output field only displays two states. one is empty field, and one is with text behind number 1. hope anyone can help. if this doesn't make sence to anyone, i will make screenshots tomorrow and will upload them here. i would be very grateful for any help! Attachment3screenshots.zip (20 Downloads) |
Last edited by: q-man at: 11/23/2009 8:39 AMso, another day has come and no help arrived. as promised, i will put three screen shots so anyone who might have the knowledge to help can have better info. on the screenshot named output_field is shown which type of field i''''''''m trying to use and how have i configured it. on the screenshot named text_list is shown which texts i am trying to display in the field mentioned just above and how is all aranged. on the screenshot named tag_text_list is shown which tag am i trying to use to display one of this five texts and how have i configured it my idea is to use integer value from 1 to 5 to address text from text list with number 1 to 5 in front ot the text. for example - if db1.dbw18 has integer value 3, i want to display text after the number 3 in text list. forgot to tell - i am using CPU315-2DP and TP170B mono, and program is made in step7 ver 5.4 + sp2 and winCC 2005 sp1. i believe that here is somebody who can help me. many thanks! |
|
Follow us on