Good day all. I need to determine how much time has elapsed since the previous ladder scan in order to ramp a value based on time. I'm on my first venture into Siemens PLC programming, although I have worked with A-B products over many years.
When I have used Logix5k, there was the system clock tag with microsecond resolution that I could reference. I would be satisfied with millisecond resolution for my current application. Is there such a tag in S7? The only clock I have found in S7 are the clock memory bits and this won't do as they have 0.1s resolution.
I am using TIA Portal V13. PLC firmware is V3.0. My ramp will be in an FB which is to be called from OB1, if I understand correctly. Thanks in advance for your help.
When I have used Logix5k, there was the system clock tag with microsecond resolution that I could reference. I would be satisfied with millisecond resolution for my current application. Is there such a tag in S7? The only clock I have found in S7 are the clock memory bits and this won't do as they have 0.1s resolution.
I am using TIA Portal V13. PLC firmware is V3.0. My ramp will be in an FB which is to be called from OB1, if I understand correctly. Thanks in advance for your help.