10 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.



Comment on this question

1 Answer

10 months, 1 week 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.

Thanks David,

yes, you are right, there are a lot of information regarding to the motor control and the ethernet control, maybe there are no much information about SCPI regarding of how implement VISA/GPBI, that it is the way I would like to connect with the board.

posted by Francisco Morales 14 Dec 2018

You need to log in to post a question