Go to the source code of this file.
Defines |
#define | BMOVE P(4700+$(BRAGG)) |
#define | BMRES P(4800+$(BRAGG)) |
#define | BOFF P(4900+$(BRAGG)) |
#define | PMOVE P(4700+$(PERP)) |
#define | PMRES P(4800+$(PERP)) |
#define | POFF P(4900+$(PERP)) |
#define | ZMOVE P(4700+$(Z)) |
#define | ZMRES P(4800+$(Z)) |
#define | ZOFF P(4900+$(Z)) |
#define | DSPACING Q20 |
#define | EVLAMBDA Q22 |
#define | BPOS (BMRES*P$(BRAGG)+BOFF) |
#define | PPOS (PMRES*P$(PERP)+POFF) |
#define | ZPOS (ZMRES*P$(Z)+ZOFF) |
#define | ENERGY Q7 |
#define | OFFSET Q8 |
#define | SETERROR M(100*$(COORD)+5082)=1 |
#define | NLAMBDA Q128 |
#define | SINTHETA Q228 |
#define | BPOS Q229 |
#define | PPOS Q230 |
#define | ZPOS Q231 |
#define | BPOS (BMRES*m$(BRAGG)62/(I$(BRAGG)08*32)+BOFF) |
#define | PPOS (PMRES*m$(PERP)62/(I$(PERP)08*32)+POFF) |
#define | ENERGY Q87 |
#define | OFFSET Q88 |
#define | NLAMBDA Q328 |
Detailed Description
Define motion for Energy in IDT sagital DCM
Original Author: Tom Cobb.
Defined axes:
- X (addr 6) = Energy in kEv
- Y (addr 7) = Beam Offset in mm
Macros (and example values):
- COORD = CS number (only works for CS 1..9), e.g. 2
- PLC = PLC number, should be CS number+15, e.g. 17
- BRAGG = Axisnum for Bragg, e.g. 2
- PERP = Axisnum for Perp, e.g. 3
- Z = Axisnum for Z, e.g. 4
Definition in file CS_IDT_sagital_dcm.pmc.
Define Documentation
#define BMOVE P(4700+$(BRAGG)) |
#define BMRES P(4800+$(BRAGG)) |
#define BOFF P(4900+$(BRAGG)) |
#define BPOS (BMRES*m$(BRAGG)62/(I$(BRAGG)08*32)+BOFF) |
#define BPOS (BMRES*P$(BRAGG)+BOFF) |
#define PMOVE P(4700+$(PERP)) |
#define PMRES P(4800+$(PERP)) |
#define POFF P(4900+$(PERP)) |
#define PPOS (PMRES*m$(PERP)62/(I$(PERP)08*32)+POFF) |
#define PPOS (PMRES*P$(PERP)+POFF) |
#define SETERROR M(100*$(COORD)+5082)=1 |
#define ZMOVE P(4700+$(Z)) |
#define ZMRES P(4800+$(Z)) |
#define ZOFF P(4900+$(Z)) |
#define ZPOS (ZMRES*P$(Z)+ZOFF) |