Professional Documents
Culture Documents
Chapter 3
ODBC Database: 已
• Need to be authenticated by
Windows ODBC Manager
(odbcad32.exe)
Project Node
RTDB ODBC
• Can write into multiple ODBC
database simultaneously
`
Write to ODBC
ActPSLINKODBC_1.dat 已
BwDataUpOdbc.exe BulfPSLINKODBC_1.dat
ActPSLINKODBC_x.dat
Execute BulfPSLINKODBC_x.dat
Dissemble data by different Database
`
Project Node BwDataUp.exe
ActPSLINK. dat
Execute
Exact
`
BwPsLinkZip.exe
SCADALOG_Proj_Node_xxxxxx.dat
RPC
`
3 choose 1 Remote Call Copy Data to
Datalog Datalog
SCADA Node
RTDB RTDB Datacore.exe Generate Data
SCADALOG.dat
Write Data Into
InFluxdb
Data Analysis: 【16:08:00 ~ 16:12:00】 Time 16:08:00 16:09:00 16:10:00 16:11:00 16:12:00
16:10:59
• Data Log ->Write 16:10:00~16:10:59 data in 16:11:00 Device Data 205 265 325 385
【Log in next second】
Data Log 204 264 324 384
• ODBC ->Write 16:10:00~16:10:59 data in 16:10:00 ODBC 204 264 324 384
【Log in previous second】
3.1.2 Datalog
ODBC Database:
• Need to be authenticated by
Windows ODBC Manager
(odbcad32.exe)
Project Node
• Can write into multiple ODBC
ODBC
database simultaneously
Datalog
3.1.2.2 RTDB
RTDB:
SCADA Node
1) Data Log: C://WebAccess/Node/ProjectName_SCADAName/LOG/
RTDB
3.1.2.3 InfluxDB
InfluxDB :
SCADA Node
1) Data Location: C://WebAccess/Node/Influxdb/
3.1.3 ODBC
ODBC Database: 已
• Need to be authenticated by
Windows ODBC Manager
(odbcad32.exe)
Project Node
RTDB ODBC
• Can write into multiple ODBC
database simultaneously
1) In SCADA node tree, go to Tag List , click the tag you want to log,
and click 【Edit】
2) In【Basic Information】, Go to Log Data, Choose【Yes】
3) In【Basic Information】, Go to Data Log Dead Band, enter
【Number (percentage)】(If the tag value varies more than this percentage, it will be
logged, otherwise it will not.
3.2.2 Create Trend Graph
Process to create new trend:
✓ Plot Type:Number
(The data display pattern in a specified Click Submit to finish
interval)
3.2.2.3 Create Self-Defined Trend
Procedures:
1) Go to tree diagram, select the SCADA node, and click【Draw】
2) Open DrawDAQ homepage, click Open DRW
3) Enter【realtrd.dxx or dlogtrd.dxx】to open Real Time or Data log
trend template (dxx is the main template file, please do not overwrite it)
※【cc】in .bcc & .dcc should use【01】~【99】number to replace View Trend on SCADA Node
3.2.2.4 Modify Trend Graph Template
➢ Goal: ➢ Goal:
Choose the user-defined log period and the log interval In data log trend, user can customize some alarm lines to
of the selected templates. make them acknowledge the alarm situation easier.
➢ Configuration modification:
1) Go to tree diagram select SCADA node, and click【Edit】
2) Go to【Data log】, in Use RTDB For Data Log, change it from
【No】to【RTDB】
➢ Data Conversion:
1) Execute【C:\WebAccess\Node\ConvToRTDB.EXE】
• Go to Tag List > select a tag > Edit > Data log
3.4.2 Download InfluxDB studio
• Download website:
https://support.advantech.com/support/DownloadSRDetail_New.aspx?SR_ID=1-1KRCCHH&Doc_Source=Download
3.4.3 How to verify data is logged into InfluxDB
• Execute InfluxDBStudio.exe, click connect (InfluxDBStudio is located under influxDBStudio-0.2.0 folder which
can be downloaded in previous link)
3.4.3 How to verify data is logged into InfluxDB
• You can see SCADA node name and datalogX data log in second level
SQL Query:
SELECT *
FROM "datalogX"
order by time desc
2
3.4.4 Check Data Log Trend
3
1
5
3.5.2 ODBC configuration
4
3.5.3 Configure ODBC log data source
1
2
3
3.5.3 Configure ODBC log data source
• Enter a new ODBC Log Data Source, and click Submit for New ODBC Log Data Source, and select it
• Click “Connection Test” can test if the data source can be connected successfully
2
3.5.4 How to verify data is logged to your database
• Choose the log period you want to check and select all the tag of which value you want to view
• Click Submit
1
2 4
5
3.5.5 How to use multiple ODBC data source
• Go to Tag List, for different tags, click “Edit” and choose different ODBC Log Data Source for the tags
respectively
Agenda
• 3.6 Excel Report
– 3.6.1 Basic Concept of excel report
– 3.6.2 Data Log
– 3.6.3 ODBC
– 3.6.4 Alarm
– 3.6.5 Action log
– 3.6.6 Event log
– 3.6.7 Renew / Delete report
– 3.6.8 Add Template
3.6.1 Basic concept of excel report
(1).Excel Report
WebAccess/SCADA Excel reports are
generated from the historical Data log, ODBC
data (Analog, Discrete, and Text Tag), Alarm
Log, Action log, and Event log based on the
templates built by the data table and analysis
charts as the report format in the WebAccess
SCADA Node. Users & Operators can build
customized report templates based on EXCEL
functions and key words and uploaded in the
WebAccess Excel report function to
automatically generated
daily/weekly/monthly or specific date reports.
The function provide extensive analysis and
viewing functions for statistical and event
data. Reports are built using easy to follow
“Report Template Forms” based on Excel
format. View immediately in View DAQ via IE
or local PC or store as “Predefined Reports”
for later use.
3.6.1 Basic concept of excel report
(2). How to go to excel report setting
Please go to SCADA node setting and click on
“Report”. Excel report option would be
shown as picture.
Email Setting:
User does not need to collect excel report by
surfing computer. System will help to send
Email with excel report(or PDF form) when
generating report.
3.6.3 ODBC
(1). Data source from ODBC database
When ODBC Data is chosen, system will pop
up one more row to inform user which
database would like to be used as data source.
The rest setting are the same as datalog.
3.6.4 Alarm
(1). Alarm Excel Setting
When Alarm log type is chosen, user
need to configure below properties:
1. Template: template would
become alarm template. User can
also check what template looks
like by using magnifier icon
2. Filter: Filer alarms by using
priority/alarm groups/user
name/project node name/project
node IP address.
3. Sort by
time/tag(name)/priority/alarm
groups to show in excel report.
3.6.4 Alarm
(2). Alarm Excel Report template
3.6.5 Action Log
(1). Action Log Setting
When Action log type is chosen, user
need to configure below properties:
1. Template: template would
become alarm template. User can
also check what template looks
like by using magnifier icon
2. Filter: Filer alarms by using
priority/alarm groups/user
name/project node name/project
node IP address.
3.6.5 Action Log
(1). Action Log template
3.6.6 Event Log
(1). Event Log Setting