Import tags with scalemode and alarms

Hi all,
Trying to update a large number of tags that are configured with alarms, based off the configuration they had in the SCADA package we are converting from.
I’ve already partially configured the alarms and need to update this, but no matter what changes I make in my JSON file (constructed from a excel spreadsheet of a CSV export of the old SCADA package) they don’t come though. There are no errors in the JSON file, the import completes without any complaints if I set it to Overwrite.
This is also occurring when trying to change the scaleMode property for the tags to set to BitInversion.

Which version of ignition are you trying to import in to?


Can’t say, depends upon your format. Are you configuring only alarms thru JSON file or importing tags as well from the JSON file along with alarms. Also not clear what type of Tags do you have, only memory or OPC etc? Also what types of alarm limits do you have? Perhaps try importing from XML after checking proper format from an exported XML file?

This is one of the alarms I a trying to change:
“valueSource”: “opc”,
“scaleMode”: “BitInversion”,
“opcItemPath”: “ns=1;s=[31MC01]B11:0/14”,
“datatype”: “Boolean”,
“name”: “ID_CR_30BG01_FTC_ALM”,
“tagType”: “AtomicTag”,
“opcServer”: “Ignition OPC UA Server”,
“alarms”: [
“setpointA”: 0,
“name”: “Alarm”,
“Group”: “Crushing”,
“label”: “Radial Stacker Bogie Fail to Start”
“documentation”: “Radial Stacker Bogie Fail To Start”,
“tooltip”: “Radial Stacker Bogie Fail To Start”

Can IA comment on this? I think the tag XML file format is not very well documented, or please point to the documentation page where it can be found.

I found the documentation page

id definitely look at using the tag add/edit scripting options instead of using files. it is much more powerful.

I’ve had a look at importing the changes so scaleMode, alarm labels and alarm associated data via XML. That looks to be bringing the changes through on an import.
I guess there is an issue with the JSON import feature. Now to rebuild my spreadsheet to output XML :frowning:

1 Like