8/18/2007 8:41 PM | |
Joined: 1/7/2006 Last visit: 2/16/2023 Posts: 2705 Rating:
|
Dear Cris, Hereby a small FunctionBlock to count a input over some time. The block have to be called in a Time-OB and must at least 4 time as fast as the input is switching. The time have to be given also on the block and is calculated by dividing the to measure time by the call-time of the time-OB. When it is a small pulse then you could measure that one in OB1and make the puls some longer with a off time. The program could be made of the configuration file and after that read in the symbolic file, after that you could read in the AWL file and compile that one, AttachmentSimatic Count.zip (102 Downloads) |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
Follow us on