Skip to content

randolfly/TwincatToolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TLDR 🌊

Provide a swiss knife for Beckhoff | New Automation Technology | Beckhoff Worldwide development, main functionalities are listed below:

  • connect to the TwinCAT ADS Host
  • log and plot the specified symbols with predefined frequency
    • support real-time data log(min 1ms)
    • support real-time data backup
    • support real-time data plot
  • provide a 3rd-party TwinCAT HMI library

About 😸

This software is modified from randolfly/LabDataToolbox (github.com), which is mainly used to handle problems in such cases:

  1. TwinCAT scope sometimes weirdly causes Windows crash...
  2. I want to have a lightweight version of TwinCAT scope
  3. I want to check/modify a symbol value with a nicer UI than default HMI

If you encounter such problems, welcome to try this toolbox!

This toolbox has such characteristics:

  1. developed by native language, have small memory usage(about 200MB) and running stable
  2. supports comprehensive data acquisition features, including
    1. visual data selection
    2. real-time data backup
    3. dynamic display of data during the acquisition process
    4. customizable data storage types(csv and mat)

Functions Overview 🐶

Connection to TwinCAT 🍔

basic ui

  • configuration of TwinCAT ADS connection params
  • visual selection of log/plot symbols list(support search selection)
  • configuration of log params

Real-Time Data Log and Plot 🍟

pop up plot data windows

After clicking the "End Data Acquisition" button to complete the data collection, all the data results from the experiment will be displayed. The following is a screenshot of an experimental data set lasting approximately 700 seconds. The interface provides the following functions:

  • Left-click and drag: Pan the view
  • Middle-click and drag: Zoom the view
  • Middle-click: Automatically set the view size
  • Right-click: Bring up the menu

Additionally, the log data will be storage to the specified directory, 2 types of log are supported:

  • csv
  • mat

Temporary data recorded during the operation is stored in %AppData\Local\TwincatToolbox\tmp. This data will be automatically deleted after the data recording is completed.

The software configuration file is: %AppData\Local\TwincatToolbox\TwincatToolbox.json.If you need to migrate to a new computer, you can copy this file to transfer the data.