I am mainly using this library to read PLC variables. 'ReadPlcVarByName' returns a uint32 value but I found that it still returns a value even if Beckhoff PLC is disconnected from the network. Looking at the library, there's an ADSSTATE enum with values like ADSSTATE_ERROR or INVALID. Is there any way to get access to these states with the library?
I am mainly using this library to read PLC variables. 'ReadPlcVarByName' returns a uint32 value but I found that it still returns a value even if Beckhoff PLC is disconnected from the network. Looking at the library, there's an ADSSTATE enum with values like ADSSTATE_ERROR or INVALID. Is there any way to get access to these states with the library?