![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
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 |
|
|
|
#2 |
|
Member
![]() 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 |
|
|
|
#3 | |
|
Lifetime Supporting Member
|
Quote:
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. |
|
|
|
|
#4 | |
|
Lifetime Supporting Member
|
Quote:
|
|
|
|
|
#5 |
|
Lifetime Supporting Member + Moderator
|
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 |
|
|
|
#6 | |
|
Member
![]() Join Date: Nov 2004
Location: Seattle Wa. USA
Posts: 3,596
|
Quote:
Is this similar to treating gangrene by putting a band aid on it? Dan Bentler |
|
|
|
|
#7 |
|
Lifetime Supporting Member
|
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. |
|
|
|
#8 |
|
Member
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 |
|
|
|
#9 |
|
Lifetime Supporting Member
|
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." |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |