Beckhoff-USA-Community / SPT-Libraries

MIT License
88 stars 21 forks source link

FB_SingleSolenoidFeedback loss of air supply #65

Open whitecider opened 3 months ago

whitecider commented 3 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