@Yaroslav Lyulko Very cool project! Using your example i managed to start making my own TIA Openness application, but I'm stuck with a problem. How did you manage to create the MOT.xml and the instMOT.xml? I want to import instances for my data block, but I don't know how to export/create the instance. Thanks :)
@Petter Foyn Connect TIA Openness application to TIA Portal project and type name of the block (FC, FB, DB) which you want to export into text fied near button "ExportBock", and press button "ExportBock" - fex.net/s/clrsotf (before export the block - your Program blocks should be compiled)
@Petter Foyn In my TIA Openness application I create the instances using function CreateInstDB private void CreateInstDB(string MechanismName, int InstDataBlockNumber) { XmlDocument xmlDocument = new XmlDocument(); xmlDocument.Load(xpXMLTemplates_S7_1x00 + "InstMOT.xml");
xmlDocument.SelectSingleNode("Document/SW.Blocks.InstanceDB/AttributeList/Name").InnerText = MechanismName; xmlDocument.SelectSingleNode("Document/SW.Blocks.InstanceDB/AttributeList/Number").InnerText = InstDataBlockNumber.ToString(); xmlDocument.Save(xpProgramBlocks + MechanismName + ".xml"); } So, to create XML file for instance DB I do next: - create new XML document; - load InstMOT.xml - template of Inst DB of MOT (every Inst DB is almostly similare, I mean inner XML text) - this XML template you can create using my previos message. - change name of instance; - change number of instance; - save XML document for new instance. And now you can Import back to your project this Instance.
Hello Yaroslav. All of your links to download the code for your project are not relevant. Can you update them?
Hi @Yaroslav Lyulko this is an impressive work. Will you be able to share the source code with me the link that has posted is no longer available.
fex.net/uk/s/8aerztn
ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
Hello Yaroslav, nice and simple. love to take a look. the links here are not working. Can you provide me the source?
I updated project to 15.1, please try - fex.net/s/mye1kzp
@Yaroslav Lyulko Very cool project! Using your example i managed to start making my own TIA Openness application, but I'm stuck with a problem. How did you manage to create the MOT.xml and the instMOT.xml? I want to import instances for my data block, but I don't know how to export/create the instance. Thanks :)
@Petter Foyn Connect TIA Openness application to TIA Portal project and type name of the block (FC, FB, DB) which you want to export into text fied near button "ExportBock", and press button "ExportBock" - fex.net/s/clrsotf (before export the block - your Program blocks should be compiled)
@Petter Foyn In my TIA Openness application I create the instances using function CreateInstDB
private void CreateInstDB(string MechanismName, int InstDataBlockNumber)
{
XmlDocument xmlDocument = new XmlDocument();
xmlDocument.Load(xpXMLTemplates_S7_1x00 + "InstMOT.xml");
xmlDocument.SelectSingleNode("Document/SW.Blocks.InstanceDB/AttributeList/Name").InnerText = MechanismName;
xmlDocument.SelectSingleNode("Document/SW.Blocks.InstanceDB/AttributeList/Number").InnerText = InstDataBlockNumber.ToString();
xmlDocument.Save(xpProgramBlocks + MechanismName + ".xml");
}
So, to create XML file for instance DB I do next:
- create new XML document;
- load InstMOT.xml - template of Inst DB of MOT (every Inst DB is almostly similare, I mean inner XML text) - this XML template you can create using my previos message.
- change name of instance;
- change number of instance;
- save XML document for new instance.
And now you can Import back to your project this Instance.
@@yaroslavlyulko2298 Thanks! I understand better now. This might help me solve my problems. Appreciate you taking the time to reply.
Hi Yaroslav. Can you share source code ? Please , the old links dont work...
fex.net/s/
xxcbcya
@Yaroslav Lyulko, could you please share the source code? Would help me a lot! Thank you.
I updated project to 15.1, please try - fex.net/s/rsscf6x
@@yaroslavlyulko2298 Перезалейте пожалуйста, ссылка не работает. Спасибо!
@@Anton19343 перезалил - fex.net/s/ksvbply
@@yaroslavlyulko2298 Перезалейте пожалуйста, ссылка не работает.
@@darkflag перезалил - fex.net/s/pkpdaop (там доступно только до 7 дней)
It’s possible that you share your code?
I updated project to 15.1, please try - fex.net/s/
t5t8tem
new video - ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
Hello Yaroslav, Interesting project. I think the link has expired. if it's okay, can you share it again?
I updated project to 15.1, please try - fex.net/s/8tyfcso
new video - @
Do you have the code? Could you share it? please
Hi Yaroslav can you make a new link?
fex.net/s/
xattlam
new video - ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
Hello, is it possible to have the code pls ? The link doesn't work anymore
please try - fex.net/s/pnfmdsm
@@yaroslavlyulko2298 Thanks !
@@louisonthevenet3001 Please update link again..
Do you have the code? Could you share it? Please
Hello Yaroslav, interessting but the link doesn't work
please try - fex.net/s/savf2sm
does this work in v15.1? if so, could you share your code?
ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
fex.net/s/
pftekt7
hello Yaroslav
very interesting, could you share the source code for this application?
I updated project to 15.1, please try - fex.net/s/pkpdaop
new video - ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
Hello. could you please provide source code link?
ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
fex.net/ru/s/s7txt5n
Перезалейте пожалуйста, ссылка не работает. Спасибо!
Перезалил - fex.net/uk/s/brsnnad - там уже на TIA 15.1. ua-cam.com/video/Ut1Xx8m2oSU/v-deo.html
Interesting Application, Links are expired kindly upload and share google drive link.
I updated project to 15.1, please try - fex.net/s/8tyfcso
new video - @
@@yaroslavlyulko2298 the link is broken, can you give a new one? thanks!
@@CerberusApg fex.net/s/
95m6pap - please try. I updated project to 15.1.
Yawn... wheres the code
I updated project to 15.1, please try - fex.net/s/pkpdaop