Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

B&R Automation Studio

Status
Not open for further replies.

sunshine2016

Newbie level 2
Joined
May 12, 2017
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
18
Hi,

I am programming a Loadcell with B&R Modul AIA744. i have read the following values so far.

Weight Corresponding Load celll value

5 Kg 8800 - 9300
31.5 Kg 23700 -24200
1 Kg 3000-3500

I would like to use a formula to calculate the corresponding weight from the read loadcell so that i can represnt it using a Bar Diagram?
Can some one help me please ?

Thanks in Advance
 

I didn't see any really good fits for this. You should look at the manufacturer's guidance for this.

1.2051e-03 * value is what I got from least-squares.

It doesn't really do a good job at the low end.
 

Thank you for the Reply.

I have used AGHscale() from B&R Automation Studio.
Its the Code i used.


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?
 

What the heck does this have to do with FPGAs or other programmable logic device?

If you say nothing I'll move it and tell you to READ the forum rules.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top