I have developed a custom I/O driver in CODESYS that communicates via a Unix Domain Socket. In my DeviceDescription.xml, I have set up the following:
<scan supported="true">
<scanfbinstance fbname="IOScanDevice">
The goal is to allow the user to scan for connected I/O modules from the CODESYS GUI ("Scan for Devices") and automatically populate the device tree with detected submodules.</scanfbinstance></scan>
The function block IOScanDevice is implemented in the driver library and added to the main device's FB instances. However, when I initiate the scan from the GUI, nothing appears to happen the function is not executed.
Is there an example project or driver (open source or from CODESYS Forge) that demonstrates a working custom scan implementation?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I have developed a custom I/O driver in CODESYS that communicates via a Unix Domain Socket. In my DeviceDescription.xml, I have set up the following:
<scan supported="true">
<scanfbinstance fbname="IOScanDevice">
The goal is to allow the user to scan for connected I/O modules from the CODESYS GUI ("Scan for Devices") and automatically populate the device tree with detected submodules.</scanfbinstance></scan>
The function block IOScanDevice is implemented in the driver library and added to the main device's FB instances. However, when I initiate the scan from the GUI, nothing appears to happen the function is not executed.
Is there an example project or driver (open source or from CODESYS Forge) that demonstrates a working custom scan implementation?