Siemens RTM instruction

kalabdel

Member
Join Date
Feb 2015
Location
Ontario
Posts
1,108
Hello everyone,


Following a thread about hour meter I contacted Siemens tech support to finally ask a question I didn't have an answer to:
Where is there a limit on the number of Runtime counters for RTM instruction. The reply was ignorant, dismissive and flat out hostile. (I have been planning to switch away from siemens anyway)



Does anyone know why the limit?
 
S7-1214C 6ES7214-1AG40-0XB0


I believe the limitation applies to all CPUs but I think the number (as in how many) differ.



Thanks
 
This used to be stated in the technical specification of the S7-300 CPUs (ex: CPU 312C has only 1 runtime meter)... but I cannot for the life of me find it for the S7-1200.

The only thing I found so far is:

"The CPU operates up to 10 runtime hour meters to track the runtime hours of critical control
subsystems. You must start the individual hour meters with one RTM execution for each
timer. All runtime hour meters are stopped when the CPU makes a run-to-stop transition.
You can also stop individual timers with RTM execution mode 2."

Page 344:

https://cache.industry.siemens.com/...95681/v1/s71200_system_manual_en-US_en-US.pdf
 
So here's the scoop-
10 is the limit because that is all you have (at least with a 1200)

I started with 0 and went to 9- at 10 is the error

Below info- from the manual

NR Input

I, Q, M, D, L or constant
Number of the operating hours counter

Numbering starts with 0.






Parameter RET_VAL



Error code

(W#16#...)
Explanation

0000
No error

8080
Wrong number for the operating hours counter

8081
A negative value was passed to the PV parameter.

8082
Overflow of the operating hours counter

8091
The MODE input parameter contains an invalid value.

General error information
See also: Evaluating errors with GET_ERR_ID

rtm.jpg
 
Last edited:
Thanks gentlemen.

Why only 10? That was the reason I contacted tech support to have an understanding of why. Is it software or hardware limitation?
There limits on high speed counters, why? Because they rely on hardware and each CPU has different limits and hardware design.
There's limit on the number of block, why? Because there require memory and there finite amount of that?
Ett
 
Tech support doesn't design them- just supports them

Ive told customers before "I dont answer why questions"



Appears to be what is put in the firmware
 
Tech support doesn't design them- just supports them

Ive told customers before "I dont answer why questions"



Appears to be what is put in the firmware

I would never ever say anything like that to a customer. I have way to much respect for them.
 
There is no reason for it. It was an arbitrary limit arrived at by the firmware developer probably because they have 10 fingers and couldn't see why anyone would need more than 10 instances. At least if they would have made the limit a multiple of 8 it would have felt better.

To JRW's point, Siemens (or Rockwell or Schneider or Omron, etc) are so big that the guys as the tech support level are so far separated from the development guys that there was zero hope of him being able to answer your question. Granted, just because his dog whizzed on the floor before he left for work today is no reason he shouldn't have replied professionally. But in the end you hit a guy with an unanswerable question on a bad day. It happens everywhere sometimes.

Keith
 
There is no reason for it. It was an arbitrary limit arrived at by the firmware developer probably because they have 10 fingers and couldn't see why anyone would need more than 10 instances. At least if they would have made the limit a multiple of 8 it would have felt better.

Keith

I’m sure there is a good reason... accuracy, writing hours to mmc etc ...after 10 rtm’s

There’s a library with a run time block on the Siemens website for 1200/1500 For downloading
 
Originally posted by JRW:

I’m sure there is a good reason...

Well, when you find out what it is be sure to come back here and update this thread. Inquiring minds, you know. I just find it pretty hard to believe that a PLC family that is supposed to be able to run circles around Rockwell's best is so strapped for processing power or memory that it can't keep track of more than 10 time delta sums at a time. So if it wasn't for performance or memory reasons, what does that leave?

Keith
 
You guys sure are over analyzing this.
Why was 16 profinet devices picked for a max on a 1200?
You can go on forever...
It’s a system block (RTM), write your own Run time meter and go on your way
 

Similar Topics

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
4
Views
74
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
277
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
96
Hi everyone hope you'll well. Is it possible for me to download a Crack version of tia portal v13..sorry to say this but the software is very...
Replies
5
Views
192
I have established an online connection to a machine using an S314 processor. I am using an mpi connector and simatic manager. The online...
Replies
11
Views
214
Back
Top Bottom