Siemens 545 (Simatic 505 Family) Help - How to program a simple totalizer??

alcurtis

Member
Join Date
Mar 2006
Location
San jose California
Posts
2
So, I have a Siemens model 545 (TI) PLC. I need to program a simple totalizer but cannot find any reference material to get me started and Tech Support is having difficulty finding a resolution. Is it that hard?? Can anyone help me? Analog IN WX is 4-20 ma, 0-100 GPM.Is there a simple calculation ie: SFPGM, Scaling Block ect?
 
It depends on how accurate you need to be. A simple piece of Logic with a one second timer and a calculation block. Once a second you would perform the following calculation:

X = X + (Y/60)

Where:

X = Flow Total in Gallons (Floating Point)
Y = Current Flow Rate reading from your Analog in GPM (Floating Point)

You would probably want to pick a reasonable rollover point and
write a piece of logic for the following:

If X > 999,999 then X = (X - 1,000,000)

Assuming the rollover point you pick is 1,000,000.
 
Thanks a bunch HLeap. I figured it was simple calc but needed some help to get started. I don't think the total will ever reach 1,000,000 on a monthly schedule so rollover is probably not needed. Based on the PLC clock for 30 days, I'll simply move the value to a register for "previous month total" and then reset for "current month total" to start new totalization.

Thanks again.
 

Similar Topics

I am working with a Siemens 545 PLC and the MODNIM Modbus module and I am trying to figure out if the module is a Master or Slave. It does Modbus...
Replies
6
Views
1,821
I need to interface some Beckhoff remote I/O racks with a TI 545. How have you done it? I am thinking of Ethernet via a Beckhoff 9100 TCP/IP comm...
Replies
2
Views
2,252
Hi everyone. We have a problem with a TI/ Siemens 545 processor That has sat outside unpowered for a year or so. It powers up, but is not in RUN...
Replies
5
Views
3,396
I'm wondering if anyone has any insight into Siemens communications and may be able to help me with a communications problem I'm having? I have a...
Replies
4
Views
4,203
ive tried searching my documentation and I cant seem to find anything on this fault. I am sure it is a processor fault of some sort, as it looks...
Replies
5
Views
2,838
Back
Top Bottom