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

FIX: addressing the state input deadlock bug #198

Closed ZLLentz closed 1 year ago

ZLLentz commented 1 year ago

Description

When the user resets an error, bring the states input handler FB back to a known state.

Motivation and Context

Will close #197

In short: previously, we could get into a deadlocked state where the input FB would always keep bExecute high, which means the move FB would never be able to get a rising edge.

How Has This Been Tested?

Where Has This Been Documented?

Detailed documentation in the unit test

Pre-merge checklist

tylerjohnson3208 commented 1 year ago

Whoops... logged in my personal account.