Hi irmad,
CS0_StoppingState, what does that mean?
can anyone tell me, what is its use.
You can find descriptions of Variables in KMotionDef.h. Or you can search the examples. This variable can be used to tell you if a Feed Hold is in Progress. 0 if not in feed hold and > 1 if stopping or stopped. Here is the definition:
Code: Select all
extern int CS0_StoppingState; // emergency stop in progress, 0 = not stopping, 1=stopping coord motion, 2=stopping indep, 3=fully stopped, 4=ind stopped
and does anyone know, how to show DRO way in C program?
I don't understand the question. You can call GetDROs() to obtain the DRO values from KMotionCNC. See SetFixtureZ.c for an example.
below is an example that I use on the Arduino GRBL :
Only 5 lines of code that don't do anything are shown. Did you paste it correctly?