I have problem STEP5 programme regulator

B

botr

Guest
Zuviel Werbung?
-> Hier kostenlos registrieren
I it can not find what set and reset marker M104.6 i M104.7
Marker acts 100% what spectators online.
He is probably placed somewhere indirectly.
I ask about help
 

Anhänge

  • LBE1.zip
    94,3 KB · Aufrufe: 16
have a Look in the "HMI" some HMIs can set and reset variables.

Or you look if the variable is used like Byte or Word.
in S5 you can search with the "F2" Button
 
Zuviel Werbung?
-> Hier kostenlos registrieren
I can't found using of Byte or Word.
I think, in one of the FB must be an indirect function i.e. B xxx T MW0 (MB0)
Only one time in FB33 is an T MW0.
It's difficult (mystic) :twisted:.
 
Symbol-Table
MW 98 MW 98 3 - Punkt Schritt Ausg.Regler Muffel 1
MW 100 MW 100 3 - Punkt Schritt Ausg.Regler Tr.Austr.
MW 102 MW 102 3 - Punkt Schritt Ausg.Regler Tr.Eintr.
MW 104 MW 104 3 -Punkt Schritt Ausg.Regler Primaerluft
MW 106 MW 106 3 - Punkt Schritt Ausg.Regler Zentrall.
MW 108 MW 108 3 - Punkt Schritt Ausg.Regler Muffel 2
MW 110 MW 110 3 - Punkt Schritt Ausg.Regler Tr.Austr.

M 98.6 M 98.6 Kuehll.Muffel 1 - (DB 27)
M 98.7 M 98.7 Kuehll.Muffel 1 + (DB 27)
M 100.6 M 100.6 Temp.Trockner Austritt - (DB 20) Staub
M 100.7 M 100.7 Temp.Trockner Austritt + (DB 20) Staub
M 102.6 M 102.6 Temp.Trockner Eintritt - (DB 22)
M 102.7 M 102.7 Temp.Trockner Eintritt + (DB 22)
M 104.6 M 104.6 Primaerluft - (DB 21)
M 104.7 M 104.7 Primaerluft + (DB 21)

M 106.6 M 106.6 Zentralluft - (DB 23)
M 106.7 M 106.7 Zentralluft + (DB 23)
M 108.6 M 108.6 Kuehll.Muffel 2 - (DB 24)
M 108.7 M 108.7 Kuehll.Muffel 2 + (DB 24)
M 110.6 M 110.6 Temp.Trockner Austritt - (DB26) Oel
M 110.7 M 110.7 Temp.Trockner Austritt + (DB26) Oel

Search in DB:

D:\Test\DB27.AWL(156: KH 7E62 --> 98
D:\Test\DB26.AWL(156: KH 7E6E --> 110
D:\Test\DB24.AWL(156: KH 7E6C --> 108
D:\Test\DB23.AWL(156: KH 7E6A --> 106
D:\Test\DB22.AWL(156: KH 7E66 --> 102
D:\Test\DB21.AWL(156: KH 7E68 --> 104
D:\Test\DB20.AWL(156: KH 7E64 --> 100
Symbol-Table

M 104.6 M 104.6 Primaerluft - (DB 21)
M 104.7 M 104.7 Primaerluft + (DB 21)

In DB21 DW156 --> KH7E68 68H=104 Dez

Next we must search for indirect Call for DW156?
 
Zuviel Werbung?
-> Hier kostenlos registrieren
I Think its like my first idea.
in your HMI the "Merker" 104.6 and 104.7 will be set
to increase or decrease the preassure.
I thik that the new value of the preassure will be written in DB21. Tell me what kind of HMI is used(op7, 0p17)...
 
Next we must search for indirect Call for DW156?[/quote]

if you wont to search abot DW156 think that in S5 the DB is opened only one Time. eg. Auf Db21 in englisch opn DB21.
So if you search about DW156 you must be sure that it is DW 156 of DB21.

i hope this will help you

bye
 
1. Yes, the idea with the HMI can be the point. I can't find any other terms in the program with manipulation M104.6 or M104.7 with indirect calls.

2. Are you sure, that the program is complete? Where ist the FB with the Automatic controller?

3. In FB35 the desired value is produced, but then?

PS: That's all for this week, tomorrow I have to go to an intertetfree zone :-(
 
Zuletzt bearbeitet:
Oh, now I can see, you must have the Comreg from Siemens to administrate the controler. (I have read your question for comreg)
In DB21 have we found 7E.., that is the code for flags (Merker). Also the fb102 writes the flags you asked.
When I have unterstand right, in DB2 (in the moment I don't have your program) ist the administrationcode for using FB102 from your plc. In newer versions of step5 the progam can call the FB102 directly, in older versions on other way (over an OB (OB13??))?????????.
 
yes R64 was (is) a very nice piece of software.
to make some thinks a little bit clearer a short desription.
the controller consits of three parts:
1. FB 102 is the controller program, it's an assembler fb, so it dosen't help mutch to look inside
2. DB 2 is the controller list, normally created with COMREG but possible without, if you know where to put what ;) .
here you tell the operating system of the S5 cpu the no of your controller db(s) and the scan time of your controller(s)
3. DB xx (in your case DB 20, 21 ..) is the controller db, here you find all the data thats used for a single controller - setpoint, gains ...
in dw156 for example is the destination address of your + / - outputs
it's called "Ad d r e s s of process Image of output bits" - that's how your M 104 is handled.
inside your plc program you have to set thinks like controller enable or supply setpoints / actual values (depending on the parameters of the controller, structuer bits etc). evverthing else is done by the operating system of the cpu. that's why you won't find a call of the FB102 or a T MB104 or something like that.
all these things are nicely described in the manual of the R64.

hope that helps and have fun
 
Zurück
Oben