6/2/2009 8:50 AM | |
Joined: 4/24/2006 Last visit: 4/26/2024 Posts: 8615 Rating: (1147) |
Hi Oscar_83PL, Perhaps the following link, might help you to reassign address: http://support.automation.siemens.com/WW/view/en/26484096 Hope it helps you. Best regards, Wizard |
6/8/2009 2:43 PM | |
Joined: 1/4/2008 Last visit: 2/27/2024 Posts: 703 Rating: (96) |
Hello, actually it's not the Q0.0 but the first output on the module (if I'm not wrong it's Q124.0 by default) so the readdressing won't help you. If the process is so fast and need accuracy then you should use the module output, otherwise you can use the HW interrupt as Wizard suggested or just read the count value in theprogramm and do the comparation there. Here are links which could help you: http://support.automation.siemens.com/WW/view/en/18467424 http://support.automation.siemens.com/WW/view/en/12429336 Regards Sydney |
6/9/2009 8:18 AM | |
Joined: 10/22/2008 Last visit: 4/26/2024 Posts: 365 Rating: (5) |
I use 313C. How to reset sfb47 count? without HW comparision, so the output stays LOW. |
6/9/2009 2:37 PM | |
Joined: 1/4/2008 Last visit: 2/27/2024 Posts: 703 Rating: (96) |
Hello, when you need a few independent countings then you could choose theoperating mode "Count continuously" and don't stop the counting with the gate function. The counter will count continuously, when reaches its limit (2147483647) itresumes the count from zero. Theindividual countings you get by external remembering (in some DB)of appropriate start value for each objectand then subtraction from theactual count value. Take care about the count value overflow (can use the calculation I wrote here). The countig then will be independent at all, only bad thing is the inaccuracy (delay)due to the CPU cycle, there will be a difference between the actual count value and the value youget from the module for calculating so the reaction could be little bit slower then module output depending on counter by HW config. The number of revolutions you get from the calculated position differencedividing bythe value which means the number of pulses per revolution (in your case 100). Regards Sydney |
Follow us on