If you’re simply looking for the structure of the tag, I believe that you are looking for
If you’re attempting to read/write from a tag, please continue reading below.
All tag reads and writes in 8.0 need to be Async, because of the potential for delay due to the network part of the information chain. If you have a Session open and you use a script to request a tag value, you do not want to pause the session while the request is sent to the Gateway and then returned - in extreme cases, requests could take several seconds.
This is where the callback function of readAsync and writeAsync becomes important: you must define what to do with the requested value (or what to do with the quality code of the write request). This callback function is where you should define any property you would like updated with the requested value.