edwinmart
Member
I need to divide two INT values N7:1 and N7:2 and I am trying to store the result in F8:0 using the DIV instruction, but I am getting a error "invalid range".
+-----+
|DIV |----
|N7:1 |
|N7:2 |
|F8:0 |
+-----+
What I am trying to accomplish is the rate Good Parts / Total Parts * 100 to get the percentage.
I am also using the F8:1 for the percentage of downtime using 2 RTOs and both Float values I will show them using a PV.
But I am stuck with the DIV.
Thanks in advance.
Edwin
+-----+
|DIV |----
|N7:1 |
|N7:2 |
|F8:0 |
+-----+
What I am trying to accomplish is the rate Good Parts / Total Parts * 100 to get the percentage.
I am also using the F8:1 for the percentage of downtime using 2 RTOs and both Float values I will show them using a PV.
But I am stuck with the DIV.
Thanks in advance.
Edwin