Initial Startup Detection

broadsoft

Member
Join Date
May 2010
Location
Malanda
Posts
2
Does anyone have an idea of how to run a set of functions once as soon as the PLC comes up after a power on - a start up function??

The PLC in question is a Mitsubishi Alfa AL2-24MR-D

Thanks,
Gerry....o_O
 
Not that familiar with the alpha 2 series, but Bit M08 pulses when transiting from STOP to RUN. I would try using this bit as most PLC's begin power-up in the STOP mode before going into a RUN condition.
 
A simple way that works on any PLC... but uses up one input:

Wire 24 vdc to an input (or what ever your input uses ie: sinking, sourcing, etc.)

When the program runs through the first scan, it will see the input is on. You use this and a one-shot to set a bit.

Since there is a one shot, it will only be true for the first scan of the ladder.

Although most PLCs have some sort of status bit to indicate the "First Pass".
 
The 'set of functions' questions begs to either a timer, or the start of some sort of sequencer.
What I do in Allen Bradley is have the very first run of the main program be XIC S:1/15 JSR FirstScan, -or- XIC S:FS JSR FirstScan.
The SECOND rung is a TON with no conditions...say 30 seconds.

The first run in FirstScan is a timer RESET command. In other words, the timer RESETS on first scan, and then times all the time, in the main.

My most common use is to reset the DeviceNet scanner after a few seconds, and then, make the scanner RUN after its reset (a few seconds longer).

Yes, if your PLC does not have a FIRST SCAN bit, you have to resort to some hardware trick.
 

Similar Topics

Hello all, I have a spanking-new panel that I am programming. Processor: Micrologix 1500, ver. "C" Programming software: RSLogix 500 Operator...
Replies
1
Views
1,982
I'm getting frustrated creating arrays of variables in Machine edition. I need to make 2 variable arrays that are 102x2 in size, with varying...
Replies
3
Views
89
New PanelView Plus 7 Performance Series B P2711p-t10c22d9p out of the box I went through the touch calibration screen and then to the "Welcome to...
Replies
6
Views
4,820
Hi experts, im new to PLC programming im using siemens plc(315) and Fraba absolute encoder my project is to activate output (Q4.5) when encoder...
Replies
4
Views
1,922
Hi everyone, I have a DL06 I'm trying to get some historical info off of. I don't have access to the actual PLC, but I have the program. I'm...
Replies
0
Views
1,155
Back
Top Bottom