8/17/2012 5:07 PM | |
Posts: 45 Rating:
|
Please find whole program in attachement. As you can see, I already made some modifications so it works now (please ignore counter at this point). But maybe you have some better ideas. Aside from memory bits, the only leftover is implementation of counter. It's still work in progress, but your help would be much appreciated in any case. Here is what it should do: process should be automatically repeated 12 times. After that, everything should stop and Q0.5 should turn on. Process could be started again by enabling M0.4 which would also reset counter to it's initial value.
AttachmentOB1.pdf (200 Downloads) |
8/20/2012 9:15 AM | |
Posts: 197 Rating:
|
@ krneki10 : “….process should be automatically repeated 12 times. After that, everything should stop and Q0.5 should turn on” QO.5 is not visible anywhere in your attachments (although you have defined its symbol). The process has to be repeated 12 times, but the counter is loaded with 2. |
8/20/2012 10:28 AM | |
Joined: 10/7/2005 Last visit: 9/14/2025 Posts: 3049 Rating:
|
Hello krneki10 I fear your "programming on the run" style does not help you tocome up with a useful and/or robust program result (as well as making it harder for anyone here to advice you properly). As such, allow me to suggest you go back to the drawing board and spend some time describing the overall functionality that you want to achieve. This"User requirement specification" couldbe a simple verbal description, but you'll find that adding a graphical description (e.g. a Sequential Function chart,State Machine, truth tables etc.) typically aids in making it clearer and/or less ambiguous. Once done, it isa"simple" matter of translating it into an S7 program. Should you still have problems with the code implementation and quite rightly revert back here for help, this document willalso help us to help you. |
Cheers |
|
8/22/2012 1:32 PM | |
Posts: 45 Rating:
|
bump |
Follow us on