The vacuum interlock states are read-able via the TTTGW server. An option would be to create the server TTTGW/VacuumIntlk with the following devices, e.g.:
hasylab/petra3_p06vil.cdi.srv/V_0 hasylab/petra3_p06vil.cdi.srv/BS_0 hasylab/petra3_p06vil.cdi.srv/BS_1 hasylab/petra3_p06vil.cdi.srv/PS_0 hasylab/petra3_p06vil.cdi.srv/PS_2
The attribute STELLUNG can be 1 - closed, 2 - open, 0 - neither open nor closed.
ICSBeamshutterClose ICSBeamshutterOpen ICSBreakInterlock