cardosocea
Member
My question is, would I be able to automatically generate a Siemens PLC program, defining tags, FB, FC, logic, etc., out from a machine list (providing that I have already defined the corresponding UDTs, FCs and FBs)?
What about the HMI?
I have seen this in the past for a company I worked for. This was for pretty much the most complex system I've seen on a Siemens PLC and it was extremely well described and it was painful to configure. Basically, the software was always the same and all you had to do was to put the right values in the right DB's.
Someone not willing to do these by hand anymore, decided to write a program that would lead you through the configuration of the machine and then generate the DBs to be used.
If you understand the syntax of the exported code, there's no reason why you couldn't write it to import.
My doubts are related to the TIA portal itself as I've done this on Step7.