Hi,
In InTouch (I'm using v9.5) you can address bits of a tag like this:
tagname.01 = 0;
This has the advantages of only having to set up one tag and the whole item is transferred from the PLC (assuming its an I/O integer) in one lump. You can then address the bits you need in scripts etc.
I've got an application where intouch is pulling data from an S5 PLC. In the datablock I'm interested in, the data is arranged in bytes. So at the moment, I'm pulling data up as DB200 DL3 for one tag, DR3 for another tag.
I've got a lot of data to retrieve. Not only is the current method going to take ages, but it seems an inefficient way to transfer the data. If I could transfer up from the PLC as a whole word (or even double) and then address the data in intouch accordingly, then this would greatly reduce the number of transfers.
Any ideas how I might do this please? I do hate the Intouch documentation for it's lack of transparency.
Thanks,
Martin
In InTouch (I'm using v9.5) you can address bits of a tag like this:
tagname.01 = 0;
This has the advantages of only having to set up one tag and the whole item is transferred from the PLC (assuming its an I/O integer) in one lump. You can then address the bits you need in scripts etc.
I've got an application where intouch is pulling data from an S5 PLC. In the datablock I'm interested in, the data is arranged in bytes. So at the moment, I'm pulling data up as DB200 DL3 for one tag, DR3 for another tag.
I've got a lot of data to retrieve. Not only is the current method going to take ages, but it seems an inefficient way to transfer the data. If I could transfer up from the PLC as a whole word (or even double) and then address the data in intouch accordingly, then this would greatly reduce the number of transfers.
Any ideas how I might do this please? I do hate the Intouch documentation for it's lack of transparency.
Thanks,
Martin