s7-300 pulse count

tulip

Member
Join Date
Oct 2005
Location
ist
Posts
236
How can I count product on conveyor?Because counter value of max 999.Must I connect a cascade of counters?thanks in advance...
 
Just use the rising edge of ur product sensor to fire an add integer instruction, you haven't specified what plc u are using ????
 
what do you mean that make a variable counter?

In DBxx make a tag called "counter" type Integer
Then, as Longhorn said, on the rising edge of your product sensor increment or add 1 to the tag "counter".
 
With Siemens I've always found the standard counters lacking. You can build your own counter similar to what has been described.

If you want your counter logic to look like a box to simplify things when you call it:

You can write the add instruction, compare instruction, reset instruction, etc in an FC using inputs & outputs declared within the FC. Then when you call this FC it will look like a counter box you'd get in Allen-Bradley.

If you need more help then holler back.
 
There is no practical limit as you can allocate the one-shot storage to bits in a DB - you will run out of space for the program long before you run out of space for the one shot stores.
 

Similar Topics

Hello dear members. I've been looking for a GSD file of a Litronic pulsregler with no success. I Cant even find a contact of the manufacturer. By...
Replies
3
Views
1,293
i am new at siemens plc . i used to work with AB plc where timers were very easy. Here i am confused with s7 timers. i want to create free...
Replies
5
Views
2,123
Help me. I want to create a PLC program Pulse width modulation (PWM) with Simatic PLC s7300. using SFB49. but I have never made it. is there who...
Replies
0
Views
2,568
i will be able to use a rotary pulse encoder model 1xP8001-1, in this time the swiching is too slow, and i don't need a fast i/o, I will be able...
Replies
0
Views
2,601
Hi, I just want to use a timer to make a pulse that lasts one scan (cycle) every, say, 1 second. That is, I want for example M0.0 to be '0' for...
Replies
14
Views
37,907
Back
Top Bottom