|Meaning:||G-code||Len||X-end [steps]||Y-end [steps]||X-center [steps]||Y-center [steps]||Speed delay [ms]||CheckSum|
The current software is able to send G0 & G1 code to the Arduino.
The G-codes are phrased in a series of bytes, which is send via the USB. The next 'protocol' is defined:
|Meaning:||G-code||Len (**||X [steps]||Y [steps]||Z [steps]||A [steps]||Speed delay [ms]||CheckSum|
(* Types: Arduino variable types, which corresponds with the VB.Net variables: Long & Int16.
(** Len: Length of message which will follow, excluded the 'CheckSum' byte, which will always follow. In this way, it's also possible to send different G-Code formats.
Current program flow:
- Start-up software & connect to the Arduino
- Handheld: switch to 'PC' mode
Now the software receives the current absolute machine positions.
- Load or write G0 & G1 code
- Press 'Reset'
- Press 'Send to Arduino'
Now one line of code is phrased
- When the controller is done, it will send: 'C0:Idle'
- Press 'Send' again for the next line.
Of course this software is still under development.
Screen dump current software: