Reading back the digital output value by software is called echo back.
Most of our company's digital output devices have an "output data monitor" function,
and by checking whether the specified digital output value can be echoed back,
we can determine whether the hardware's digital output function is working properly.
However, some digital output devices do not have the "output data monitor" function.
In this case, it returns the value stored in the driver software.
Therefore, the echo back function cannot be used to determine whether the hardware is working properly.
Please refer to the manual of your device to see if it has the "output data monitor" function.
Echo Back functions
DioEchoBackByte,
DioEchoBackBit,
DioEchoBackMultiByte,
DioEchoBackMultiBit