Industry Online Support
Technical Forum
8/29/2011 7:11 PM | |
Posts: 5 Rating:
|
This document and supporting files will allow the user to capture a trace of one or two parameters to a text file for further analysis by Microsoft Excel. This works with MICROMASTER and G120, and demonstrates the Microsoft VB script functionality available to the user in Starter for any Sinamics drive. The trace feature available in many drives has proven a valuable tool. Recently, this tool was added to a new line of G120 control units. However, for certain legacy drives, trace was not available. This FAQ demonstrates the use of a script file to capture data (referred to here as trace) from an MM4 or G120 to a text file on a PC. Two script files, one for a single parameter trace and one for a two parameter trace, are attached which can be imported into Starter. Alternatively, the script text, which follows, can be copied and pasted into an open script file in Starter. When the script is executed (with a right click “Accept and execute”) the text file path and name can be entered, a parameter selected, number of sampling points chosen, and then the script executes. Following script execution, the text file can be opened or imported into excel for graphical evaluation. The resolution will vary depending on the PG/PC interface version and speed, the number of parameters captured, and other factors. The data captured is not isochronous. A Profinet trace to a G120 will capture many more data points per second than an RS232 interface with a MICROMASTER, for example. The time in the trace example shown showed in the data that in the first second, 10 data points were recorded (100 ms per point), but most of the seconds had six data points recorded (166ms per point).For a G120 and Profinet interface, sampling rates varied from 16 to 23 sampling points per second (62 ms per point to 43 ms per point). In any case, despite the irregularities in sampling rate based on Windows processes and communications interfaces, the function does provide a window into the process that might not otherwise be available!The scaling of the signals for the desired graphical display can be adapted in Microsoft Excel. AttachmentMM4_G120 Trace.zip (297 Downloads) |
This contribution was helpful to
2 thankful Users |
2/7/2018 4:24 PM | |
Posts: 6 Rating:
|
hey; I followed the instructions mentioned but i cant't find the trace.txt that suppose to cantain the parameter's evolution. thank you for your help |
2/7/2018 6:57 PM | |
Posts: 5 Rating:
|
See link below, it is updated. |
Last edited by: Jen_Moderator at: 2/8/2018 10:04:55 AMOptimized link. |
|
Follow us on