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

ENH: EPS structures in DUT_MotionStage for interlock information and logic #161

Closed jozamudi closed 1 year ago

jozamudi commented 1 year ago

Description

Added EPS structures in DUT_MotionStage for Forward, Backward, and Power EPS interlock information and logic. In FB_SetEnables a new condition of EPS_OK is added for its respective structure instead of using limit switches.

Motivation and Context

Jira Issue

How Has This Been Tested?

A PLC Program was created using the modified motion library to test if bAllForward, bAllBackward Enable values changed when EPS structure was false.

Where Has This Been Documented?

Pre-merge checklist