pcdshub / lcls-twincat-motion

TwinCAT 3 Motion Control Utilities - PLC Motion Library for all PCDS Applications
https://pcdshub.github.io/lcls-twincat-motion
Other
35 stars 20 forks source link

Homing Race Condition #121

Closed ZLLentz closed 3 years ago

ZLLentz commented 3 years ago

If the variable to start a homing routine (bHomeCmd) is held high for multiple PLC cycles, it will get stuck high because the code only automatically resets this variable on rising edge. This will prevent the user from issuing another homing command with no way to reconcile.