I have a weigh scale controller I am connecting to my TwinCAT PLC. The ESI file from the manufacturer maps 18 input bytes individually, but the information read is grouped into 4 byte (DINT) or 2 byte (UINT) chunks.
I'm trying to avoid the need to individually link each of the bytes to the physical IO. Is it possible to map only to byte0, but still read all 18 bytes?
I would then break the 18 bytes out into chunks to generate the tags I need.
At present I am going to have to map each of the 18 input bytes individually then copy them into a UNION struct so I can generate the outputs. Makes the mapping painful, so hoping to find a way to avoid this.
Any advice gratefully received!