How to export tags
Discuss this topic at Factory I/O Community Forum
You can export the mapping between scene tags and driver I/O points by clicking on the export button 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()
anddrivers.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()
andscene.export_tags('file name')
:
Exports all tags in the scene to a plain text file (txt).scene.export_tags_csv()
andscene.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