Siemens RTM instruction

The S7-1200 CPU operates ten RTMs (Run-Time hour Meters). The NR input parameter to the RTM instruction determines which of those ten that instruction uses. Since the value of NR is the same, i.e. 0, on all of the RTM instructions in the program, the CPU uses the same, i.e. only one, run-time hour meter for all of those instructions.

So when you wrote "I have more than one RTM in my program," you should have written "I have only one RTM in my program" instead.

The PLC cares not a whit what we want it to do, but it will mercilessly and inexorably do exactly what we tell it to do.

The only thing worse than the PLC not doing what we want it to do is when it does exactly what we tell it to do.
Thank you so much. Thanks Alot. I got it. I am using 4 RTM in one CPU. And I give all them 0 NR. Thats why it was happening. Now I gave them 0, 1, 2, 3 like this. Now its fixed.
 

Similar Topics

Good morning, all I am very new to siemens family and to STL, i have been playing for two days now and manage to get the scaling do in STL. Now...
Replies
3
Views
73
Hi! What is the way to convert the code from the Codesys code to the Tia Portal? Regards, WK
Replies
4
Views
124
Good Afternoon , It has been decades since I have done anything with Siemens . What is the Siemens name of their Servo Product Line and what...
Replies
10
Views
218
I'm using the Siemens PRONETA software to do some IO testing currently. I love the simplicity and fast testing capability. Does anyone know about...
Replies
0
Views
94
Hi, First time user of S5 Siemens. Is there any solution on how to solve this kind of error. HMI OP7 $613 DB-error No. 11 (0: 15) Siemens PLC...
Replies
9
Views
178
Back
Top Bottom