Looking at your first picture, and ASSUMING that your running Mach3 as your controller, it looks like your getting rounding of the corners due to CV (Constant Velocity) moves to keep the speed up during angular movements.
You need an "Exact Path" type of movement or at worst, turn CV off and use "Exact Stop" type of movement to get the correct path.