We are using ANSL to talk between different machine types, but we have a certain machine which could talk to many different devices and multiple at the same time depending on the line configuration. I was hoping I would be able to set the IP address from the HMI at runtime for the TargetAddr in the data object. Is there a way I can write to a STRING variable within the data object?
This is the same for when we have multiples of the same machines on one network and we need to reassign addresses for what talks to which machine.
This should be possible using the DatObjWrite FUB.
There is a sample available in AS with which you can read from or write to an existing dataobject, also using a STRING var.
Due to one month of inactivity, this post will be marked as solved. If you would still like assistance on this topic, please add a new reply with the latest status.
Thank you