Versions Compared

Key

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

...

The following records are located in xip.template

 $(MOTOR):SE

  • Pulse picking mode select
  • Reads Se from mcode
  • Returns of mode selected

$(MOTOR):SE_L

  • Raw pulse picking mode select
  • Reads Se from Mcode
  • Pulse picking Returns mode select number from mcode

$(MOTOR):SET_SE

  • Pulse picking mode select
  • Writes Se to Mcode, values 0 to 100 are allowed
  • Pulse picking mode select

$(MOTOR):MCODE:INIT

  • Sends a hard reset to the Mcode
  • Sets Se to 99
  • Executes program 1

$(MOTOR):RESET_PG

  • Hard reset of Mcode software
  • Set :RESET_FLAG to 0
  • Set :SET_SE to 5(close)
  • Turn off :DF scanning
  • Set :SET_SE to 0
  • Set :EXE_PG to 1 (Execute program 1)
  • Read :SE_L (Mode Select)
  • Resets pulse picking mode
  • Sets Se to 0
  • Mcode will see Se=0, branch to close, return to mode select

$(MOTOR):SD_L

  • Raw Mcode Program status
  • Returns number See corresponding to mcode program status
  • scanned 1 second

$(MOTOR):SD

  • Mcode status string
    *

    $(MOTOR):RUN_ONESHOT

  • Runs One Shot mode
  • Sets SET_SE to 1
  • Turns output 4 on
  •  

$(MOTOR):UPDATE_ALL

  • Updates all Mcode parameters for the pulse picker
  • $(MOTOR):UPDATE_STATUS
    • Updates specific mcode parameters
    • They include MV, P, C1, C2, I1, I2

$(MOTOR):S_OPEN

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

$(MOTOR):S_CLOSE

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

$(MOTOR):LD

  • Lower limit drift violation
  • Scanned at 10 secondsULV
  • Upper Limit Violation in raw motor counts
  • On I/O Intr, looks for "ULV=<counts>" sting
  • Waiting for interruption from Mcode if upper limit is violated
  • Process UD, #########TODO: Find what UD is

$(MOTOR):

...

UD

  • Upper limit violation
  • Scanned at 10 seconds

$(MOTOR):

...

  • $(MOTOR):S_POS_CLOSE
    • Last reported close position
    • On I/O Intr, looks for "CLOSE=<counts>" string

...