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 September 15th, 2005, 03:24 PM   #1
Thomas Franklin
Member
Thomas Franklin is offline
 
Join Date: Mar 2005
Posts: 49
ML1500, Delaying Run Mode

Does anyone know if there is a way to delay a ML1500 from going into run mode throu programming.

Thomas
  Reply With Quote
Old September 15th, 2005, 05:29 PM   #2
leitmotif
Member
United States

leitmotif is offline
 
Join Date: Nov 2004
Location: Seattle Wa. USA
Posts: 3,596
Why would you want to delay the PLC from going into run?

Need to learn something new today.

Dan Bentler
  Reply With Quote
Old September 15th, 2005, 05:32 PM   #3
TConnolly
Lifetime Supporting Member
United States

TConnolly is offline
 
TConnolly's Avatar
 
Join Date: Apr 2005
Location: Salt Lake City
Posts: 5,419
Quote:
Originally Posted by Thomas Franklin
Does anyone know if there is a way to delay a ML1500 from going into run mode throu programming.

Thomas
There is no way to programatically delay the processor from going to run mode, however there is a way to accomplish what you want to do: Use subroutines.

In ladder two, program only a timer and a call to the subroutine conditioned to execute when the timer completes. Place the rest of the program in subroutines.

The following will wait for ten seconds after the processor goes to run. During that 10 seconds, it will unconditonally turn off the outputs on the fixed IO base (in case any were latched on when the program halted). After ten seconds it will execute subroutine 3 continuously.

TON T4:0 1.0 10 0
XIO T4:0/DN CLR O:0.0
XIC T4:0/DN JSR 3

You may wish to divide up your program into parts that need to be delayed and parts that do not - such as an initialization routine - as well as logical parts by function.

---------------------------
edit
Another way to do this is with a JMP. The first two rungs of the program would look like this:

LBL 1 TON T4:0 1.0 0 0
XIO T4:0/DN BST CLR O:0.0 NXB JMP 1 BND

I recommend the subroutine approach however.

Last edited by TConnolly; September 15th, 2005 at 05:47 PM.
  Reply With Quote
Old September 15th, 2005, 05:33 PM   #4
TConnolly
Lifetime Supporting Member
United States

TConnolly is offline
 
TConnolly's Avatar
 
Join Date: Apr 2005
Location: Salt Lake City
Posts: 5,419
Quote:
Originally Posted by leitmotif
Why would you want to delay the PLC from going into run?

Need to learn something new today.

Dan Bentler
I imagine he needs to wait for something else to start up but doesn't want to program a time delay for every single output.
  Reply With Quote
Old September 15th, 2005, 07:53 PM   #5
bernie_carlton
Lifetime Supporting Member + Moderator
United States

bernie_carlton is offline
 
bernie_carlton's Avatar
 
Join Date: Apr 2002
Location: Yakima, Washington
Posts: 4,599
I think this ties into his previous post of the CPU falting on going into run because of an I/O module. He thinks that delaying the transfer to run will avoid this.
__________________
Controlling outputs is the PLC's way of getting its inputs to change.

www.thePLCguy.com
  Reply With Quote
Old September 15th, 2005, 08:25 PM   #6
leitmotif
Member
United States

leitmotif is offline
 
Join Date: Nov 2004
Location: Seattle Wa. USA
Posts: 3,596
Quote:
Originally Posted by bernie_carlton
I think this ties into his previous post of the CPU falting on going into run because of an I/O module. He thinks that delaying the transfer to run will avoid this.
Bernie
Is this similar to treating gangrene by putting a band aid on it?

Dan Bentler
  Reply With Quote
Old September 15th, 2005, 08:47 PM   #7
TConnolly
Lifetime Supporting Member
United States

TConnolly is offline
 
TConnolly's Avatar
 
Join Date: Apr 2005
Location: Salt Lake City
Posts: 5,419
In that case it won't solve the problem.

Bite the bullet, get systematic and find the problem. Create a series of very simple programs each with first no expansion IO, then add the first, then add the second, etc. Starting on the left, disconnect the module, hook up the endplate, download the right modified program and test it. Repeat until you find the module. Sometimes troubleshooting is just systematically eliminating pieces one by one. When you find it, Bite the bullet again, and replace the defective hardware.
  Reply With Quote
Old September 16th, 2005, 09:29 AM   #8
Thomas Franklin
Member
Thomas Franklin is offline
 
Join Date: Mar 2005
Posts: 49
Thanks for the advice

Thanks for the adice gentlemen, Bernie_Carlton was right I am trying to find a back door into solving my power up fualt...I have a couple of ideas that I am gonna try and if they don't work...I will use Alaric suggestion...Thanks

Thomas
  Reply With Quote
Old September 16th, 2005, 09:45 AM   #9
rsdoran
Lifetime Supporting Member
United States

rsdoran is offline
 
rsdoran's Avatar
 
Join Date: Apr 2002
Location: Birmingham, AL
Posts: 7,372
Personally I dont understand why you dont determine what the problem is, the manual http://literature.rockwellautomation...m001_-en-p.pdf

and programming set reference http://literature.rockwellautomation...m001_-en-p.pdf
explain how to troubleshoot errors etc. Appendix C the user manual gives troubleshooting help, Appendix C in the reference manual explains the status bits.

If the problem is in the program then it may start "faulting" while running under certain conditions or situations.
__________________
http://www.patchn.com Industrial Electrical & Maintenance @ www.patchn.com "Tell me and I forget, show me and I remember, involve me and I understand."
  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
GE Fanuc 90-30 won't go into Run mode Johnny T LIVE PLC Questions And Answers 8 April 1st, 2005 01:03 PM
Program to Run mode Question gizmo LIVE PLC Questions And Answers 3 September 13th, 2004 02:57 PM
SLC processor faults when inserting a module in Run mode ... Ron Beaufort LIVE PLC Questions And Answers 12 September 13th, 2004 09:39 AM
TI525-1102 CPU dropping out of run mode inddyn LIVE PLC Questions And Answers 2 February 4th, 2004 10:10 AM


All times are GMT -5. The time now is 08:03 PM.


.