Step7 bit sets plc in stop

Dentim

Member
Join Date
May 2010
Location
Arendonk
Posts
11
Hi everyone,

For this project I would like to have an option to make a cpu315-2dp plc go into stop mode when a certain input is activated. So the PLC is in run and when i press this button the PLC goes into stop mode (all outputs are reset) and I need to reset the PLC via the switch on the cpu.

Is this possible?

thanks in advance
 
Hi all,

use the function SFC46 STP PGM_CNTL.
You can manage the STOP of the CPU by means the EN (enable instruction)using an input.

You'll find the SFC46 following the path Libraries==>stdlibs==>builtin
 
thanks, yes I searched in the Step7 help function but didn't found this fucntion. Now i have the following problem, when I try to put this function in my OB1 I get following error:
You want to insert a system function wich come from a library whose project version doesn't match with the version of the current project.

Is there any way to fix this?
 
DON'T DO THIS! Jump around your code and write zero or whatever else you want to your outputs.

Just how do you propose to make the PLC run again.
 

Similar Topics

I have been looking for the setup of S7 Microwin v4 for win 7 64 bit but couldn't find the complete setup. If any one of the experts can lead me...
Replies
2
Views
1,408
I have Win7 Ent 64 bit I have Step7 PRO V5.5 K5.5.0.0 I can and have loaded the S7 5.5 on 32 bit XP mode, this is not about that configuration. I...
Replies
20
Views
58,395
Hello. I'm still on my first major project in S7 and have a rather simple problem that I can't quite put into S7 terms. The problem is simple...
Replies
8
Views
2,483
This is something that's been annoying me on and off for months if not years, but I've finally got sufficiently pi$$ed off to want to get to the...
Replies
2
Views
4,400
Hello everyone, I have a question. I created FB, I defining word in input and word in temp interface area. I need read some bit from this...
Replies
17
Views
10,431
Back
Top Bottom