2/12/2015 11:12 AM | |
Joined: 9/28/2007 Last visit: 2/20/2024 Posts: 234 Rating: (12) |
Dear Experts The attachment file has S5 135U Programs. i want to find out a password stored in DATEN@ST.S5D or 260397ST.S5D. This password is used in HMI for entering Machine Data for Motor Parameter. Actually my program was wash out due to Battery problem. when i download 260397ST.S5D this file my password for machine data on HMI is 0000 but after downloaing DATEN@ST.S5D DB blocks password is changed. now i want to know where the password is stored in these file. Password is 4 digit numeric code. it is confirmed. but what is the password i dont know. can anybody help me. how can i find password in DB blocks. please help me or guide me to find out the stored password. AttachmentAttachments_2015212.zip (546 Downloads) |
Muhammad Munir |
|
2/13/2015 3:15 AM | |
Joined: 10/7/2005 Last visit: 11/18/2024 Posts: 3027 Rating: (1057)
|
Hello 256 have a look at FB251 which is called at PLC startup. DW 42 to 49 in DB 10 contain the login values for the 4 different access levels. These values are preset with KS 00 on startup providing DW 7 in DB 10 has a value of 0 on PLC startup. As such the quick fix is (most likely as I can't test it) to set DW 7/DB10 to zero and carry out a PLC restart (and thereafter use the HMI to define new login codes for each level). Alternatively, check the actual values in DW 42, 44, 46 and 48 of DB 10 and use the existing login codes. I hope this helps
|
Cheers |
|
2/16/2015 12:43 AM | |
Joined: 10/7/2005 Last visit: 11/18/2024 Posts: 3027 Rating: (1057)
|
Hello 256 how did I find this information? Well, I hazarded a guess and and started by looking into the start up routines where things like these are usually preset and initialised and bingo, there it was (Being involved in Automation Engineering for longer than I care to remember, I suppose experience helps with tasks like these too.) As for helping you to understand the whole program, I'm sorry, but that would be an ardeous task without having the actual running machine in front of my eyes, but a great opportunity for yourself to gain experience. I hope this helps
|
Cheers |
|
2/18/2015 12:04 AM | |
Joined: 10/7/2005 Last visit: 11/18/2024 Posts: 3027 Rating: (1057)
|
Hello the values seem to be in ASCII format and each access Level occupies a Double word (e.g Level 1 code is in DW 42 and DW43 ), so display these DB10 DW's in a Variable table in KS format and you'll get:
As for undertstanding STL, OB's etc., please do a search for your S5 CPU here and download the manual for it which will tell you everything you want to know. I hope this helps |
Cheers |
|
2/20/2015 2:17 AM | |
Joined: 10/7/2005 Last visit: 11/18/2024 Posts: 3027 Rating: (1057)
|
Hello 256 as mentioned before, I took an educated guess and started by looking into the start up OB's (OB20, 21 and/or 22 and the Blocks called from them) where things like these are usually preset and initialised. Experience definetely comes in handy in these cases, but as they say "experience is a wonderful thing, unfortunately you only gain it right after you needed it". The good news is though that you can gain eperience yourself so don't be afraid to have a go at it (and of course there's also plenty of people here in the forum to advice and help too in case of specific questions). By the way, your zip file had a number of S5 backups in them, I looked at the one that still had comments in it (STER02ST.S5D) which greatly helps with task like this. For sure, the comments are in German, but even in this case clearly stated CODE 1, CODE 2 etc. as well as hinting at "KS" format as per program snippet from FB251 below: L KS 00 ;CODE 0000 = DEFAULT EINSTELLUNG I hope this helps |
Cheers |
|
Follow us on