{}

Our Brands

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
How can a report be configured to output in CSV format in Citect SCADA?

SUMMARY
This FAQ describes how a report can be configured in Citect SCADA to output in CSV format.

SITUATION
All versions of Citect SCADA.

ACTION
In order to create a CSV format report output, the ASCII_DEV device format needs to be used together with a comma separated template

Please follow the step by step instruction below to configure the report.

1. Create the following device, which will be used as an "output device" for the report. Please note the Device type has to be an ASCII_DEV :

Image_2021-03-29_16-57-38.png

2. Create a text file in Notepad, which will be used as a "format" file for the report.

Image_2021-03-29_17-59-23.png

Date() - gets the current date
TIME() - gets the current time
LOOP_1_OP, LOOP_2_OP and LOOP_3_OP - test variable tags configured in Citect. Please see LOOP_1_OP variable configuration below.

image.png

3. Create a new report specifying the Format File, that was created in step 2, and the Output Device, that was created in step 1:

Image_2021-03-29_18-04-54.png


4. When the report is run, the following .csv file is created with the following contents:

Image_2021-03-29_18-12-29.png

5. Further if you would like headings in the report file, you would just need to pre-create the report file, with the headings separated by commas:

image.png

Schneider Electric New Zealand

How can a report be configured to output in CSV format in Citect SCADA?

SUMMARY
This FAQ describes how a report can be configured in Citect SCADA to output in CSV format.
 
SITUATION
All versions of Citect SCADA.
 
ACTION
In order to create a CSV format report output, the ASCII_DEV device format needs to be used together with a comma separated template

Please follow the step by step instruction below to configure the report.
 

1. Create the following device, which will be used as an "output device" for the report. Please note the Device type has to be an ASCII_DEV :
 

Image_2021-03-29_16-57-38.png
 

2. Create a text file in Notepad, which will be used as a "format" file for the report.
 

Image_2021-03-29_17-59-23.png

Date() - gets the current date
TIME() - gets the current time 
LOOP_1_OP, LOOP_2_OP and LOOP_3_OP - test variable tags configured in Citect. Please see LOOP_1_OP variable configuration below. 
 

image.png

3. Create a new report specifying the Format File, that was created in step 2, and the Output Device, that was created in step 1:

Image_2021-03-29_18-04-54.png


4. When the report is run, the following .csv file is created with the following contents:
 

Image_2021-03-29_18-12-29.png

5. Further if you would like headings in the report file, you would just need to pre-create the report file, with the headings separated by commas:

image.png

 
 

Schneider Electric New Zealand

Explore more
Range:
Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
Explore more
Range:
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.
Your browser is out of date and has known security issues.

It also may not display all features of this website or other websites.

Please upgrade your browser to access all of the features of this website.

Latest version for Google Chrome, Mozilla Firefox or Microsoft Edgeis recommended for optimal functionality.