system events concept presentation

13
FESTO line monitoring Contact information Tampere University of Technology FAST Laboratory P.O. Box 600, FIN-33101 Tampere, Finland Email: [email protected] www.tut.fi/fast www.facebook.com/fast.laboratory TAMPERE UNIVERSITY OF TECHNOLOGY

DESCRIPTION

 

TRANSCRIPT

Page 1: System events concept presentation

FESTO line monitoring

Contact informationTampere University of TechnologyFAST LaboratoryP.O. Box 600, FIN-33101 Tampere,FinlandEmail: [email protected]/fast www.facebook.com/fast.laboratory

TAMPERE UNIVERSITY OF TECHNOLOGY

Page 2: System events concept presentation

System overview

Page 3: System events concept presentation

System overview

Guvnor

Drools Route builder

Inico Inico Inico Inico Inico Energy box

OSGI

DPWS

OUT

OUTIN

ActiveMQOUTIN

WebApp

WP ID Current Station Color Status End Time Process Time

… … … … … …

Station NameStation StatusWP IDWP Status

Power FactorApparent PowerActive PowerReactive PowerConsumed Energy

Function Manager

Visualization Block

REST SERVICES

ENER

GY

STAT

ION

WO

RKPI

ECE

Ajax, SVG, OSGI, Servlet

Page 4: System events concept presentation

S1000 operating messages

Page 5: System events concept presentation

1- Operator Input Message : The message contains the status of start – stop – reset or emergency stop buttons

2- Workstation Status Message : The message contains the work station either in idle – wait – ready – stopping – starting – processing

3- Workstation Event Message : The message contains any change in the components status of every Workstation. For instance cylinder extended – magazine empty – gripper open

4- Workpiece Status Message : The message contains the workpiece current statusfor instance Transfer in – transfer out – in processing

5- Workpiece Properties Message : The message contains the workpiece properties Color – ordination – height

S1000 operating messages

Page 6: System events concept presentation

Messages flow

Page 7: System events concept presentation

Operator input ServiceMix

Distributing unit( delivering the work piece from

the stack to the Testing unit )

Buffer unit ( storing the final assembled

cylinders )

Testing unit( Testing the color of the work

piece and deliver it to conveyor system )

Handling unit( manipulating the work piece between the conveyor and the

testing units )

Processing unit( rubbing of the of the work

piece )

Transfer in message : Workpiece ID

Transfer in response message

Transfer in message : W

orkpiece ID

Transfer in response message

Transfer in message : Workpiece ID

Transfer in response message

Transfer in message

: Workpiece ID

Transfer in response m

essage

Workstation status

Operator input

Workpiece status

Workstation events

Workstation status

Workpiece status

Workstation events

Workpiece status

Workstation status

Operator input

Workstation events

Workpiece status

Workstation status

Operator input

Workpiece properties

Workstation events

Workstation events

Workstation status

Workpiece status

Operator input

Messages flow

Page 8: System events concept presentation

DPWS function block

Page 9: System events concept presentation

DPWS function block

OSGi

DPWS-function block

DPWS Web-App

WS4D library

Web Page(User interface)

DeviceDevice

Devices

Active MQ

msg

msg’

msg’’

Functions:• Discovery of devices

in network and events in them (using WS4D library)

• Subscription management

• Edition of messages• Transportation of

message into queue in Active MQ

Page 10: System events concept presentation

Rule engine

Page 11: System events concept presentation

Drools

ActiveMQ

WebApp

RULE ENGINE:

FESTO LINE EVENTS:

Processed events as :

• OperatorInput messages• WorkstationStatus messages• WorkstationEvent messages• WorkpieceStatus messages• WorkpieceProperties messages• EnergyEvent messages

Visualization Block

rule “Structure of a rule “

when

//Receive defined messages from ActiveMQ

then

//Send well formed message to Visualization Block

end

RULES

Rule engine

Page 12: System events concept presentation

Flow messages through the system

Page 13: System events concept presentation

Flow of messages through the system

Guvnor

Drools Route builder

Inico Inico Inico Inico Inico Energy box

OSGI

DPWS

OUT

OUTIN

ActiveMQOUTIN

WebApp

WP ID Current Station Color Status End Time Process Time

… … … … … …

Station NameStation StatusWP IDWP Status

Power FactorApparent PowerActive PowerReactive PowerConsumed Energy

Function Manager

Visualization Block

REST SERVICES

ENER

GY

STAT

ION

WO

RKPI

ECE

Ajax, SVG, OSGI, Servlet