how to leave the subroutine

sietsema02

Member
Join Date
Apr 2005
Posts
2
Thanks for all of your help I just about have subroutines figured out. I'm using Versapro to program a VersaMax PLC and in the program I need to send the out put of the subroutine to a specific rung(s) in the main block. If you could lend me any help I would ge very gratefull.
 
Last edited:
what the hell are you talking about, be more specific and we can help you.
 
I haven't worked with this PLC but it sounds like he wants the return point after executing the subroutine to be some place other than just after the call point.
 
most plcs will have some sort of jump and label instructions but
this is rather very unpopular way of plc programming.
it sounds like you are new to plc programming and need some help...
 
The CALL function is used in Versapro toll call a subroutine.

I think you want to use a subroutine the same way as in a computer programming language as Basic, C or Pascal and It does not really work that way. Hard to explain but the manuals for the GeFanuc PLCs are fairly good. Do not look in the one for Versapro since it mainly describes the functions in Versapro, not the PLC.
 

Similar Topics

Due to IE4S shortages, I am kicking around the idea of getting IE4C modules to do the initial checkout/commissioning with. Once the IE4S come in...
Replies
3
Views
1,004
Why Update Firmware?... I keep seeing others inquiring about updating firmware. Why would you update the firmware is it running? It is my...
Replies
4
Views
2,211
Is there a downside to not using the chassis ground connection on a CompactLogix CPU that is powered using 24VDC wall wart? AC side has a three...
Replies
5
Views
2,364
My 1769-SDN rev 4 is seemingly stuck in idle mode. I have the configuration all set up correctly as far as I can tell. The card is in slot 1, and...
Replies
9
Views
2,602
Think it would be hilarious or just go terribly wrong depending on the finder and context. Guys care to discuss? :lolis: or :tod:
Replies
23
Views
7,598
Back
Top Bottom