source: MML/trunk/machine/SOLEIL/common/synchro/set_septa_actif_delai.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 815 bytes
Line 
1% special delai septum actif boo et ans
2% logée l'extraction sur la crete du septa
3
4septclk=52*184/2; % = 52 tours booster : max delai sur injection
5% valeur de tension a basse cadence (soft)
6%temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay');     boo=temp.value(2)
7%temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay'); ans=temp.value(2)
8boo=31240305;
9ans=31240316;
10
11nstep=1
12try
13    tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',(boo + nstep*stepclk));
14    tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',    (ans + nstep*stepclk));
15catch
16    display('Erreur ajustement tension septa passif')
17end
18
19
20return
21% start value
22
23tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo);
24tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans);
Note: See TracBrowser for help on using the repository browser.