Versions Compared

Key

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

...

  • Selects One Shot mode
  • Sets SET_SE to 1
  • Turns output 4 on
  • Read Se back from Mcode

$(MOTOR):RUN_FLIPFLOP

  • Selects One Shot modeFlip Flop Mode
  • Sets SET_SE to 12
  • Turns output 4 on
  • Reads Se back from mcode

$(MOTOR):

...

RUN_BURSTMODE

  • Selects Burst Mode
  • Sets SET_SE to 3
  • Turns output 4 on
  • Reads Se back from mcodeUpdates all Mcode parameters for the pulse picker

$(MOTOR):

...

  • Updates specific mcode parameters
  • They include MV, P, C1, C2, I1, I2

RUN_FLIPFLOP

  • Selects Flip Flop Mode
  • Sets SET_SE to 2
  • Turns output 4 on
  • Reads Se back from mcode

$(MOTOR):S_OPEN

  • Moves shutter to open position
  • Sets Se to 4
  • Reads Se from Mcode
  • Reads Ad from Mcode

...

  • Moves shutter to close position
  • Sets Se to 5
  • Reads Se from Mcode
  • Reads Ad from Mcode

$(MOTOR):HOME:MOTOR

  • Selects automatic motor homing and offset
  • Sets Se to 7
  • Reads Se from Mcode
  • $(MOTOR):S_POS_CLOSE
    • Last reported close position
    • On I/O Intr, looks for "CLOSE=<counts>" string

...