Anyway to indirectly address I/O based on slot # instead of having to first map each point to a secondary tag? Prefer to be able to address based on both slot and point but not sure if either is possible with the new platform.
For example, can this be indirectly addressed
Local:8:O.Pt00.Data
as
Local:INDEX:O.Pt00.Data?
INDEX is a tag in this case that will hold the value of slot # being addressed. The above method does not work. Is there another way to do this? Perhaps I am not using the correct syntax. I am open to either a ladder or a structured text based solution while not having to map values first to a secondary tag. There are 14 slots involved and mapping each individual data point to another Tag first each and every scan before they can be indirectly addressed, does not seem like an efficient way to do do things.
As an alternate, can the "Local:8:O.Pt00.Data" be copied over to another Int tag to include all 16 data points? That is ultimately what I am wanting to do.
Thanks.
For example, can this be indirectly addressed
Local:8:O.Pt00.Data
as
Local:INDEX:O.Pt00.Data?
INDEX is a tag in this case that will hold the value of slot # being addressed. The above method does not work. Is there another way to do this? Perhaps I am not using the correct syntax. I am open to either a ladder or a structured text based solution while not having to map values first to a secondary tag. There are 14 slots involved and mapping each individual data point to another Tag first each and every scan before they can be indirectly addressed, does not seem like an efficient way to do do things.
As an alternate, can the "Local:8:O.Pt00.Data" be copied over to another Int tag to include all 16 data points? That is ultimately what I am wanting to do.
Thanks.
Last edited: