bmw_apprentice
Member
So. I am no longer an apprentice, as my name suggests. I am quite a number of years into being a PLC programmer in various ways.
I now am finding I am using perhaps not the best working practices simply due to not getting much education these days and getting over problems on the fly. I wanted to start a little series of trying to sharpen my skills. I have a project using WinCC in TIA portal. Never used WinCC, never used TIA Portal. The project is now complete but I have access pretty much every week and want to use it to work on my skills.
So, I am going to explain how I did something, and I wondered if you had comments on the technique and practices and if I am being a bit rubbish and how to improve.
I need to load a HMI screen in sequence for checks by the operator. The checks can be configured on an admin screen on the HMI. When the operator starts the checks I have some code in the PLC checking which check sequence they have started then load the data into the a DB in the PLC from a master DB. This "HMI DB" is then shown on the HMI. When the user selects "next", I move the data back and load the next check to the "HMI DB". No scripting in the HMI, single tags on data fields then load everything on click, but in the PLC.
Is this good practice? I am thinking more and more that it is a long winded painful way to do something. How would you do it?
Is my explanation as bad as it looks? I realised half way through typing that explaining this isnt as easy as I had thought
I now am finding I am using perhaps not the best working practices simply due to not getting much education these days and getting over problems on the fly. I wanted to start a little series of trying to sharpen my skills. I have a project using WinCC in TIA portal. Never used WinCC, never used TIA Portal. The project is now complete but I have access pretty much every week and want to use it to work on my skills.
So, I am going to explain how I did something, and I wondered if you had comments on the technique and practices and if I am being a bit rubbish and how to improve.
I need to load a HMI screen in sequence for checks by the operator. The checks can be configured on an admin screen on the HMI. When the operator starts the checks I have some code in the PLC checking which check sequence they have started then load the data into the a DB in the PLC from a master DB. This "HMI DB" is then shown on the HMI. When the user selects "next", I move the data back and load the next check to the "HMI DB". No scripting in the HMI, single tags on data fields then load everything on click, but in the PLC.
Is this good practice? I am thinking more and more that it is a long winded painful way to do something. How would you do it?
Is my explanation as bad as it looks? I realised half way through typing that explaining this isnt as easy as I had thought