Quantcast
Channel: SPS-Forum - Automatisierung und Elektrotechnik
Viewing all articles
Browse latest Browse all 46422

B&R Automation Studio Loadcell programming in C

$
0
0
Hello,

I have used AGHscale() from B&R Automation Studio.


fbTestVar.enable=1;
fbTestVar.doTare=1;
fbTestVar.doStandardize1=1;
fbTestVar.t_measure=1;
fbTestVar.pWGHscalePara =(unsigned long int)&TestVar1;
TestVar1.ref1_raw=3000;
TestVar1.ref1_std=1000;


fbTestVar.doStandardize2=1;
TestVar1.ref2_raw=23700;
TestVar1.ref2_std=31500;


fbTestVar.raw_value=analogInput1;

WGHscale(&fbTestVar);


I have attached a screenshot with the Monitor values. As you can see its not doing the second Standardisation. What could be wrong?
Angehängte Grafiken

Viewing all articles
Browse latest Browse all 46422


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>