7/31/2025 11:51 AM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
Hello qwazee thank you for your answer The logic of my code is: I1(Sensor) is connected to counter1, counter 1 is connected to math instruction and from math instruction is connected to analog comparator. I2 (sensor) 2 is connected to counter 2, counter 2 is connected to math instruction 2 and math instruction 2 is connected to analog comparator. The sensors are digital |
Last edited by: duma_calin145 at: 07/31/2025 11:51:40 |
|
7/31/2025 11:57 AM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
|
7/31/2025 1:13 PM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
This is my project and on the lost line I want to display the average between the Mathematical calculation between INPUT - OUTPUT = LOST. At the moment if INPUT or OUTPUT has a value greater than 32K LOST becomes 0AttachmentCircuit Diagram1.zip (42 Downloads) |
Last edited by: Moderator_Lan at: 07/31/2025 13:17:57Text formatting optimized |
|
7/31/2025 1:17 PM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
Is there any logic that can help me compare values greater than 32,768? |
7/31/2025 1:25 PM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
Now it's clearer, thanks for the support. |
7/31/2025 1:26 PM | |
Joined: 12/18/2014 Last visit: 9/14/2025 Posts: 35958 Rating:
|
LOGO! doesn't have any bus blocks for this by default, because LOGO! is designed only for integers.
AttachmentCompare_values_max_999,999,999,999_0BA8.Standard.zip (51 Downloads) |
7/31/2025 1:59 PM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
If I were to use S7 300 PLC would it be ok? |
7/31/2025 2:10 PM | |
Joined: 12/18/2014 Last visit: 9/14/2025 Posts: 35958 Rating:
|
Yes. |
7/31/2025 4:33 PM | |
Joined: 7/24/2025 Last visit: 8/17/2025 Posts: 26 Rating:
|
Thank you for the support! |
This contribution was helpful to
1 thankful Users |
8/2/2025 9:28 AM | |
Joined: 12/27/2006 Last visit: 8/26/2025 Posts: 1200 Rating:
|
You can connect two counters and subtract the value of them sepeately/ Look in the example. The first counter counts 10000, so you can count 10000 x 32000= a lot Notice: The textblock is not perfect. You can make it perfect with several tekstblock, AttachmentHoge telling.zip (64 Downloads) |
Follow us on