Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
%DCL-MEM-BAD, bad memory
VMS-F-PDGERS, pudding between the ears
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Automation List department...
Siemens S7
PLCs and related questions. topic
Posted by Morteza on 24 January, 2008 - 12:39 am
Hi dear masters.

I have a problem that I need to use a CD counter which has an output like q0.0 and gets input from an input like I0.0. The PV value is set from Operating panel like MW100. How can I give a number like 1435 or 1400 or etc.? It can only count up to 999 pulses.
Is there any cascade circuit or program to solve it? Really I'm an amateur in it.

Thanks.


Posted by Rene Venter on 24 January, 2008 - 10:42 pm
Hi Morteza.

I am not too sure if I understand correctly, but the way I see it is that you want to load a value of i.e. 1400 into a memory word. Then you have a device that gives out a pulse, and after 1400 pulses, you want an output to be switched? If my understanding is correct, then you can use a Count Down timer (S7-200 counters can take a value of up to 32767), which you pre-load with the value of MW0, and which will count down a value of one each time the input goes high. As soon as the counter value gets to zero, the Counter bit will turn on. In your next segment you can then say: If C1 (Counter 1), then Q0.0. I have added an example.

If this is not what you had in mind, please explain it again.

Rene Venter
Emenem Industrial


Posted by Robert D. Wagner on 24 January, 2008 - 11:15 pm
You can use the IEC counter instead of the standard S7 counter function. Load it from the function block library.

Plug On!
Robert D. Wagner, P.E.


Posted by David Adams on 31 January, 2008 - 1:32 am
You might want to look at SFB0.

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!