Originally created by: Stefano.Casarini
In Codesys 2.3 COM Library (SysComLibray) therisn't "sysComPurge" command to empties the input and output buffer of the serial interface (in Codesys V3 exist), how i can do the same function in codesys v2.3??
Did you ever get an answer to this? I have been looking something like this as well.
No i didin't
Feedback from the CoDeSys support team to this topic:
In V2.3 SysComPurge() was not available. On most systems you can close and reopen the COM port instead of this, to get the same effect. For the rx-part, you can also read all previous received data form the port.
Log in to post a comment.