system events concept presentation
Upload: fast-lab-factory-automation-systems-and-technologies-laboratory-tampere-university-of-technology
Post on 29-Nov-2014
438 views
DESCRIPTION
TRANSCRIPT
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
System overview
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
S1000 operating messages
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
Messages flow
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
DPWS function block
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
Rule engine
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
Flow messages through the system
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