Can someone please explain to me how to use a counter in siemens S7

Dave85

Member
Join Date
May 2011
Location
Florida
Posts
13
Can someone please explain to me how to use a counter in siemens S7. After reading and simulating both the up and down counters in S7, they work totally different compared to counters in allen bradley RSlogix 500-5000. For up counters in S7, once the count is greater than zero the ouput (Q) is engerized. This means the counters does not turn on once the preset value is reached for example if the PV is 10. So how can I use counters in S7 or what's the purpose of using counters because they don't turn Q(output) on once the preset value is reached as in RSlogix 500-5000?
 
Use the IEC compliant counters from the standard library rather than the built in counters. Highlight the instruction/block and then Press F1 to get help.

sfb0.jpg
 
It leads me to ask Why are there standard counters if they are impossible to use
 
Can someone please explain to me how to use a counter in siemens S7. After reading and simulating both the up and down counters in S7, they work totally different compared to counters in allen bradley RSlogix 500-5000. For up counters in S7, once the count is greater than zero the ouput (Q) is engerized. This means the counters does not turn on once the preset value is reached for example if the PV is 10. So how can I use counters in S7 or what's the purpose of using counters because they don't turn Q(output) on once the preset value is reached as in RSlogix 500-5000?

In Step 7, if you use the standard counter, you would normally use a count down and monitor for the counter bit to turn off.
 
If I say, that those counters and timers are called s5 timers and counters, you get the picture. Legacy burden that should not be used in new programs, rather use IEC ones.
 

Similar Topics

How can the address in the picture work in the Fuji D 0304-E and not work with the Weintek HMI how does it use the -E because in the PLC program...
Replies
10
Views
2,959
Hi all, I'm struggling to understand a bit of code at the very start of an FB. OPN DB 100 AN M215.5 L DBW 452 L 1 +I T DBW 452 = M 215.6...
Replies
12
Views
2,721
What is the difference between " Type 1 and Type 2 Contactor(Magnetic Relay)? From my little brain I know little : Where can we find some more...
Replies
20
Views
4,697
If a programmable controller controls the operation of a motor, what connects motor control to the PC? A) Line voltage B) I/O device C) Modem D)...
Replies
27
Views
6,955
I recently started getting "corrupted or low disk space" errors on all my backup panelbuilder32 files seemingly out of no where (been running ver...
Replies
2
Views
1,579
Back
Top Bottom