Though it probably can work, I have no experience with an oscilloscope in combination with a PLC runtime.
That said, I guess accessing the scope from within Codesys can (hopefully) be achieved by adding a serial device in codeys (i.e.) adding the usbdevice "port" into Codesys Config file like the following example.
My suggestion would for you to find out how you can add USB COM access to Codesys;
sudo nano CODESYSControl.cfg
However, I have got no clue on how you can read or control the device/channel/dac data. For such details you should study the device driver / use the C integration route. It is possible to integrate C code into Codesys. However C integration requires a license. For this I suggest contacting Codesys Sales directly.
Just tackle your problem one step at a time. I hope you will succeed and will share your adventures with us!
Good luck and let us know how you are doing with this.
(Scroll down for my projects)