Beckhoff-USA-Community / SPT-Libraries

MIT License
70 stars 16 forks source link

XTS Page Fault when changing PML States #17

Closed bseater closed 1 year ago

bseater commented 1 year ago

I've run into an issue with FB_XTS_StationBase causing Page Faults when changing PML states.

There is probably a better way I can be managing the logic here, but what I'm doing:

The issue:

Adding a check for NumberOfAssignedMovers > 0 in CanReleaseMover.Get solves the issue.

I can probably be managing the states and commanding the stop better, but it seems like having some additional logic in the base station FB to make sure there are movers to release in CanReleaseMovers.Get() would be worthwhile.

nshiggins commented 1 year ago

Thanks for the detailed report--fix for this is planned for 3.2 release coming soon