Showcases General

Chart


WIth Chart you can show data as

  • static datas, this are fixed datas you enter manually.
  • datalogger, this are historical datas and store in a SQlite database.
  • dynamic, this are dynamic datas direct from CODESYS

Prerequisites

  • WP400: install PLCVisu on the device and use it as an Visualization Panel
  • PFC300: Install CODESYS and PLCVisu
  • CC100: Install CODESYS and PLCVisu

Chart with fixed datas

Please follow the steps:

  1. Charts - NEW
    Choose the Bubble Timeline Chart

  2. Data connection to Static Data end enter the values manualy

  3. Bring the Chart object on the visu screen

  4. see the Chart in RUN mode

Chart with historical datas

Please follow the steps:

  1. Data connection to datalogger

    With the max datapoints you setup the FIFO register. If the interval is 1000ms,
    max datapoints = 60 x 60 x 24 x 365 = 3153600 contains 1 years data.
    You can choose an custom database file on any location e.g. SD-card.
    Otherwise it will be stored on the internal flash.
    CAUTION : be aware of the free disk space.

  2. select the dataset setup and add as many datapoints you want

  3. select the datapoint from the Data Tree Picker

    and save.

  4. The datalogger starts automatic and records the datapoints every presetet interval time e.g. 1000ms. With the Button "Data Preview"


you can see the recorded records on the screen.

  1. Select the Chart

    Press NEW

  2. Select the type of the chart, recoment : Line Graph

  3. Select the Data Source

  4. Set head datas an enable the refresh

  5. Set Zoom enable and scrollsbar and mini Preview

  6. Bring the Chart object on the visu screen

    select the chart and with this icon

    you can direct call the settings of the chart.

  7. see the Chart in RUN mode

Chart with dynamic datas

Please follow the steps:

  1. Define the following struct in CODESYS
TYPE Turnover :
STRUCT
    January : REAL;
    February : REAL;
    March : REAL;
    April : REAL;
    May : REAL;
    June : REAL;
    July : REAL;
    August : REAL;
    September : REAL;
    October : REAL;
    November : REAL;
    December : REAL;
END_STRUCT
END_TYPE
  1. Initalize the struct in CODESYS
VAR_OUTPUT
  Turnover2025          : Turnover := (January := 100, February := 110);    
  Turnover2026          : Turnover := (January := 200, February := 210, March := 220, April := 230, May := 240, June := 230, July := 220, August := 210, September := 200, October := 190, November := 180, December := 150);
  i                     : int;
END_VAR

The Names of the struct element e.g. "January" appears automatic on the X-axis.

  1. Data connection to Online Data with the right struct per each series

  2. Bring the Chart object on the visu screen

  3. see the Chart in RUN mode

VAR_OUTPUT Turnover2025 : Turnover := (January := 100, February := 110); Turnover2026 : Turnover := (January := 200, February := 210, March := 220, April := 230, May := 240, June := 230, July := 220, August := 210, September := 200, October := 190, November := 180, December := 150); i : int; END_VAR
TYPE Turnover : STRUCT January : REAL; February : REAL; March : REAL; April : REAL; May : REAL; June : REAL; July : REAL; August : REAL; September : REAL; October : REAL; November : REAL; December : REAL; END_STRUCT END_TYPE

Downloads

Name Type Version Link ChangeLog
CC100_RemoteTable PlcVisu project [.gz] 1.0.0 Download 2026-09-04 09:47:44
CC100_RemoteTable CODESYS [.projectarchive] 1.0.0 Download 2026-09-04 09:48:55