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

Add an error message for a zero velocity move #168

Open ZLLentz opened 1 year ago

ZLLentz commented 1 year ago

Current Behavior

Moving at zero velocity via EPICS fails silently

Expected Behavior

We should be able to notice that bExecute went high but fVelocity is zero and generate a reasonable error message for it.

Context / environment

The default velocity for moves is 0 to prevent us from accidentally moving too fast for any setup.