6/4/2022 11:40 PM | |
Joined: 6/4/2022 Last visit: 12/5/2023 Posts: 4 Rating:
|
Hello Everyone, I have thrown together a first try for my solar system. And it works rather nicely. I just have 2 grippes with it so far, on the display I get over 100% and the other subject is data logging. For the first one here is my issue, I have some mathematic instruction where the result can range from 0 to 2000, but for my display only the range 0 to 1000 interest me, is there a way to truncate everything after 1000? (For B013) Regarding data logging, I would like to extract the data from my Logo! 8 and save it in a database, was this done before, if yes is there a how to ? Thanks! AttachmentSolar Anlage - 4.zip (680 Downloads) |
Last edited by: Panther666 at: 06/04/2022 23:41:31Last edited by: Panther666 at: 06/04/2022 23:44:06 |
|
6/5/2022 9:41 AM | |
Joined: 6/11/2019 Last visit: 2/19/2025 Posts: 2425 Rating:
|
I agree with ixo65. Without additional information, the function of this program is not revealed. You can limit B013 to the maximum value of 1000 using a threshold switch and a muxer (see appendix). When the value reaches 1000, it switches to the fixed value.B016 replaces the B013. For data logging, the data can be entered manually, as ixo65 has already indicated, or automatically with a home automation system or SCARDA system. Check out the forums there. Ella_68 AttachmentSolar Anlage - 4 mod.zip (670 Downloads) |
6/5/2022 9:53 AM | |
Joined: 6/11/2019 Last visit: 2/19/2025 Posts: 2425 Rating:
|
Sorry, by pointing out the B004 I overlooked the further adjustment... |
6/5/2022 11:47 AM | |
Joined: 6/4/2022 Last visit: 12/5/2023 Posts: 4 Rating:
|
Edit: Thanks now I got it, I didn't see the mux and what it did^^, my bad. Hello Everyone, Thanks for the answer. Yes I'm from germany. Attached is my updated program. Sadly when using an analog threshold trigger with a off threshold at 1000 with an input of 1400 the output is still unchanged at 1400. Pump display value (B013) should never exceed 1000 and pump PWM signal (B004) should never go under 0. AQ1 is used to trigger a PWM signal geneator which takes a 0 to 10 V input. 0V being 100% and 10V being 0%. My pump only starts efficiently pumping without weird noises at 45% that is why theres is the offset. AM3 is used to show the pump percentage and it is inverse proportianal to the voltage going out to the PWM signal generator. Regarding the logging my LSC doesn't give me the option to extract the log file from my logo 8. And even if it worked it's not automatic so it does not fit with me purpose. I want long term data logging in a seperate system/DB. I will look into what is possible to do here. Isn't the logo 8 a home automation system? Thanks a lot! AttachmentSolar Anlage - 6.zip (639 Downloads) |
Last edited by: Panther666 at: 06/05/2022 11:51:00Last edited by: Panther666 at: 06/05/2022 13:16:54 |
|
6/5/2022 12:37 PM | |
Joined: 12/18/2014 Last visit: 2/19/2025 Posts: 34714 Rating:
|
I'm also from Germany. I think it's better to make the conversation in the German speaking part of the forum. |
6/5/2022 12:42 PM | |
Joined: 6/11/2019 Last visit: 2/19/2025 Posts: 2425 Rating:
|
Hello Panther666, Why don't you write in the German section of the forum? In the last program version you add something in B013. Then, of course, the threshold switch and muxer must be connected after the arithmetic calculation (see appendix). The logo comes from the field of control and regulation of mechanical systems. She is more of an SPS (even if some people have different opinions). AttachmentSolar Anlage - 5 mod.zip (734 Downloads) |
6/5/2022 1:21 PM | |
Joined: 6/4/2022 Last visit: 12/5/2023 Posts: 4 Rating:
|
When googeling for my issue I landed here in the english Forum, I seem to get answers here not sure why I should go over to another section ;) Attached is my latest version, the last message somehow didn't catch the correct version. It does everything it needs to do (except data logging) so thanks a lot! AttachmentSolar Anlage - 6.zip (691 Downloads) |
Follow us on