Hi,
I have an MP270 with an existing configuration that needs lots of modifications. The source files are unavailable. So I must start from scratch.
My idea is to stop the PLC (S7-315 2DP) so that no data values are changing (Except the clock byte I think?) and then look for changing values in the PLC when I manipulate HMI objects.
What would be the easiest way to do this?
The PLC code is largely un-annotated, and I know that the HMI tags are spread across lots of DBs and M memory.
I know I can monitor each DB in turn and create VAT tables to look at the M area, I know that it will be usefull to annotate the PLC code to aid the detective process, but I am looking for any shortcuts, i.e. Maybe I could write some PLC code to inform me what DB and DBD/DBW/DBB/DBX has changed its value (I feel another thread starting!)
Another idea is to delete DBs one by one and see if the HMI complains, and so determine which DBs have HMI tags. (Will the HMI complain immediately when a tag becomes unavailable in the PLC, or only when it tries to write/read it, or only if ths currect screen contains an unavailable tag.?)
Any suggestions or advice much appreciated. Someone must have done this before?
I have an MP270 with an existing configuration that needs lots of modifications. The source files are unavailable. So I must start from scratch.
My idea is to stop the PLC (S7-315 2DP) so that no data values are changing (Except the clock byte I think?) and then look for changing values in the PLC when I manipulate HMI objects.
What would be the easiest way to do this?
The PLC code is largely un-annotated, and I know that the HMI tags are spread across lots of DBs and M memory.
I know I can monitor each DB in turn and create VAT tables to look at the M area, I know that it will be usefull to annotate the PLC code to aid the detective process, but I am looking for any shortcuts, i.e. Maybe I could write some PLC code to inform me what DB and DBD/DBW/DBB/DBX has changed its value (I feel another thread starting!)
Another idea is to delete DBs one by one and see if the HMI complains, and so determine which DBs have HMI tags. (Will the HMI complain immediately when a tag becomes unavailable in the PLC, or only when it tries to write/read it, or only if ths currect screen contains an unavailable tag.?)
Any suggestions or advice much appreciated. Someone must have done this before?
Last edited: