1/22/2025 7:29 PM | |
Joined: 4/1/2024 Last visit: 8/20/2025 Posts: 14 Rating:
|
AttachmentExample.zip (145 Downloads) |
1/23/2025 7:39 PM | |
Joined: 6/11/2019 Last visit: 9/4/2025 Posts: 2625 Rating:
|
After a little sleep and with a clear head, I'll try again. Maybe that'll work better. Regards Ella_68 P.S.: "Max" must always be greater than "Min" AttachmentProgrammplan-3.zip (116 Downloads) |
This contribution was helpful to
2 thankful Users |
1/26/2025 10:19 AM | |
Joined: 6/11/2019 Last visit: 9/4/2025 Posts: 2625 Rating:
|
Hello John0169, The error in the program has been bothering me. So I've looked into it again. This time, however, the idea was that a minimum number of outputs should be set without exceeding the maximum number. This requires a fixed order, however. First, the number of inputs set is counted and switched through. Only then is the "filling" done with the minimum number in a fixed ascending order starting from Q1. If the "filling" reaches the maximum limit, it is interrupted. If the maximum number is exceeded when the program starts, the outputs remain off. If the parameter values "Min" and "Max" are changed during the program run, a "reset" of the circuit must be reprogrammed. The program can easily be scaled down or expanded to the desired number of outputs. Best wishes Ella_68 AttachmentBlaupause Kanäle Min-Max Ein (8-Kanal).zip (134 Downloads) |
This contribution was helpful to
2 thankful Users |
Follow us on