12/4/2018 3:22 PM | |
Joined: 12/18/2014 Last visit: 9/7/2024 Posts: 33709 Rating:
|
Here's an simple example.
AttachmentSumming_0BA8.Standard.zip (292 Downloads) |
This contribution was helpful to
1 thankful Users |
1/17/2019 4:19 PM | |
Joined: 5/13/2016 Last visit: 1/15/2022 Posts: 66 Rating:
|
Hi, If I understand your "problem" you need the following mathematic instruction: Lenght of board = 10m - measured length. I've made a small sample were I scale the 4..20mA to 0-500 (so 1 point for each cm). The I make a mathematic instruction which is always enabled. In this instruction I set the value to 1000 (= 10meter) and subtract the value of the sensor. So in your case if I have 12mA (which is 250 in my example) the output is 750cm which is 7,5meter. You can play with the scaling to get it to meters or something you like. Does this help? AttachmentCalc.zip (221 Downloads) |
This contribution was helpful to
1 thankful Users |
1/17/2019 4:37 PM | |
Joined: 12/18/2014 Last visit: 9/7/2024 Posts: 33709 Rating:
|
Here's a possible solution for calculating the distance.
AttachmentDistance_0BA8.Standard.zip (241 Downloads) |
Last edited by: ixo65 at: 1/17/2019 5:03:07 PMAttachment changed |
|
1/17/2019 5:05 PM | |
Joined: 12/18/2014 Last visit: 9/7/2024 Posts: 33709 Rating:
|
In my first diagramm was a mistake. I have corrected and changed the attachment. |
Follow us on