I’m trying to add an OPC tag with an alarm via system.tag.addTag()
The example in the manual is as follows:
system.tag.addTag(parentPath="", name="TagAlarm", tagType="OPC", dataType="Int2",
attributes={"OPCServer":"Ignition OPC-UA Server", "OPCItemPath":"[MLX]N7:0"},
alarmConfig={"Alarm 1":[["name", "Value", "Alarm 1"], ["setpointA", "Value", 1.0]],
"Alarm":[["name", "Value", "Alarm"], ["Something", "Value", "sdfsdfs"],
["enabled", "Expression", "1=2"]]})
How do you find the name of the property that you want to change? In the example above “name”, “Something”, and “enabled” make sens but “setpointA” is assigned the value of “1.0” and I’m unclear where they got “setpointA” from…? How can I figure out what the other property references would be called?