Skip to main content
13-Aquamarine
September 26, 2024
Solved

Empty address that can be used as placeholder when creating kepware tag using Configuration API

  • September 26, 2024
  • 1 reply
  • 583 views

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. 

Best answer by MRohilla

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

1 reply

MRohilla12-AmethystAnswer
12-Amethyst
October 3, 2024

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