[Libnodave-users] Antwort: Re: Sending HW-Config over LibNoDave?
Status: Beta
Brought to you by:
lettoz
|
From: <chr...@if...> - 2011-07-20 12:00:47
|
Dear Thomas Hergenhain and all Libnodave users.
We tested your proposal and made some progress. But i have of course some
more questions ;)
First some Details:
You are correct, if i send the SDBXXXX.mc7 in the same order the Step7
software uses, the PLC does accept and use them.
WARNINGS:
- The following SDB download order was determined in S7 CPU 319-3 PN/DP
(Software ver 2.8.4) and S7 CPU 315-2PN/DP (Software ver 2.6.7). It could
be different on other PLC hard-/software.
- The SDBs has to be sent as a whole. (Sending only 1 SDB will not work and
causes an inconsistent error. OBs of FBs on the other hand can be sent
seperate)
- The below order only shows the mentioned SDBs we used...
If your project contain SDBs which are not mentioned, you need to check
their position in the download order!! (Because it can be anywhere)
If your project contain less SDBs as listed, you just send them in the
order below. (Just ignore the ones you don´t have)
- Check the SDBs which are in the PLC: If your PLC contains SDBs you don´t
have in your actual project, do NOT load your project! (Because it looks
like the SDBs are not cleaned in the PLC during load with libnodaves
testISO_TCPload.exe -> when you download the "smaller" project, the other
SDBs of the PLC will remain, and will cause an inconsistent error)
- Note: I set the PLC into "Stop" before sending the SDBs.
(- Note: SDB2 is a special one and can not be loaded into the PLC... ignore
it.)
SDB Download Order (See above Warnings!!):
First SDB 7, then 4, 3000, 2000, 2001, 1000, 1, 3, 22, 122, 1001, 999, and
last SDB 0
The general important notice:
I/we can not guarantee anything. The noted Informations worked for us, but
we can not held responsible if it does not work for you or even damage your
system.
My new questions:
As mentioned above in the warnings, if the PLC contains more SDBs than my
project and i upload my SDBs, the system will show the inconsistent error.
(The testISO_TCPload.exe from Libnodave does not clean the surplus SDBs)
Is there a way to clean the SDBs in the PLC using Libnodave? Can Libnodave
maybe cause a "general reset" ("Urlöschen") and a "copy ram->rom"?
Or do you have an idea / know a workaround for this problem?
Thanks in advance :)
With best wishes
C. Hayna
ifm ecomatic gmbh
Im Heidach 18
88079 Kressbronn
Germany
Tel. +49 (7543) 608-584
Fax +49 (7543) 608-240
***Achtung: Bitte beachten Sie unsere neuen Telefon- und Faxnummern!
E-Mail: chr...@if...
Homepage: www.ifm.com
_______________________________________
Sitz der Gesellschaft ist Kressbronn
HR B 630930 Amtsgericht Ulm
Geschäftsführer:
Bernd Boolzen, Andreas Daum
_______________________________________
"Thomas
Hergenhahn"
<Thomas.hergenhah An
n...@we...> chr...@if...
Kopie
07.07.2011 13:14 Lib...@li....
net
Thema
Re: [Libnodave-users] Sending
HW-Config over LibNoDave?
The hardware congiguration is contained in various SDBs (system data
blocks). These data blocks can be read and sent using Libnodave.
But there is a problem: The CPU expects them in certain order which I do
not know. If blocks are sent in a different orde, the CPU might not
accept them or show unexpected behaviour.
You can experiment yourself:
- back up your CPU with Step7
- read all blocks using Libnodave (the test programs have an option to do
that)
- look what SDBs you have got
- completely erase your CPU
- try to load the blocks again into your CPU
If it doesn't work, try a different order.
Try to read out HW-Config with Step7
Try to read it out after loading only some SDBs.
DO NOT BLAME ME IF YOUR CPU GETS UNUSEABLE!
-----Ursprüngliche Nachricht-----
Von: chr...@if...
Gesendet: 07.07.2011 12:00:01
An: lib...@li..., libnodave-hilfe
Betreff: [Libnodave-users] Sending HW-Config over LibNoDave?
>
>Dear all LibNoDave Users and Dear LibNoDave Creator(s).
>
>My coworkers and i started to use LibNoDave to work with an S7 - 319
PN/DP.
>Everything works fine so fare.
>We connected an PC over Ethernet to the Profinet plug on the PLC. Then we
>used libnodave to read/write I/O- and other memoryblocks succesfully.
>
>We also now that it is possible to load program blocks to the PLC.
>But we are wondering:
>Is it possible to upload an entire project and/or the hardware
>configuration into the PLC using libnodave?
>
>
>If someone has done this before or has an idea/comment, please send me an
>email.
>
>Thanks a lot in advance :)
>
>
>With best wishes
>
>C. Hayna
>
>ifm ecomatic gmbh
>
>Im Heidach 18
>88079 Kressbronn
>Germany
>
>Tel. +49 (7543) 608-584
>Fax +49 (7543) 608-240
>***Achtung: Bitte beachten Sie unsere neuen Telefon- und Faxnummern!
>
>E-Mail: chr...@if...
>Homepage: www.ifm.com
>_______________________________________
>
>Sitz der Gesellschaft ist Kressbronn
>HR B 630930 Amtsgericht Ulm
>Geschäftsführer:
>Bernd Boolzen, Andreas Daum
>_______________________________________
>
>
>------------------------------------------------------------------------------
>All of the data generated in your IT infrastructure is seriously valuable.
>Why? It contains a definitive record of application performance, security
>threats, fraudulent activity, and more. Splunk takes this data and makes
>sense of it. IT sense. And common sense.
>http://p.sf.net/sfu/splunk-d2d-c2
>_______________________________________________
>Libnodave-users mailing list
>Lib...@li...
>https://lists.sourceforge.net/lists/listinfo/libnodave-users
___________________________________________________________
Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://produkte.web.de/go/toolbar
|