using g-code communication