2/19/2017 8:20 PM | |
Joined: 9/27/2006 Last visit: 9/28/2025 Posts: 12428 Rating:
|
Hello kormotech; Actually, William_B proposed another solution, the Runtime Meter ( RTM) instruction for the S7-1200, in an earlier discussion. See this link: https://support.industry.siemens.com/tf/ww/en/posts/145356/
Hope this helps, Daniel Chartier |
This contribution was helpful to
2 thankful Users |
2/28/2017 7:11 PM | |
Posts: 5225 Rating:
|
Sorry, I cannot do any better than what the in-software documentation is doing. I suggest you download the SAMPLE FUNCTIONS LIBRARY. Many of the items documented in the in-software documentation is already coded for you in this code library. You can pull in the required instructions into an empty program and simulate it according to the HELP. The RTM is extremely difficult to simulate as the "counter" is in hours. Maybe try manipulating the time in the PLC to see if you have a measurable result. If you feel more comfortable to use your own code, then do so. If you publish that here, the forum can maybe try to help you debug what you started to design. Cheers. |
Follow us on