PITZ Laser Beam Line Control |
LBL Axis configuration files The following private conventions are adopted for the LBL server :
Example 1, REAL : MIRROR.M3.VER.cfg # The order of lines in this file is arbitrary. # The line names, however, are mandatory, they are checked against # an internal list for correctness and completeness and are used to # sort lines according to the programs needs. # The variable types (int, float, hex, char) are checked as well. # Any error is FATAL and stops further Database initialization and hence # the startup of the server. DeviceUsage 1 !1=REAL,2=SCAN,3=DOUBLE,4=DOUBLESCAN AxisName MIRROR.M3.VER !Crosscheck,upper case,digits or dots, char[20] Steps_per_Revolution 20 !Stepper motor parameter, int Gear_Reduction 256.0 !Can be also < 1.0, float Screw_Pitch_mkm 250.0 !Displacement per full screw turn, float Speed_Max_Hz 400 !Max freq for StepMot trapez operation, int Speed_Min_Hz 8 !Min freq for StepMot trapez operation, int Speed_Slow_Hz 40 !Freq for StepMot const speed oper., int Max_Steps 163840 !Displacement range of the device(8.0mm), int Overdrive_Steps 2560 !Overdrive for CCW displacemement, int Micro_Steps 8 !Microsteps per full step, int Base_Length_Mirror_mm 100.0 !For mirrors only, otherwise 0.0, float Distance_to_Next 3412.0 !Dist to NextDevice (M3->M4,M4->Cath...), float Factor_to_Next 1.4142 !Fact. to correct vertical on next, float VME_Base_Addr_hex 6008 !Should be XXXabb (a=0..f,bb=00 or 08), hex Direction_Inversion -1 !Connect int. and ext. coord. syst (1/-1),int Connection_Status 1 !If -1 device disconnected from IPS, int AxisText1 MIRROR !For display on GUI screen, char[20] AxisText2 M3 !For display on GUI screen, char[20] AxisText3 Vert._direction !For display on GUI screen, char[20] AxisText4 on_M4(mm) !For display on GUI screen, char[20] NextDevice MIRR._M4 !For display on GUI screen, char[20] MirOrPin 1 !0=PINHOLE,1=MIRROR, int FirstDevice DUMMY !REAL device to be used, char[20] FirstFactor 0. !See docu, float SecondDevice DUMMY !REAL device to be used, char[20] SecondFactor 0. !See docu, float MinScanRange 0. !Minimal scan range, float
Example 2, SCAN : MIRROR.S5.VER.cfg # The order of lines in this file is arbitrary. # The line names, however, are mandatory, they are checked against # an internal list for correctness and completeness and are used to # sort lines according to the programs needs. # The variable types (int, float, hex, char) are checked as well. # Any error is FATAL and stops further Database initialization and hence # the startup of the server. DeviceUsage 2 !1=REAL,2=SCAN,3=DOUBLE,4=DOUBLESCAN AxisName MIRROR.S5.VER !Crosscheck,upper case,digits or dots, char[20] Steps_per_Revolution 20 !Stepper motor parameter, int Gear_Reduction 256.0 !Can be also < 1.0, float Screw_Pitch_mkm 250.0 !Displacement per full screw turn, float Speed_Max_Hz 400 !Max freq for StepMot trapez operation, int Speed_Min_Hz 8 !Min freq for StepMot trapez operation, int Speed_Slow_Hz 40 !Freq for StepMot const speed oper., int Max_Steps 163840 !Displacement range of the device(8.0mm), int Overdrive_Steps 2560 !Overdrive for CCW displacemement, int Micro_Steps 8 !Microsteps per full step, int Base_Length_Mirror_mm 100.0 !For mirrors only, otherwise 0.0, float Distance_to_Next 2300.0 !Dist to NextDevice (M3->M4,M4->Cath...), float Factor_to_Next 1.4142 !Fact. to correct vertical on next, float VME_Base_Addr_hex 6108 !Should be XXXabb (a=0..f,bb=00 or 08), hex Direction_Inversion -1 !Connect int. and ext. coord. syst (1/-1),int Connection_Status 1 !If -1 device disconnected from IPS, int AxisText1 MIRROR !For display on GUI screen, char[20] AxisText2 M5 !For display on GUI screen, char[20] AxisText3 Vert._direction !For display on GUI screen, char[20] AxisText4 on_VC(mm) !For display on GUI screen, char[20] NextDevice VIRT._CATH !For display on GUI screen, char[20] MirOrPin 1 !0=PINHOLE,1=MIRROR, int FirstDevice MIRROR.M5.VER !REAL device to be used, char[20] FirstFactor 1. !See docu, float SecondDevice DUMMY !REAL device to be used, char[20] SecondFactor 0. !See docu, float MinScanRange 0.1 !Minimal scan range, float
Example 3, DOUBLE : MIRROR.34.HOR.cfg # The order of lines in this file is arbitrary. # The line names, however, are mandatory, they are checked against # an internal list for correctness and completeness and are used to # sort lines according to the programs needs. # The variable types (int, float, hex, char) are checked as well. # Any error is FATAL and stops further Database initialization and hence # the startup of the server. DeviceUsage 3 !1=REAL,2=SCAN,3=DOUBLE,4=DOUBLESCAN AxisName MIRROR.34.HOR !Crosscheck,upper case,digits or dots, char[20] Steps_per_Revolution 20 !Stepper motor parameter, int Gear_Reduction 256.0 !Can be also < 1.0, float Screw_Pitch_mkm 250.0 !Displacement per full screw turn, float Speed_Max_Hz 400 !Max freq for StepMot trapez operation, int Speed_Min_Hz 8 !Min freq for StepMot trapez operation, int Speed_Slow_Hz 40 !Freq for StepMot const speed oper., int Max_Steps 163840 !Displacement range of the device(8.0mm), int Overdrive_Steps 2560 !Overdrive for CCW displacemement, int Micro_Steps 8 !Microsteps per full step, int Base_Length_Mirror_mm 100.0 !For mirrors only, otherwise 0.0, float Distance_to_Next 3162.0 !Dist to NextDevice (M3->M4,M4->Cath...), float Factor_to_Next 1. !Fact. to correct vertical on next, float VME_Base_Addr_hex 6000 !Should be XXXabb (a=0..f,bb=00 or 08), hex Direction_Inversion 1 !Connect int. and ext. coord. syst. (1/-1),int Connection_Status 1 !If -1 device disconnected from IPS, int AxisText1 M3&M4 !For display on GUI screen, char[20] AxisText2 CORRELATED !For display on GUI screen, char[20] AxisText3 Hor._direction !For display on GUI screen, char[20] AxisText4 on_Cathode(mm) !For display on GUI screen, char[20] NextDevice NONE !For display on GUI screen, char[20] MirOrPin 1 !0=PINHOLE,1=MIRROR, int FirstDevice MIRROR.M3.HOR !REAL device to be used, char[20] FirstFactor 0.06672 !See docu, float SecondDevice MIRROR.M4.HOR !REAL device to be used, char[20] SecondFactor 0.2264 !See docu, float MinScanRange 0. !Minimal scan range, float
Example 4, DOUBLESCAN : CATHOD.34.HOR.cfg # The order of lines in this file is arbitrary. # The line names, however, are mandatory, they are checked against # an internal list for correctness and completeness and are used to # sort lines according to the programs needs. # The variable types (int, float, hex, char) are checked as well. # Any error is FATAL and stops further Database initialization and hence # the startup of the server. DeviceUsage 4 !1=REAL,2=SCAN,3=DOUBLE,4=DOUBLESCAN AxisName CATHOD.34.HOR !Crosscheck,upper case,digits or dots, char[20] Steps_per_Revolution 20 !Stepper motor parameter, int Gear_Reduction 256.0 !Can be also < 1.0, float Screw_Pitch_mkm 250.0 !Displacement per full screw turn, float Speed_Max_Hz 1000 !Max freq for StepMot trapez operation, int Speed_Min_Hz 20 !Min freq for StepMot trapez operation, int Speed_Slow_Hz 200 !Freq for StepMot const speed oper., int Max_Steps 163840 !Displacement range of the device(8.0mm), int Overdrive_Steps 2560 !Overdrive for CCW displacemement, int Micro_Steps 8 !Microsteps per full step, int Base_Length_Mirror_mm 100.0 !For mirrors only, otherwise 0.0, float Distance_to_Next 3162.0 !Dist to NextDevice (M3->M4,M4->Cath...), float Factor_to_Next 1. !Fact. to correct vertical on next, float VME_Base_Addr_hex 6000 !Should be XXXabb (a=0..f,bb=00 or 08), hex Direction_Inversion 1 !Connect int. and ext. coord. syst. (1/-1),int Connection_Status 1 !If -1 device disconnected from IPS, int AxisText1 M3&M4 !For display on GUI screen, char[20] AxisText2 CORRELATED !For display on GUI screen, char[20] AxisText3 Hor._direction !For display on GUI screen, char[20] AxisText4 on_Cathode(mm) !For display on GUI screen, char[20] NextDevice NONE !For display on GUI screen, char[20] MirOrPin 1 !0=PINHOLE,1=MIRROR, int FirstDevice MIRROR.M3.HOR !REAL device to be used, char[20; FirstFactor 0.06672 !See docu, float SecondDevice MIRROR.M4.HOR !REAL device to be used, char[20] SecondFactor 0.2264 !See docu, float MinScanRange 0.1 !Minimal scan range, float |
Last update by R. Leiste on 26.02.2004 (leiste@ifh.de) |