...
- Move to positive closed position P1
- If error checking is enabled (Ec=1)
- Calculate drift at previous position P2: Dr=Cs-N2
- If drift is at or beyond limit (Dr>=Dl)
- Increment the upper drift violation counter Ud
- EndIf
- EndIf
- Set Flip-Flop ISR 1 (J5) to run on next Input Trip
- Hold until movement is complete
- Copy current encoder count (C2) to shadow register Cs
- Set Df=1 to signal at positive closed position
- Re-arm Input Trip (TE=4)
- Return
Mode 3: Burst (LB Z3)
- Signal state change to 30 (Burst Mode Init)
- Load Burst speeds (V3)
- Move the shutter to the nearest closed position (CL X5)
- Specify Burst Open ISR (J3) to run on Input Trip
- Arm Input Trip (TE=TE|4)
- Signal state change to 31 (Burst Loop)
- Burst Loop START (forever):
- Increment heartbeat
- Hold for 100ms
- If user sets the soft reset (Se=0)
- Branch to Fast Close (Mode 5)
- EndIf
- Burst Loop END
NOTE: Once in the burst loop, you must set Se=0 to get back to Mode Select. Burst mode is continuous, that is that , each subsequent trigger pulse will open and close the shutter.
Burst Open ISR (
...
LB J3)
- Move (MA) to open position (P0)
- If error checking is enabled (Ec=1) , check AND last position was P1 (Df==1)
- Calculate drift at previous
, assumed positive closed position (call X8) - Hold until movement complete
- position P1: Dr=N1-Cs
- If calculated drift is out of spec (Dr>=Dl)
- Increment lower drift violation counter Ld
- EndIf
- EndIf
- Specify Burst Close ISR (J4) to run on Input Trip
- Hold until movement complete
- Copy current encoder count (C2) to shadow register Cs
- Set Df=0 to indicate slits are at open position
- Signal state change to 94 (Move to open position complete)
- Specify Burst Close ISR (J4) to run on Input Trip
- Re-arm input trip (TE=TE|4)
- Return
Burst Close ISR (LB J4)
- Signal state change to 33 (Burst close signal received)
- Move (MA) to positive closed position (P1)
- If error checking is enabled (Ec=1), check drift at previous, assumed negative closed position (call X9) (this is redundant here)checking is enabled (Ec=1)
- Calculate drift at previous position P0: Dr=Cs-N0
- If calculated drift is out of spec (Dr>=Dl)
- Increment upper drift violation counter Ud
- EndIf
- EndIf
- Specify Burst Open ISR (J3) to run on Input Trip
- Hold until movement complete
- Set Df=1 to indicate slits are at positive closed position
- Copy current encoder count (C2) to shadow register Cs
- Signal state change to 91 (Move to Set Df=1 to indicate slits are at positive closed position complete)
- Specify Burst Open ISR (J3) to run on Input Trip
- Re-arm input trip (TE=TE|4)
- Return
Mode 4: Fast Open
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f663f454307c801f-34e7284b-49cf401c-8e91a48c-1d11554675e695f304519a0f"><ac:plain-text-body><![CDATA[ | Var | Value [step/s(^2)] | [deg/s(^2)]
| [rev/s(^2)]
| ]]></ac:plain-text-body></ac:structured-macro> |
---|
VI | 5300 | 1192.5 | 3.3125 |
VM | 10000 | 2250 | 6.25 |
A | 1875000 | 421880 | 1171.9 |
D | 1875000 | 421880 | 1171.9 |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="af9937bfa65caf14-af22704f-4dc744cf-b18b848f-67a4f8c1b3b8d6c1a6235149"><ac:plain-text-body><![CDATA[ | Var | Value [step/s(^2)] | [deg/s(^2)]
| [rev/s(^2)]
| ]]></ac:plain-text-body></ac:structured-macro> |
---|
VI | 7500 | 1687.5 | 3.3125 |
VM | 10000 | 2250 | 4.6875 |
A | 1875000 | 421880 | 1171.9 |
D | 1875000 | 421880 | 1171.9 |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5179bb4abcd7e007-dedadd6f-4e234761-82fcbc6e-50c67180a74c4893b54f507f"><ac:plain-text-body><![CDATA[ | Var | Value [step/s(^2)] | [deg/s(^2)]
| [rev/s(^2)]
| ]]></ac:plain-text-body></ac:structured-macro> |
---|
VI | 7500 | 1687.5 | 3.3125 |
VM | 10000 | 2250 | 4.6875 |
A | 1875000 | 421880 | 1171.9 |
D | 1875000 | 421880 | 1171.9 |
...
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="42db73020af1e781-69e3d3f7-49214175-a73ca0fe-62b0da0bea8cd81b66d57938"><ac:plain-text-body><![CDATA[ | Var | Value [step/s(^2)] | [deg/s(^2)]
| [rev/s(^2)]
| ]]></ac:plain-text-body></ac:structured-macro> |
---|
VI | 640 | 144 | 0.4 |
VM | 2560 | 576 | 1.6 |
A | 640 | 144 | 0.4 |
D | 640 | 144 | 0.4 |
...