slow-control GERDA-lock-system 080609
Transcript of slow-control GERDA-lock-system 080609
slow control
for the
lock system
2008-06-09
Markus Kästle
Max-Planck-Institut für Physik
(Werner-Heisenberg-Institut)
9.6.2008 Markus Kästle 2
slow control GERDA lock system
• hardware function tests
• communication
• PLC and Touchpanel programs
• LabView programs (lock system PC)
• next steps
Overview
9.6.2008 Markus Kästle 3
slow control GERDA lock systemhardware function tests
• motors
� tested
�wired
� characteristics
quantified
• pressure gauges
� tested
• vacuum pumps
� tested
9.6.2008 Markus Kästle 4
slow control GERDA lock systemcommunication
lock system PLCcryostat PLC
control room
OPC
Ethernet, S7-communication
lock system
linear pulley
motorsC
AN
open
detector storage
flow controllers
lock system touchpanels lock system control PC
OPC
lock system shutters
lock system sensors clean room monitors
clean room PLC
9.6.2008 Markus Kästle 5
slow control GERDA lock systemcommunication
� flow controllers detector storage� lock system control PC w/ OPC server� linear pulley motors (CAN)� touchpanels
� control room main system (OPC) � cryostat PLC (S7 communication)� clean room PLC (S7 communication)
• clean room monitors• sensors• shutters
communication interfaces
9.6.2008 Markus Kästle 6
slow control GERDA lock system
• program structure definition finalized• basic state machine running• state „PLC init“ runs stable
– detect available motor controllers
– initialization of available controllers
– realtime read-out of status and position
• motor movement control– default parameters defined
• touchpanel control– force screen changes
– block/allow pushbuttons
PLC programming
PLC program progress
9.6.2008 Markus Kästle 7
slow control GERDA lock systemPLC programming
program structure
ma
inp
rog
ram
cycle
error handler
error detection
state machine
TP screenhandler
lock system statedependent tasks
lock system
standard tasks
PLC init
startup
shutdown
measurement
Emergency Stop
standby
move detectors
setup
calibration
on
lyo
ne
, sta
ted
ep
en
de
nt
off
maintenance n
try to activatemotor controller
activation ok?
load defaultparameters
mark mc as„not available“
mark mc as„available“
de-activatemotor controller
try next mc
last mc?
PLC init „done“
n
y
y
9.6.2008 Markus Kästle 8
slow control GERDA lock system
state machine screenoperational concept
is tested
Touchpanel programming
move detectors screenbasic operational concept
is tested
already implemented Touchpanel program parts
9.6.2008 Markus Kästle 9
slow control GERDA lock systemLabView programming
lock system control PC – Tasks
• run LabView „CLEanroomMOnitoring“– control detector storage flow controllers
– log lock system detector movements
– log lock system parameters
– log lock system errors
– log clean room parameters
– monitor lock system
• run lock system OPC server– data connection (PLC to LabView)
– enables special „control room“ control channel
9.6.2008 Markus Kästle 10
slow control GERDA lock systemLabView programming
LabView – screenshots
preliminary
motor controllersstates and errors
lock PLC monitoring detector storage flow control
stringstates
preliminary
PLC show state
log fileconfiguration
lock sensorshow states
flow controllershow states
single storage and summarized flows
flow controllerset values
9.6.2008 Markus Kästle 11
slow control GERDA lock systemnext steps
• detail interfaces• continue wiring• program PLC
– motor movement control
– error detection and handling
• program touchpanels– menu structure
• program LabView• test programs• definition / tests of precise movement parameters
– immersion speed
– cable warming time (for detector upward movements)
– …