Introduction To Data Logging On The NA OverviewThe NA Series includes a Data Logging feature that allows variables to be stored in a data log, and later viewed on the screen as a trend. A dataset is required in order to log data, a dataset contains a list of variables as well as the configuration of the trigger to log (interval or on a condition). To start data logging for a dataset, there are two options, either to automatically start logging when starting up, or a manual start-up using an action or code. It is possible to configure for each data set where it will be stored, either on the SD card, or on a mass storage device connected via USB. Data Logging at RuntimeData logging is carried out to an intermediate location in MRAM. Once dedicated MRAM space is used up, data will be transferred to a corresponding data set CSV file located on SD card or USB stick. In case of power down, MRAM is saved automatically. When duration of CSV Data Set file ends, that file is closed and saved, and a new file will be started. Setting up a Data SetTo create a new data set, in the solution explorer click on Data Logging (right click) -> Add -> Data Set. The following will appear:
Each Data Set has the following properties: • Name – a unique name for this Data Set (Sysmac Studio naming rules apply). o Daily – Specifies new Data Set files should be started daily. o After Specific Time Period – Specifies new Data Set files should be started after a specific time period. Time Period – Specifies the time period. o After Specific Number of Logs - Specifies new Data Set files should be started after a specific number of logs have been written to the existing one. Number of Logs – Specifies the number of logs. The user can change the order of variables on the list. This will change to order in which the variable and it’s values are being written to the csv file. Data logging in VB scriptThe following actions and events are available for user, this are also accessible through the VB.NET: See Also:Introduction to the NA series HMI Link: |
Comments | ||
|