cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to multiple tags with the same name

Former Member
0 Kudos

Hi,

I am writing to multiple tags with the same name but in different groups. I have noticed only the tag from the first group gets updated. How can I write to a tag in a specific group in this scenario?

Regards,

Chanti.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

What is the tag source. SCADA or historian?

Former Member
0 Kudos

I am communicating with a PLC using KEPware OPC DA server.

Chanti.

Former Member
0 Kudos

Can you do somethng like a <GroupName>.<TagName>?

Former Member
0 Kudos

Can't change anything on the OPC end. The structure is fixed. Changing it involves lot of effort and lacks anybody's support. Why is MII indifferent to tags with the same name?

Former Member
0 Kudos

I was actually referring to the MII side.

Not sure if this is even possible but something like

http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG DataServer>&Mode=CurrentWrite&TagName=<Group>.<TagName>

Former Member
0 Kudos

Heres what I found.

When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<Group>.<TagName>", the outcome was "Message

Could not add "<Group>.<TagName>" to the response list.

Message

No tags selected."

When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<TagName>", it seemed like it worked fine.

Any thoughts?

Former Member
0 Kudos

Which would mean that MII doesn't recognize the tag, May be its some setting/config down in your UDS that enables browsing tags using the group names.

Let me see if I can find something else.

Former Member
0 Kudos

I believe it did work. The expression is -

http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<Group>.<Subgroup1>.<Subgroup2>...<SubgroupN>.<TagName>"

Full points to you.

Regards,

Chanti.

Former Member
0 Kudos

Although it would be nice to know how to input the group/subgroups in the form of parameters in a tag query action block. Rather than typing the name of the tag as <group>.<subgroup1>....<tagname>?

Former Member
0 Kudos

Well there are other modes for the Data server that can help you retrieving the Group List as well as the Tag List.

Play with these modes and I am sure you would be able to build your URL dynamically coz I agree theres no fun just typing out the TAG Name.

Answers (0)