information retrieval from industrial controllers through node.js appliaction server

Download Information retrieval from industrial controllers through Node.js Appliaction Server

Post on 02-Mar-2016

29 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

The assignment has been done with union of several technologies i.e. NODE.js, JavaScript, PHP, HTML, SOAP, SVG, WSDL etc. In the runtime environment Node.js I have used JavaScript combining it with PHP, HTML, SOAP and SVG.

TRANSCRIPT

  • MEI-23106: Introduction to Industrial Informatics Assignment Information retrieval from industrial controllers

    1

    Introduction Service-enabled devices start to be deployed at

    the factory floor. These give possibility to develop

    monitoring applications following same

    communication standards. This assignment is

    based on monitoring a unit production system

    from remote location via application server and

    communication with the web services of the

    system.

    Methodology The assignment has been done with union of

    several technologies i.e. NODE.js, JavaScript, PHP,

    HTML, SOAP, SVG, WSDL etc. In the runtime

    environment Node.js I have used JavaScript

    combining it with PHP, HTML, SOAP and SVG.

    Assignment Architecture The assignment is mainly concerned about

    communicating with Industrial Controller and

    information retrieval and to develop a real time

    monitoring system. In this assignment, a

    monitoring system has been developed using web

    services to gather information from Robot work

    cell and to present it in a web browser.

    The architecture can be defined as the below

    UML Diagram UML diagrams has been drawn by Visual

    Paradigm V12.0. A Use Case Diagram and a

    Sequence Diagram has been used for preparing

    the blue print of the program.

    Use Case Diagram

    Fig; Use Case Diagram

    Sequence Diagram

    Fig Sequence Diagram of monitoring System

    Coding The whole coding has been done in NODE.js

    syntax in a java script file. PHP, HTML, SVG are

    combined with JavaScript and SOAP has been

    integrated inside it.

    Web interface design To build a monitoring system, one of the very

    important stage is to design a user friendly and

    easily understandable interface. Graphical

    WEB BROWSER

    WEB SERVER / APPLICATION SERVER

    INDUSTRIAL CONTROLLER (INICO S1000)

  • MEI-23106: Introduction to Industrial Informatics Assignment Information retrieval from industrial controllers

    2

    representation can be a very good solution for

    this. SVG or Scalable Vector Graphics has been

    used in web interface for visualization of the

    pallet status on conveyor and robot status.

    Node.js programming for client server Using Node.js a client server / an application

    server has been created. Using SOAP technology

    communication with the controller has been

    done. SOAP makes a request through the server

    to the web service of the controller/ WSDL. WSDL

    process the request for the controller and gets a

    result from the controller and deliver it to the

    server for client use.

    Results The whole code has been saved in a JavaScript

    file according to NODE.js syntax and run in

    NODE.js.

    There is three outcome from this monitoring

    system, one operation of the Robot and two

    operation of the conveyor.

    The monitoring system consists of

    Conveyor Status

    Robot Status

    Pallet location among five zones.

    The operation of the robot is

    When there is a pallet in zone 3, the

    robot will be invoked to process the

    pallet of zone 3.

    The two operations of the conveyor is

    Transfer out request from the previous

    conveyor

    Transfer request from zone 1 to zone 3

    Web Interface The web interface is as follows