somebody posted this gcode to test step/dir timings. idk if it does work because i didnt get any errors.
Code:
( test program to see if Z axis loses position )
( msg, test 1 of X axis configuration )
G21 #1000=100 ( loop 100 times )
( this loop has delays after moves )
( tests acc and velocity settings )
o100 while [#1000]
G0 X1.000
G4 P0.250
G0 X0.500
G4 P0.250
#1000 = [#1000 - 1]
o100 endwhile
( msg, test 2 of X axis configuration S to continue)
M1 (stop here)
#1000=100 ( loop 100 times )
( the next loop has no delays after moves )
( tests direction hold times on driver config and also max accel setting )
o101 while [#1000]
G0 X1.000
G0 X0.500
#1000 = [#1000 - 1]
o101 endwhile
( msg, Done...X should be exactly .5" above table )
M2
the output from linuxCNC
Code:
LINUXCNC - 2.8.1
Machine configuration directory is '/home/taz/linuxcnc/configs/workBee_Base'
Machine configuration file is 'workBee_Base.ini'
INIFILE=/home/taz/linuxcnc/configs/workBee_Base/workBee_Base.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./workBee_Base.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: axis
62914563
joint 0 following error
emc/task/taskintf.cc 942: Error on joint 0, command number 5063