6/8/2009 9:16 AM | |
Posts: 382 Rating: (47) |
Dear all, 1] From my attached figure 1, I got some "rubbish" values from the local variable at the 2nd rung whereas my 1st rung is zero in values. 2] From my attached figure 1, if I used MDxxx, the values are the same for both rungs. I am not sure why using the local variable will give some "rubbish" values. Anyone one encounter this before? Thanks! with regards, how come? AttachmentStep7 Bugs.zip (351 Downloads) |
6/8/2009 10:00 AM | |
Joined: 1/4/2008 Last visit: 9/26/2024 Posts: 703 Rating: (96) |
Hello, please don't use theterm "Step7 bugs" before you know what is the problem, because this is your fault . The TEMP memory have to be ALWAYSinitialized before using! You write to the local variables just when the edge of signal comes, but when it doesn't in the TEMP memory you have anything from some another block called before which uses the same memory area. Look at the manual for the Step7 programming here: http://support.automation.siemens.com/WW/view/en/18652056 Regards Sydney |
Last edited by: Sydney at: 6/8/2009 10:05 AM |
|
Follow us on