You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old February 7th, 2018, 08:47 AM   #16
daba
Lifetime Supporting Member + Moderator
United Kingdom

daba is offline
 
daba's Avatar
 
Join Date: Jul 2004
Location: uk
Posts: 4,387
Quote:
Originally Posted by btaaa View Post
Yea, I'm surprised it lets you save something like that. Pretty significant.
Well potentially you might want to call a subroutine just once, conditionally, or many times, on different conditions.

You would use a JSR for the once....
and a FOR for the many....

No reason why not to do it, so it's not trapped as a programming or syntax error.
__________________
___________________________
ControlLogix & SLC Training
a-b train ltd.
abtrain@tiscali.co.uk
www.abtrain.co.uk
tel: 07506 73 9999
nil illegitimi carborundem


  Reply With Quote
Old February 7th, 2018, 09:02 AM   #17
btaaa
Member
United States

btaaa is offline
 
Join Date: May 2012
Location: Metro Detroit
Posts: 16
Quote:
Originally Posted by daba View Post
Well potentially you might want to call a subroutine just once, conditionally, or many times, on different conditions.

You would use a JSR for the once....
and a FOR for the many....

No reason why not to do it, so it's not trapped as a programming or syntax error.
Copy, thanks. I don't have scenarios at my plants that would require such, which explains my experience level at it. Thanks for the help.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Control logix. Soft & Compact Logix rslogix 5000 macs_plc LIVE PLC Questions And Answers 4 June 27th, 2016 03:51 AM
Control Logix 1756 jamalshahid LIVE PLC Questions And Answers 9 May 8th, 2012 11:24 AM
Compact Logix Remote Racks The Plc Kid LIVE PLC Questions And Answers 10 September 29th, 2009 06:11 PM
Power Flex, Drive Logix and Control Logix Tim LIVE PLC Questions And Answers 2 January 4th, 2007 06:37 PM
Producer Consumer Messging between Control Logix & Compact Logix plcnovel LIVE PLC Questions And Answers 15 July 24th, 2006 11:04 AM


All times are GMT -5. The time now is 10:36 AM.


.