I've been digging into some of Ignition's internal JSON and noticed that bound properties on tags and alarms are represented as JSON objects with a bindType field. I'm trying to understand what the valid values are for each context, but I can't find any documentation on this format, most of what I find covers Perspective/vision designer bindings, which seems to be a different thing entirely.
Here's what I've observed so far from copying JSON out of Ignition directly:
Tag properties (e.g. opcItemPath, LongID- a custom property):
{"bindType":"parameter","binding":"ParamName"}
This is the only tag property binding type I've seen so far.
Alarm properties (e.g. activeCondition, setpointA, priority):
{"bindType":"Expression","value":"{[.]SomeTag} > 0"}
{"bindType":"UDTParameter","value":"{ParamName}"}
{"bindType":"Tag","value":"[default]path/to/tag"}
These three match the three options visible in the Designer alarm binding when i right click copy JSON after i bind.
Questions:
- For tag properties: is parameter the only valid bindType, or are there others I haven't encountered yet?
- For alarm properties: are Expression, UDTParameter, and Tag the complete set, or are there additional types?
- Is there any documentation on this JSON structure? The Perspective binding docs don't seem to cover the tag/alarm side of things.
Running 8.3.2. Thanks.