Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Signal state change to 30 (Burst Mode Init)
  • Load Burst speeds (V3)
  • 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)
      • Go back to mode select
    • EndIfIf the close movement is complete (Sd=92), then Signal state change to 39 (
  • Burst complete)
  • 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 (J3)

  • Signal state change to 32 (Burst open signal received)
  • Move (MA) to open position (P0)
  • If error checking is enabled (Ec=1), check drift at previous, assumed positive closed position (call X8)
  • Hold until movement complete
  • 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

...

  • 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)
  • 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 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

  • Signal state change to 40 (Fast Open Init)
  • Load fast open speeds
  • Move (MA) to the open position (P0)
  • If error checking is enabled (Ec=1), check drift at previous, assumed positive closed position (call X8)
  • Hold until movement complete
  • Set Df=0 to indicate that slits are in open position
  • Signal state change to 41 (Fast open complete)
  • Goto mode select

...