Automation and Sending GCode

Hello,
I am new to the sbase and just got some motion via cncjs. I am building a simple robot and using 3 axis for motion. My application is making web requests and showing results on the robot. I need a direct connection to the sbase board and would like to be able to set the positions of XYZ. Are there libraries available to help with it?

Should I do one of the following?
Send an nc file to the SD card and have it execute.
Send gcode over a serial connection
Send gcode via the command line.

Is any of this possible? Bonus points if I can drive it with an arduino.

Thanks!

Imported from wikidot

Hey.

If you have a SBase, we respectfully request that you ask MKS for help before asking the Smoothie community for help. If they are unable to help you, you are welcome to come back here to ask. See http://smoothieware.org/troubleshooting#somebody-refused-to-help-me-because-my-board-is-a-mks-what-s-that-all-about

Everything you described is possible, just choose one and do it, there are plenty of examples in Smoothie’s example web interface if you choose network, or in any host software like pronterface if you choose USB.

Cheers.