Hi,
I'm still at the beginning of my journey with TIA, and am doing something for which I'm sure there must be a better way than writing each bit individually.
I have a data type that I defined with 15 boolean tags in, however I want to pack these individual tags into a word inside a data block for the SCADA system to read, rather than individual bits.
To achieve this at the moment I am doing it bit by bit in ladder which just seems uneconomical, especially when I have to repeat this several times.
Please tell me there is a better way.
Thanks.
Edit: Found a way with a bit of Googling. Thanks if you looked anyway.
I'm still at the beginning of my journey with TIA, and am doing something for which I'm sure there must be a better way than writing each bit individually.
I have a data type that I defined with 15 boolean tags in, however I want to pack these individual tags into a word inside a data block for the SCADA system to read, rather than individual bits.
To achieve this at the moment I am doing it bit by bit in ladder which just seems uneconomical, especially when I have to repeat this several times.
Please tell me there is a better way.
Thanks.
Edit: Found a way with a bit of Googling. Thanks if you looked anyway.
Last edited: