beckhoff TF3300 — 4.2.1 Automated export

Configuration 4.2.1 Automated export Along with the Scope, the TwinCAT 3 Scope Export Tool is additionally installed in the TE130X Scope View and in the TF3300 Scope Server directory. This can be used to subsequently convert contents of svdx files into the supported export formats – without Visual Studio. The tool comes complete with its documentation. For the tdms and dat formats, a full View or server license is required. The TwinCAT 3 Scope ExportTool can also be used for export via a command line call, based on specified parameters. The interface shown here can be suppressed by entering the keyword "silent" in the command line. In this case the export is executed in the background.

To automate the export, the tool can be called from the PLC via NT_StartProcess. Code sample with fixed strings and fbStartExport as an instance of NT_StartProcess:

fbStartExport( NETID:= '', PATHSTR:= 'C:\Program Files (x86)\Beckhoff\TwinCAT\Functions\TF3300-Scope- Server\TC3ScopeExportTool.exe', DIRNAME:= 'C:\Program Files (x86)\Beckhoff\TwinCAT\Functions\TE130x-Scope-View', COMNDLINE:= '"svd=c:\Scope Project.svd" target=c:\TestExport.csv silent', START:= bStart, TMOUT:= T#20S, BUSY=> , ERR=> , ERRID=> ); Export IoT File Arrays as Oversampling Symbols to CSV To export an array symbol from an IoT file as an oversampling signal to a CSV file, only the array signal is selected in the signal selection. TF3300 23 Version: 1.3.1