easy-forum
Deutsch - Hardware => easyE4 => Thema gestartet von: srd am Juli 18, 2022, 16:03:30 Nachmittag
-
We would like to do some controls for a valve, what is the easiest way if is was as follows i1 = 8ma output, i2 = 13ma output, i3 = 16ma output and i4 = 18ma.
-
Hi
are you looking for the hardware or the programming?
you need four different outputs or one putput with four values?
-
Hello,
I don't quite get it yet.
An analog output QA05 is to be controlled.
If digital input I1 1 signal then 8 mA at QA
If digital input I2 1 signal then 13 mA at QA
If digital input I3 1 signal then 16 mA at QA
If digital input I4 1 signal then 18 mA at QA
I1 to I4 are designed with a selector switch so that several inputs never have 1 signal at the same time.
Or is that to be locked in the program?
Hallo,
ICH verstehe es noch nicht ganz.
Ein analoger Ausgang QA05 soll gesteuert werden.
Wenn Digitaleingang I1 1 Signal dann 8 mA an QA
Wenn Digitaleingang I2 1 Signal dann 13 mA an QA
Wenn Digitaleingang I3 1 Signal dann 16 mA an QA
Wenn Digitaleingang I4 1 Signal dann 18 mA an QA
I1 bis I4 werden mit einem Wahlschalter ausgeführt, sodass nie gleichzeitig mehrere Eingänge 1 Signal haben.
Oder ist das im Programm zu verriegeln?
-
Versuche dieses Beispiel aus der Anlage für die Beschreibung von der letzten Antwort von mir.
Try this example from the attachment for the description from my last reply.
Eingabebereich für den UF Konstante 0-20 (mA). Nur Zahlen ohne Kommastelle.
Input range for the UF constant 0-20 (mA). Only numbers without decimal places.
-
Cheers Juergen that works a treat.
-
How cheaky would it be to have the program done in LD (ladder diagram).
-
Its a selector switch to open a solenoid valve to different positions to control the amount of flow through it.
-
How cheaky would it be to have the program done in LD (ladder diagram).
Hello, do you need a KOP main program?
You can also insert the UF there.
Or should the UF also be created in KOP?
Hallo, benötigst du ein KOP Hauptprogramm?
Da kannst du auch den UF einfügen.
Oder soll auch der UF in KOP erstellt werden?
-
Hello, here is a KOP LD (ladder diagram) main program :)
-
All KOP LD (ladder diagram)
If digital input I1 1 signal then 8 mA at QA (80)
If digital input I2 1 signal then 13 mA at QA (130
If digital input I3 1 signal then 16 mA at QA (160)
If digital input I4 1 signal then 18 mA at QA (180)
Input range 0-200 for the UF constant 0-20 (mA).
-
Hello,
here is an optimized program.
Without module LS.
Direct entry of mA with a factor of 10.
For example, 18.5 mA is possible when entering 185.
UF building block in structured text, because there are better simpler options here.
You can't look into the manufacturer's components either.
Text display in mA with one decimal place
Hallo, :)
hier ein optimiertes Programm.
Ohne Baustein LS.
Direkte Eingabe von mA mit Faktor 10.
So sind zum Beispiel 18,5 mA bei Eingabe 185 möglich.
UF Baustein in strukturierten Text, da hier bessere einfachere Möglichkeiten sind.
Auch in die Herstellerbausteine kannst du nicht hineinschauen.
Textanzeige in mA mit einer Kommastelle
-
Hi Jurgen that is brilliant thanks for helping me with that.