easy-forum
English Support - Software => easySoft => Thema gestartet von: dmsque am Februar 21, 2026, 11:14:54 Vormittag
-
Hello!
I try to scale the analog value from Analog Input with the LS-block. In this block, the output value is limited by Y1..Y2 range, even if the input value from AI is out of X1..X2 range.
To trick it, I created a user FB with mathematical relationships which are presented in documentation (Chapter 6.1.3.5), but it works correctly only in the case when the gradient "m" is an INTEGER.
In all other cases Gradient rounded and it takes the wrong scaled value.
Does enybody knows solutions to scale AI beyond ranges X1..X2, Y1..Y2?
-
Hallo,
bitte den Eingangs- oder Ausgangswert der LS-Skalierung mit einem VC-Baustein (Wertbegrenzung begrenzen.
Gruß, Jürgen
-
Maybe I described my task in a wrong way.
Example:
Source - AI in mA (4..20mA).
Output value - weight in kg.
LS module
X1 = 5mA
Y1= 0 kg
X2 = 10mA
Y2= 1000kg
If signal on AI is in the range 5..10mA, LS block would be scale correctly from 0 to 1000kg.
But in my case I need to scale lager weight, for example 2000kg. It correspond to input value ~15mA. Output walue from LS block whatever will be 1000kg.
It looks that LS-block has inbuild VC-limit)
-
I found a solution.
I multiplied Gradient "m" x1000, and devided it by 1000 at calculating scaled value.
-
Hallo!
analoge Eingänge haben den Wertebereich 0....4095 entspricht 0-20mA bzw. 0-10V.
0mA = 0
4mA = 819
5mA = 1024
10mA = 2048
15mA = 3072
20mA = 4096
X1=1024 = 5mA
X2=2048 = 10mA
bzw. bei 15mA und 2000kg
X2=3072 = 15mA
Y2=2000
Gruß,
ELWMS
-
5mA = 1024
10mA = 2048
15mA = 3072
X1=1024 = 5mA
X2=2048 = 10mA
bzw. bei 15mA und 2000kg
X2=3072 = 15mA
Y2=2000
Hi!
I know how it works and can calculate it.
The task was to scale input value correctly when signal goes outside limits (X1, X2. Y1, Y2).
I use E4 for tower crane monitoring system and live-scaling analog signal from weight-axis is needed. It had to scale sensor with maximum allowable weight before, but it's not always applicable.
-
Hallo!
Ein heisses Eisen. Ein Überwachungssystem mit einer Easy, welche ich nehme mal an, verhindern soll, das das Kippmoment erreicht wird. Bei Jeder Auf- bzw. Ablastung musste früher, ich beziehe mich jetzt auf Hebezeuge, eine Prüfung mit dem tatsächlichen Gewicht und soviel ich mich erinnern kann mit 10% überlast gestestet und dokumentiert werden. Ablastungen gab es selten, Auflastungen je nach Statik konnte mal vorkommen. Die Prüffristen für Hebezeuge waren früher auch vorgeschrieben....
Wie gesagt ein heisses Eisen. Wenn es nur als zusätzliche Wiegeeinrichtung, es also keine sicherheitsgerichte Überwachungsfunktion ist, kann man eine easy verwenden...
Ist aber meine ganz private Meinung zum Thema Sicherheit. Meine Kransachkundigenprüfung ist dementsprechend schon lange her.... Mein Aufgabengebiet hat sich seitdem geändert.
Gruß,
ELWMS
-
Hello!
I use E4 for indicating crane's values such as radius, weight, height and % of load) All standard crane switch limiters work in a normal way.