Go to the source code of this file.
Detailed Description
Define single bending mirror actuator to radius of curvature translation
Author: Ronaldo Mercado
Defined axes:
- X (addr 6) = Radius of curvature in km
Macros
- COORD = CS number, e.g. 2
- PLC = PLC number, should be CS number+15, e.g. 17
- J1 = Axisnum for bending actuator
- SLOPE = slope [1/Km / mm ]
- INTERCEPT = intercept [1/Km]
- LIMIT = [Km] where the CS stops operating
This CS relies on the fit presented in SCI-OPT-REP-0058 where 1/R is ~ linear with the number of counts
Definition in file CS_bender.pmc.
Define Documentation
#define J1MOVE P(4700+$(J1)) |
#define J1MRES P(4800+$(J1)) |
#define J1OFF P(4900+$(J1)) |
#define J1POS (J1MRES*m$(J1)62/(I$(J1)08*32)+J1OFF) |
#define J1POS (J1MRES*P$(J1)+J1OFF) |
#define SETERROR M(100*$(COORD)+5082)=1 |