How detect the PLC in stop mode

jcp

Member
Join Date
Feb 2010
Location
Multan
Posts
369
Hi;
How can i detect that PLC in stop mode. Becuase there are some options which can be happen:
1. If operator stop the PLC by pressing ALT--R then on the HMI i want to detect the plc in stop mode and run the xyz logic.
2. May be from the key on CPU?
regards;
I stop the plc from software OK and PWR light solid green but RUN light off. I do not know how can i detect?
Second i read SVC_REQ but it tells me which i understand
two states 1. RUN/ENABLE I/O 2. RUN/DISABLE I/O
Plz help me
Regards
 
Set up a heart beat if you can alarm off of unchaging data maybe? Try the always on %S( 7 or 8, i can never remember) and have it going to an M-Coil that you will not use for any thing other than this. Trigger alarm on a 0/Off status of the internal bit. The second option will only work if you put it in to Stop/IO Disabled or it it Fault Stops on its own. The heart beat option work regardless but you will have to set up some type of refrence to time to determine if it has stopped proccessing data.
 
In ladder logic use a -] [- contact addressed to %S0001 to set a %M bit. Use a -]/[- contact addressed to %S0002 to reset the same %M bit. When the %M bit is on, the program is running. If it is off, the program is stopped.
1. If operator stop the PLC by pressing ALT--R then on the HMI i want to detect the plc in stop mode and run the xyz logic.
What device is going to run the "xyz logic"?
Second i read SVC_REQ but it tells me which i understand
two states 1. RUN/ENABLE I/O 2. RUN/DISABLE I/O
If the PLC isn't running, how do expect it to execute a SVC_REQ finction?
 
Set up a heart beat if you can alarm off of unchaging data maybe? Try the always on %S( 7 or 8, i can never remember)

%S0007 is the always on bit. I remember this by thinking the following - James Bond (007) movies are ALWAYS ON television.
 
You could also use the just "Last Scan" bit (%S2) to turn on or off an internal to monitor. Similar to what Steve is suggesting.
 

Similar Topics

Hello, I am trying to detect when the PLC changes from STOP to START mode. This can be considered an edge case scenario, but I would to analyze...
Replies
4
Views
1,570
Replies
1
Views
1,221
Dear Friends; We have a BOBST 1228 flexo printing machine having Siemens S7-300 PLC (6ES7 318-3EL01-0AB0) and Lenze 9300 and 9400 drives. The...
Replies
3
Views
2,318
Hey folks, I'm unable to see my PLC and HMI in my Rslinx classic even though I can ping the PLC and HMI from my laptop. Please I need help on...
Replies
4
Views
3,663
I have an SM3000 on the same network with a few compactlogix plcs. One of the issues with the SM3000 is that it periodically loses its ethernet...
Replies
1
Views
1,553
Back
Top Bottom