2/13/2024 12:19 PM | |
Joined: 2/13/2024 Last visit: 2/13/2024 Posts: 1 Rating: (0) |
Hi sir I am facing the problem in last couple of month count value(Reference value and set value ) automatically changed without any interrupt .During the machine auto mode running time . we could not find the exact root case . Please any one give the suggestion how to resolve this issue. We are using SIEMENS S7 1200 CPU , ------------------------------------------------------------------------------------------ |
Last edited by: The Helping Hand at: 02/13/2024 13:14:22New subject after splitting |
|
2/13/2024 4:07 PM | |
Joined: 7/7/2010 Last visit: 5/17/2024 Posts: 14751 Rating: (2374)
|
Please post a screenshot of the logic you think is changing the values. Then create a GLOBAL DB, maybe call the DB Tags. In that DB, add Month_Count_REF and Month_Count_SET with the proper datatype for your problem. Replace the current Ref and Set value tags with the new DB Tags.Month_Count_REF and Tags.Month_Count_SET everywhere they are used. In OB1 (Main), add 2 networks after the current last network. 1st network: Compare values for Tags.Month_Count_REF and the prior tag used for ref value, and if they are different, SET a (new) bool tag. Also, compare values for Tags.Month_Count_SET and prior set value. Again, if they are different, SET a (new) bool tag. 2nd network: Now, you will know the source of the problem is either bad tag definitions for the M-tags for Set and Ref, or a LOGIC problem. If you sort your entire PLC tag table by address, then scroll to the tags used for Set and Ref, there should not be any YELLOW or highlighted tags in the table - unless you are aware and intentionally doing it - and certainly not for the set and ref value tags.
|
science guy |
|
Follow us on