3 months, 1 week ago.
Stepper motor control using SCPI commands thought ethernet howto?
I would like to start a 2 axis stepper motor control using SCPI commands thought tcp/ip ethernet interface project.
I have the STM 32F746G discovery supported board with the X-NUCLEO-IHM02A1 also supported motor expansion board.
I have created a project for my platform and I have included the "hello world" module for the "X-NUCLEO-IHM02A1" but I am a bit lost with the SCPI control thought Ethernet.
Could somebody share and example or project to manage SCPI commands using the Ethernet interface?
Any help would be appreciated.
3 months ago.
I googled a bit, but I did not see any existing art to leverage from. break the project into pieces. https://os.mbed.com/search/repository?q=stepper+motor plenty of info on stepper motors. plenty of info on Ethernet.
define the grammar that you want to use for your SCPI control. As far as I know, here is no grammar to leverage from. for instance:
STEPper:ONE:POSition 2000 STEPper:TWO:RPOstion 100
move to absolute position and move relative position. Add more grammar as needed.
then build a parser to extract the operations from the commands and code functions to perform the operations.
To post an answer, please log in.