Versions Compared

Key

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

...

  • Sends a hard reset to the Mcode
  • Sets Se to 99
  • Executes program 1
  • Motor will need to be re-homed if this is called

$(MOTOR):RESET_PG

  • Resets pulse picking mode
  • Sets Se to 0
  • Mcode will see Se=0, branch to close, return to mode select

...

  • Center motor position in motor microsteps
  • Writes P0 to mcode

$(MOTOR)\:P1

  • Positive closed motor position in motor microsteps
  • Reads P1 from mcode
  • Passive Scanning
  • Processed at IOC start

$(MOTOR):SET_P1

  • Positive closed motor position in motor microsteps
  • Writes P1 to mcode

$(MOTOR)\:P2

  • Negative closed motor position in motor microsteps
  • Reads P2 from mcode
  • Passive Scanning
  • Processed at IOC start

$(MOTOR):SET_P2

  • Negative closed motor position in motor microsteps
  • Writes P2 to mcode

$(MOTOR)\:SW

  • Sweep distance from closed position to open position in microsteps
  • Reads SW from mcode
  • Passive Scanning
  • Processed at IOC start

$(MOTOR):SET_SW

  • Sweep distance from closed position to open position in microsteps
  • Writes SW to mcode

$(MOTOR)\:SR

  • Sweep distance from closed position to open position in encoder counts
  • Reads SR from mcode
  • Passive Scanning
  • Processed at IOC start

$(MOTOR):SET_SR

  • Sweep distance from closed position to open position in microsteps
  • Writes SR to mcode

$(MOTOR):LD

  • Lower limit drift violation
  • Scanned at 10 seconds

...