Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
To understand the heart and mind of a person, look not at what
he has already achieved, but at what he aspires to do.
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
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Automation List department...
Sub Routines
Software in Automation topic
advertisement
Posted by Norman on 23 February, 2008 - 10:17 am
I would like to know how to put a repetitive command into my program using a sub routine.
I use GX Developer.

I have a hydraulic press with 4 rams on and I want to the delay the ram at end of stroke for say a second before it returns,there's got to be a better way than creating a list of timers for each ram.

Can I not just call one subroutine each time?
If so where do you write the sub and how do you call it?

Grateful of any suggestions

Norman

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, PostgreSQL and Apache. Be happy.

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