Beckhoff-USA-Community / SPT-Libraries

MIT License
81 stars 19 forks source link

FB_SingleSolenoidFeedback loss of air supply #65

Open whitecider opened 2 months ago

whitecider commented 2 months ago

Hi,

I am using an air cylinder and while testing I found that I could turn off the compressed air supply and the cylinders would move off the sensor inputs without an alarm event.

Would it make sense to add an alarm? For extend and retract oc.


`IF  _Extended AND NOT _ExtendInput THEN
    IF NOT SolenoidAlarms[E_CylinderAlarms.AnotherAlarm].bRaised THEN  
        SolenoidAlarms[E_CylinderAlarms.AnotherAlarm].Raise(0);  
    END_IF  
END_IF`

AB#5163