12/21/2011 9:08 AM | |
Joined: 3/21/2006 Last visit: 4/12/2023 Posts: 10221 Rating:
|
Take alook at SFC46 (Why to use SFC46 (STP)?). This is only to put CPU in STOP mode. But after no alternative to put CPU in RUN via software, because no user program will run (and for extantion, put the CPU in RUN mode). Best regards, Hristo MIhalev |
12/21/2011 9:47 AM | |
Joined: 4/22/2010 Last visit: 12/15/2022 Posts: 5697 Rating:
|
Hello, @Umencho, was not a link but a result of some bad copy paste action Have attached the part of theStep7 help topic. Regards Marcjan AttachmentOperating Modes and Mode Transitions.pdf (123 Downloads) |
Problem solved? |
|
This contribution was helpful to
1 thankful Users |
12/22/2011 10:16 AM | |
Joined: 3/21/2006 Last visit: 4/12/2023 Posts: 10221 Rating:
|
With SFC1 read the actual date. How (How can you read out the date and time with SFC1 (READ_CLK) and input them with SFC0 (SET_CLK)? ). Then compare it with a target. If this is a true, take that bit and put it on EN input of called SFC46. But as I understood in your case this STOP mode of CPU might be very dengerous. Take it care! best regards, Hristo Mihalev |
12/22/2011 1:33 PM | |
Joined: 3/21/2006 Last visit: 4/12/2023 Posts: 10221 Rating:
|
Forget about that way. (my thoughts have been confirmed using that SFC). My suggestion to you is to make a password protection of software. How (How can you activate the protection level with a password in the HW Config for an S7 CPU?). best regards, Hristo Mihalev |
Follow us on