How to export tags

You can export the mapping between scene tags and driver I/O points by clicking on the export button ( export icon ) on the lower-right corner of the Driver Menu.

Data is exported as a csv file for all supported drivers except for Siemens which are exported as TIA Portal compatible xml. The resulting file can be found in the Documents\Factory IO\ folder.

This feature is implemented in Allen-Bradley, Automgen, MHJ, Modbus and Siemens drivers.


The tag export functionality can also be accessed by using the following console commands:

  • drivers.export_mapping() and drivers.export_mapping('file name'):
    Exports a file containing the mapping between scene tags and driver I/O points for the current driver.
    Similar to pressing the Export button on the Driver Menu, but the file name can be specified.

  • scene.export_tags() and scene.export_tags('file name'):
    Exports all tags in the scene to a plain text file (txt).

  • scene.export_tags_csv() and scene.export_tags_csv('file name'):
    Exports all tags in the scene to a comma-separated values file (csv).

As with the tag export button, all resulting files can be found in the Documents\Factory IO\ folder.

Find additional information about console commands here

1 Like

Hey there,

Is there any way to export my mapping for OPC UA?