Beckhoff-USA-Community / SPT-Libraries

MIT License
88 stars 21 forks source link

FB_DigitalSensor - property with information if sensor is mapped or not #80

Open vanoo1983 opened 1 month ago

vanoo1983 commented 1 month ago

Hello

Would it be possible to add a property to FB_DigitalSensor with the information if the input is mapped or not?

There is a function for that F_GetMappingStatus (https://infosys.beckhoff.com/english.php?content=../content/1033/tcplclib_tc2_system/2284515083.html&id=)

So it would be possible to use the FB_DigitalSensor as feedback for a cylinder. And if the Sensor is not mapped, then we would have a cylinder without feedback.

AB#6068