Neueste Beiträge

Seiten: 1 2 [3] 4 5 ... 10
21
easySoft / Antw:LS-block limits
« Letzter Beitrag von Juergen__R am Februar 21, 2026, 11:52:01 Vormittag »
Hallo,

bitte den Eingangs- oder Ausgangswert der LS-Skalierung mit einem VC-Baustein (Wertbegrenzung begrenzen.

Gruß, Jürgen
22
easySoft / LS-block limits
« Letzter Beitrag 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?
23
easySoft / Antw:Why is indirect addressing hidden? This deserves proper visibility.
« Letzter Beitrag von ablas am Februar 20, 2026, 11:55:12 Vormittag »
I INSIST!!! IT'S A GREAT TOOL. Here's the list; it's easy.
So that those who aren't registered can see it. If you copy and paste the section 0001-0040 into program E4, it will work without any further issues.

INSISTO!!!, ES UNA BUENA HERRAMIENTA. Dejo el listado, es fácil.
Para que la puedan ver los no registrados. Si copias y pegas la parte 0001-0040, en programa E4, te funcionará sin más.

0001 (*==================================*)
0002 (*           LEER BITS DE ENTRADAS DE PARO                 *)
0003 (*        Tratamiento INDIRECTO de 8 fallos                    *)
0004 (* Con revisión y visualización de cada uno de los fallos  *)
0005 (*==================================*)
0006
0007 D01 (EN :=TRUE);
0008
0009 MD100:=0;
0010 MB100:=0;
0011 REPEAT
0012    MD100:=MD100+1;
0013    (*  Copia los estados de bits de Entradas (1-8) a Marcas (1-8)   *)
0014    M[MD100] := I[MD100];
0015    (*  Cuando alcanza el valor "9", salta y finaliza   *)
0016    (* Si la marca está activa, sumamos 1 al contador de fallos (MB100) *)
0017    IF M[MD100] THEN MB100 := MB100 + 1;
0018    END_IF;
0019    (* Aquí se limita y revisa uno a uno cada "Paro" con el contador manual MB101 *)
0020    (* Cuando el contador de FALLOS es >0 y el de REVISIÓN valen igual; finaliza BUCLE REPEAT*)
0021 UNTIL MD100>=9 OR (MB100>0 AND MB100=MB101)
0022
0023 END_REPEAT;
0024
0025 M10:=MB1>=1;
0026 (* P2, (ED01Q1, Flanco +) desplaza el punto de parada del "Bucle REPEAT" y P6 (ESC), lo resetea "0" *)
0027 ED01 (I1 :=P2);
0028 IF ED01Q1 = TRUE THEN MB101:=MB101+1;
0029 END_IF;
0030
0031 IF MB101>=9 OR P6 THEN MB101:=0;
0032 END_IF;
0033 MB101:=MB101; (* Solo para ver valor *)
0034
0035
0036
0037 (*=====================================*)
0038 (*      LEER FALLOS DE DIAGNÓSTICO DEL SISTEMA             *)
0039 (*     Tratamiento INDIRECTO de 30 fallos   (no programado) *)
0040 (*=====================================*)

Nota: Pasar las entradas a marcas es util si queremos puentear en paralelo señales perdidas.
Con los BUCLES, es necesario tener cuidado en aplicaciones donde se requiere una parada rápida por software. Incrementa el tiempo de ciclo y en este caso lo hace variable. Para 8 señales, carece de importancia. E4, dispone de otra herramienta para solucionar paradas inmediatas con tiempo de scan largo y variable.
Editar la pantalla D01, es muy sencillo, solo hay que inscribir las variables MB100 (cantidad o número de fallo) y MD100 (mensaje de texto por valor exacto)
Valor de estado 1 Mensaje de texto STOP IN EST.01
Valor de estado 2 Mensaje de texto STOP IN EST.02
Valor de estado 3 Mensaje de texto STOP IN EST.03
Y así sucesivamente...
Un saludo.
24
easyE4 / Antw:COM-RTU-M1 an Stromzähler (Eastron) anbinden
« Letzter Beitrag von Joerg.Klein.Kirn am Februar 19, 2026, 10:04:17 Vormittag »
Hallo ..  jetzt möchte ich auch das Projekt als Ergebnis veröffentlichen . Vielleicht hilft es jemand .
25
easySoft / Antw:Why is indirect addressing hidden? This deserves proper visibility.
« Letzter Beitrag von ablas am Februar 19, 2026, 08:15:56 Vormittag »
I know, E4 is restricted and you can't write the INPUT STATE TABLE; I agree that's only appropriate for "large" PLCs. Even so, it's the most valuable resource. In the attached PDF, I've included part of some past work, which I humbly believe can be considered a standard. The header states that it corresponds to a Bosch CL500.
Ya sé, E4 está capado y no se puede escribir la TABLA DE ESTADOS DE ENTRADAS, estoy de acuerdo de que eso solo es apropiado para PLCs “grandes”. Aun así, es el recurso más valioso. En el pdf adjunto, dejo parte de un trabajo de mi pasado, creo humildemente que se puede considerar como un estándar. En la cabecera dice que corresponde a un CL500 de Bosch.
26
easySoft / Why is indirect addressing hidden? This deserves proper visibility.
« Letzter Beitrag von ablas am Februar 18, 2026, 23:26:40 Nachmittag »
I came across something today that I honestly find unacceptable in the manufacturer’s documentation.
The most powerful feature of this PLC — indirect addressing using bracket notation, such as M[MD100] := I[MD100] — is buried inside a section about arrays, with no emphasis, no dedicated explanation, and no indication of its importance.

Thanks to this feature, I was able to implement indirect fault handling, dynamically iterate through inputs, and manage alarms without duplicating code. It transforms the programming model: scalable logic, cleaner structure, and far fewer lines of repetitive instructions.

It is a serious oversight that such a fundamental capability is not highlighted, documented clearly, or demonstrated with proper examples. Many programmers could go years without realizing it exists simply because it is hidden in a chapter where no one would expect to find the key to the most flexible part of the language.

The manufacturer should reconsider how this is presented.
If anyone here has never used indirect addressing, take a look — it is arguably the most powerful tool this PLC offers.
27
easyE4 / Ehternet with PoE
« Letzter Beitrag von dmsque am Februar 18, 2026, 19:39:06 Nachmittag »
Hello!
Is it possible (and safe) to connect E4 (197215) via Ethernet cable that connected to PoE-port? NOT for powering, ofcourse)
28
easySoft / Antw:E4 und EASY-RTD-DC-43-03B2-00
« Letzter Beitrag von radar17892 am Februar 18, 2026, 13:04:03 Nachmittag »
Hallo,
war bei mir auch, das der Taster als Öffner in der Simulation gehangen hat.
29
easySoft / Antw:E4 und EASY-RTD-DC-43-03B2-00
« Letzter Beitrag von Sonnbach am Februar 15, 2026, 22:19:53 Nachmittag »
 Danke Mario für den Hinweis.
Ein- Taster (Schliesser) funktioniert, Aus- Taster (Öffner) bleibt in der Simulation hängen. Was habe ich nun wieder übersehen?
Muss ich das zuerst auf die Geräte laden damit es funktioniert?
Danke und Gruss Fredi
30
easySoft / Antw:E4 und EASY-RTD-DC-43-03B2-00
« Letzter Beitrag von Sparlock am Februar 15, 2026, 16:52:13 Nachmittag »
Hallo,

im Versuchsprogramm ist ein RTD mit Firmware 1.0.0 ausgewählt. Für normale Taster in der Visualisierung braucht das RTD Advanced die Firmware 1.2.0. Diese lässt sich aktualisieren.

Gruß
Mario
Seiten: 1 2 [3] 4 5 ... 10