Hi @xfpd,
Thanks for your answer!
I am getting the same error with Arduino PLC IDE. However, just out of curiosity, I tried my code with the normal Arduino IDE, and I am able to upload my code and it sort of works[This did not happen before].
However, the port "COM6" I usually connect to is gone. I only have "COM5" now, and connecting the PLC IDE to this port just results in an error.