ML1500, Delaying Run Mode

Thomas Franklin said:
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:
leitmotif said:
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.
 
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_carlton said:
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
 
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.
 
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
 
Personally I dont understand why you dont determine what the problem is, the manual http://literature.rockwellautomation.com/idc/groups/literature/documents/um/1764-um001_-en-p.pdf

and programming set reference http://literature.rockwellautomation.com/idc/groups/literature/documents/rm/1762-rm001_-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.
 

Similar Topics

Hi all, PLC : Micrologix 1500 lrp HMI : Renu FP3070 TN I am a beginner in the plc world. I am trying to connect the renu hmi with ML1500 lrp in...
Replies
5
Views
725
Hello folks, Hope everyone is doing well. I am a beginner at working in analog signals with PLC Analog module: 1769-IF4 ( 4 analog inputs ) PLC...
Replies
9
Views
1,330
I have a Allen Bradely 1500 that has a cracked board. It still works but needs replaced (battery is no longer connected). To make migration easier...
Replies
10
Views
3,200
I inherited a system with the Micrologix 1500 talking to 8 VFDs using Modbus RTU protocol. One of the VFDs was replaced with a Toshiba VF AS1...
Replies
1
Views
1,178
Hello, I have the PLX setup and configured. Its seen and downloaded to. However my ML1500 does not communicate over it. The port (0) is used...
Replies
5
Views
1,627
Back
Top Bottom