

The first byte is always 0x32 as protocol identifier. The S7comm data comes as payload of COTP data packets. It is used for PLC programming, exchanging data between PLCs, accessing PLC data from SCADA (supervisory control and data acquisition) systems and diagnostic purposes. Instead, you may want to look into AutoIT! to automate the portal driving so a human does not need to perform all the manual mundane steps to generate, export, delete, run the external process(es) to update the source, import back into portal, compile and analyze the errors and produce an exception report.S7comm (S7 Communication) is a Siemens proprietary protocol that runs between programmable logic controllers (PLCs) of the Siemens S7-300/400 family. Maybe by V20 of Portal they will have a command line tool you could use to drive these kinds of activities so they could be readily scripted.

He mentions things that may help you decide what kinds of changes portal will easily accept as compared to the legacy step 7 methods I suspect you already have in place.Īm I getting any closer to your question? His findings is what I was mainly suggesting would be helpful. The biggest difference is you would have significantly fewer problems since it is not performing an S7 update at the same time as is Smiffy's example. Just remember to delete the original OBs/FBs/FCs/DBs before importing.

I understand what you mean, but once exported, little difference exists if I understand correctly. Conversion form an older version is not really helping me. I want to Export an FC/FB (written in FDB) out of TIA V13 in a flat file, modify it and then Import it back in to TIA V13. I think however that my questions is different than the one you mentioned. I truly think this must be possible (in Step 7 ist was), however untill now i didn't find the way to do it.The function "Generating source from blocks" is only working when you have an SCL code already or for a data Block.Įventualy the modifyed source should give me the generated error free basic structure of (Mode, valve, Pump's, sensor, Fan, Robot) before starting with the integration of the logic. After modification of the source we would import the code back in to TIA. We are looking for a way to Export/import FC's and FB's (FBD) to a source code as for example SCL.Using the Input from Eplan I see an way to modify the source code by using scripting (outside Siemens). They all will use the same Lib/structure but will have completely different functionality. I'm participating in a project where we have to program several 1500PLC's (19).
