Hi maurizio,
You might download our software open KMotion.exe, go to the C Program Screen, then open some of the RS232 examples. Latest Test Releases are here.
KMotion.exe offers a simple environment to edit, compile, download, run C Programs.
You can also run KMotionCNC to view and simulate some GCode examples.
HTH
Regards