Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi all,
I am working on a use case using the kepware API to create kepware tags. Long story short, I want to create many tags with an empty/placeholder address and then can update the address at a later time as needed, but don't know what address will always be there regardless of machine that I can use. When I try to create a tag using the API with an address that doesn't exist it errors, which is why I am looking for a "universal address". I don't have much experience with PLC or address stuff so any help on this would be appreciated.
Solved! Go to Solution.
Greetings,
You cannot add tags that do not have a valid address. There is no universal address that will work with all devices. Each device has specific address formats that must be followed. You can create multiple tags with the same address, so once you find one that works for a specific device, you can assign that address to all the tags. However, this will depend on the device.
Regards,
Mohit
Greetings,
You cannot add tags that do not have a valid address. There is no universal address that will work with all devices. Each device has specific address formats that must be followed. You can create multiple tags with the same address, so once you find one that works for a specific device, you can assign that address to all the tags. However, this will depend on the device.
Regards,
Mohit