23
Laurent Peters Software Engineer Jean-Paul CORMANN Technical Support Manager

Laurent Peters - eWON · PDF fileLaurent Peters. Software Engineer. ... o Ignition: SCADA by Inductive Automation ... o Documentation & Reference guide

Embed Size (px)

Citation preview

Laurent PetersSoftware Engineer

Jean-Paul CORMANNTechnical Support Manager

Laurent PETERSJean-Paul CORMANN

Talk2M DataMailbox

Where are we?

In this presentation, the topic we talk about is:o Data Collection

This means we show how to…

Collect historical data from eWONs and store it into your Scada, Historian, …

SCADA, ERP,Historian,…

Server-sideApplication

Internet

eWON

PLC

Sensors

Before the DataMailbox

What is the pain?

Hosting as a public Internet servero Requires IT skills and infrastructure:

− Server facing the Internet− Public IP− Firewall− SSL certificate for secure connections

Data Synchronizationo Users want to synchronize their data from the field (eWONs).o « Give me the history samples that I haven’t received yet. I don’t want to

handle duplicate history samples, I don’t want to implement obscure protocols or create ultra-complex SQL queries. »

o iow: « Just give me the new data »

Talk2M DataMailbox

Talk2M DataMailbox

Temporary storage for tags and alarms history

eWON pushes the data to its DataMailbox

Easy and straightforward way to retrieve new data

Remember your old mailbox managed by your ISP

DataMailbox Benefits

No need to install and manage a servero No MySQL DB managemento No Internet-facing public web server

DMWeb: A super-easy data synchronization protocolo RESTful API similar to the M2Web APIo In one call, retrieve the new datao Very easy and straightforward Json-based formato Supports all usual programming languages & platforms

Talk2M is your turnkey VPN Server. Now it is also your turnkey Web/DB server

DMWeb API

Goal: Download data from the DataMailbox Server

HTPPS-based, similar to M2Web APIo Credentials : t2maccount, t2musername, t2mpassword, t2mdevido getewons, getewono getdata: retrieve historical data using criterias (date, tag, ewon)o delete, clean

syncdata: download all NEW historical data without duplicates

DMWeb APIsyncdata

Data

Mai

lbox

Serv

ersyncdata ? create Transaction

New Data + transaction Id = 4567

Historical Data + transaction Id = 1234

syncdata ? create Transaction & last Transaction Id = 4567

+ more data available

syncdata ? create Transaction & last Transaction Id = 1234

Example

https://data.talk2m.com/syncdata?t2maccount=myaccount&t2musername=myname&t2mpassword=mypassword&t2mdevid=61ddac56-6976-4d3e-ad4e-a79dde788010

&createTransaction&lastTransactionId=4567

ZIP

Show time

eWON configuration

1. Create Tags to acquire data from the fieldo Embedded IO-Servers for standard protocols

o Basic Scripting or Java EDK for custom protocols

2. Enable historical logging of tagso Store on value changeso Store on time interval

3. Configure the push data to the DataMailboxo Define URL: ewondata.talk2m.como Define upload intervalo Define Tag filter (only export important data)

DataMailbox Viewer

Example: My Little Historian

Example: My Little Historian

My Little Historian: One page of codeo An effective historian from scratch in one page of codeo Handles duplicateo No need to poll eWONso Optimized data transfero Sources available in SDK

Use case

Use case with a SCADA/Historian software

o Ignition: SCADA by Inductive Automation

o Ignition contains/allows:− Internal scripting engine (python script language)− https request− Json decoder

o Using the DMWeb API “syncdata” retrieve data from the DataMailboxand insert it into Ignition Tag historian

Summary

Store & Forward: We do NOT store customer datao Let me repeat: We do NOT store customer datao The Data Mailbox is a temporary buffero This is why we call it a mailbox

remember your old mailbox managed by your ISP

Use caseso Historianso Business Intelligence solutionso Reporting toolso Big Data

Talk2M DataMailbox = Data Collection + Easy

Big Data

Big Data – What is the idea behind the buzzword?

o Sensors everywhere: The Internet of Thingso Dataloggingo Measure, sample, log data, even if you don’t know why NOW.o As soon as data mining and crunching apps are developed, you can use

them rightaway since you are already collecting data.o The more you know about your machine or process, the better you can

optimize it.

In our industrial worldo Industrial IOTo Industry 4.0o Industrial Internet

In practice…

Sample data with your FlexyCollect it in the DataMailboxDownload the Talk2M DataMailbox SDKo Documentation & Reference guideo DataMailbox Viewer applicationo Sample code

Request your Talk2M Developer IDo Available on web site

Start programming your DataMailbox connector!o Starting from SDK sample code

Give us your feedback !

Follow us www.ewon.biz

Thank You

Pricing ModelPricingo Maximum 500.000 NEW points per month per

DataMailbox on FREE+Account− 111 tags recorded every 10 minutes (or 11 tags

recorded every minutes)

o 3.000.000 NEW points per month per Datamailboxincluded on a TalK2M PRO account− 670 tags recorded every 10 minutes− 1€ per additional 1.000.000 points/month

Typical application: 50 tags per eWON recorded every 10 min

− => 223.200 points per month

DataMailbox Storage Concept

It is rather designed as a temporary storage system

Implemented as a circular buffer with a maximum retention of 10 days

− Data are kept maximum 10 days (except if a M2WEB API Delete call has been issued),

− Data older that 10 days are automatically deleted