7/16/2023 7:01 AM | |
Joined: 12/18/2014 Last visit: 8/31/2024 Posts: 33656 Rating: (4182)
|
Please upload your LOGO! program and the LWE project as a ZIP file. |
7/16/2023 7:12 AM | |
Joined: 7/15/2023 Last visit: 1/16/2024 Posts: 26 Rating: (0) |
this is my program sofar, made it in demo since Logo is ordered. I didn;t start with www yet because not sure how to map things. I have watched some vids about it and understand it mostly, but it is not completely clear. AttachmentSHS opgietregeling, v1.zip (452 Downloads) |
Last edited by: Domoticom at: 07/16/2023 07:15:44 |
|
7/16/2023 7:30 AM | |
Joined: 12/18/2014 Last visit: 8/31/2024 Posts: 33656 Rating: (4182)
|
Your program doesn't work as it should according to your function description. |
7/16/2023 11:52 AM | |
Joined: 12/18/2014 Last visit: 8/31/2024 Posts: 33656 Rating: (4182)
|
Try this ...
AttachmentSHS opgietregeling, v2.zip (559 Downloads) |
7/16/2023 12:25 PM | |
Joined: 6/11/2019 Last visit: 8/31/2024 Posts: 2227 Rating: (99) |
Hello domoticom, In order to be able to use only one input for all time settings, a muxer is switched in between. All timers can then be connected to it (see your modified program). However, the value must then be entered in the unit of the basic variable. Example: You want to set the time module with 1 minute and 30 seconds, whose time base is seconds, so 90 seconds is entered in the upstream muxer. Greeting Ella_68 (translated with Google) P.S.: The program of a light sequence can also be implemented with just one time specification, provided that all times are the same (see the second program in the appendix) AttachmentSHS opgietregeling, v1 mod.zip (364 Downloads) |
7/16/2023 4:45 PM | |
Joined: 6/11/2019 Last visit: 8/31/2024 Posts: 2227 Rating: (99) |
That the multiplexer does not multiplex anything is correct ! You need a block in which you enter the parameters. The value of this module is immediately available at the output so that all wiper relays can be connected to it. You can also use an arithmetic instruction instead of the muxer. However, I prefer to use a muxer for this because it uses less memory in the logo and has no latency of one cycle. Incidentally, I did not terminate the analog output of the block in the program with a marker. But that's important, otherwise the program won't be transferred and won't run on the logo itself - sorry ! P1 to P4 below the multiplexer are the parameters of the block that are switched by activating the digital inputs S1 and S2.This is well documented in the manual. If you don't have this manual, you can download it here somewhere as a PDF. In the second program, one sees the problem that the counter values are only available as parameter values, but the threshold switches only have an analog input. Here I use the multiplexer as a link. An arithmetic statement would also be possible here. Ella_68 In addition to this, I am also enclosing the program version completed with conclusions and an entry in the message text. AttachmentSHS opgietregeling, v1 mod(1).zip (416 Downloads) |
Last edited by: Ella_68 at: 07/16/2023 17:02:53Added program |
|
Follow us on