|
Hi, I am pretty new to this game so just getting my head around it all. I have a program written in Beckhoff's TwinCat PLC control program. We are using PC based automation. My issue is I have this structure declared:
Now I want to make a global variable (ideally a global constant) of type T_GPGGA and assign values to each string within the structure. I realise now it could have been done with an array, but that would require changing a bunch of code (which I will probably do in a while), but just interested to know if I can assign values when creating an instance of a structure, or only when I define the type. Thanks Steve |


