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

Hello to all, I'm just starting with using CodeSys. Immediately, I have noticed that Codesys doesn't use data blocks like for example S7 does...
Replies
5
Views
6
Hi, I'm setting up a modbus master on an S7-300. It seems to work in OB1 but not when I use it in OB35. Does anyone have any ideas why? Could...
Replies
10
Views
103
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
325
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
169
Hi need help why this “failure 5 emergency stop “ appears at every startup in the morning ? Have to shut off main switch at least 10 times on...
Replies
19
Views
323
Back
Top Bottom