Easybuilder Pro and Math Expressions?

Join Date
Sep 2019
Location
Fresno
Posts
6
I am banging my head trying to get EB Pro to convert simple math expressions.


Ex: 1

Pump conversion coming from a SCP instruction
O0 1.1 value at high 32760
I want to convert that value to a 0-100% range


Is their a way in EB pro to write an expression? I'm finding I am having to do multiple macro functions
short to float, float to float etc.. and it cuts off decimal values..not good
I am using :

% reading = (([Linear mA out] – 4)/16) x 100


Which works out fine in a calculator and the SCP instruction to PID works fine.

What am I missing and is their and easier way to do expressions ? and or conversions:smas:

Thanks you
 

Similar Topics

I have EB Pro installed on windows 11, I can open an existing project and edit but when I got to parameters tab and open page I get the hourglass...
Replies
0
Views
59
Hi, I would like to know if it is possible to modify the properties of an object via a macro? For example I have a value of 100, via conditions...
Replies
0
Views
867
Hi, I'm an intern student engineer and I'm tasked with creating a HMI for a control system in EBPro. I need to make an object (motor) which has...
Replies
5
Views
1,777
Hello everyone Im Newbie to Easybuilder and im designing and HMI application where I gotta display a warning message in a pop up window...
Replies
3
Views
1,807
Hello folks, I am working on an HMI application in EasyBuilder Pro using the software with the Simulation mode as an MQTT Edge Gateway. This...
Replies
4
Views
2,081
Back
Top Bottom