10/17/2020 8:06 AM | |
Posts: 15 Rating:
|
I have one more question. What is the simplest way to maximize a mathmetic input? i can now give mm via TDE but i want that the max input is 30000 not 32676. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 10/19/2020 10:21:57New subject after splitting |
|
10/17/2020 8:37 AM | |
Posts: 15 Rating:
|
What is the best way to do this? see attachment witch one i want to protect. |
10/17/2020 8:45 AM | |
Joined: 12/18/2014 Last visit: 12/11/2023 Posts: 31595 Rating:
|
I'm not so fast as you wish. I make you an example. Please wait a moment. |
10/17/2020 9:04 AM | |
Joined: 2/22/2008 Last visit: 11/30/2023 Posts: 2698 Rating:
|
You can also use a trick to limit the value, see example in attachment with a counter. If counter value is greater than 30000, the value will decrease with a fast pulse generator. In simulation it is very slow, but in a Logo with e.g. 1ms cycle time a max. value 32767 will be corrected within 2,8s. Regards, Scorp AttachmentLimiter1.zip (152 Downloads) |
10/17/2020 9:13 AM | |
Joined: 12/18/2014 Last visit: 12/11/2023 Posts: 31595 Rating:
|
Here's the example
AttachmentValue_test_FS4.zip (150 Downloads) |
10/17/2020 9:30 AM | |
Joined: 12/18/2014 Last visit: 12/11/2023 Posts: 31595 Rating:
|
So like this?
AttachmentValue_test_FS4_V2.zip (170 Downloads) |
Last edited by: ixo65 at: 10/17/2020 09:30:53 |
|
10/17/2020 9:42 AM | |
Posts: 15 Rating:
|
Perfect that's its! Many thanks |
This contribution was helpful to
1 thankful Users |
10/17/2020 10:19 AM | |
Joined: 2/22/2008 Last visit: 11/30/2023 Posts: 2698 Rating:
|
There is also a direct methode with a counter for a limit of 30000. The advantage is the same point for input and output value, not 2 different values to compare by the operator. Regards, Scorp AttachmentLimiter2.zip (159 Downloads) |
Follow us on