how would I write a value to a tag where the tag name changes depending on a variable?
I have a bunch of tags - ‘PN001’ through ‘PN100’
and I have a variable that defines what the number portion of the tag is, so i want to add “PN” to my variable and then use this value as the tag… something like this:
value = 500
x = PN
variable = 001
tag = str(x + variable)