From: Petteri Aimonen Date: Sat, 7 Mar 2015 14:29:52 +0000 (+0200) Subject: Example dump of stepper motor signals X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-dumps.git;a=commitdiff_plain;h=f33fd2e778ed6aba2e7a429e7f260d79dfcf269e Example dump of stepper motor signals --- diff --git a/stepper_motor/README b/stepper_motor/README new file mode 100644 index 0000000..ea4c94e --- /dev/null +++ b/stepper_motor/README @@ -0,0 +1,19 @@ +------------------------------------------------------------------------------- +Stepper motor signals +------------------------------------------------------------------------------- + +This is a capture of Smoothieware stepper signals while running the test.gcode. + +Signals: + +0: ARM ITM trace (irrelevant) +3: Y axis step +4: Y axis direction +5: X axis step +6: X axis direction + +Command to decode X axis position: +sigrok-cli -i smoothieware.sr -P stepper_motor:step=5:dir=6:unit=mm:steps_per_mm=80.0 +(though steps_per_mm doesn't currently work in sigrok-cli) + + diff --git a/stepper_motor/smoothieware.sr b/stepper_motor/smoothieware.sr new file mode 100644 index 0000000..5b5fadb Binary files /dev/null and b/stepper_motor/smoothieware.sr differ diff --git a/stepper_motor/test.gcode b/stepper_motor/test.gcode new file mode 100644 index 0000000..d480a7d --- /dev/null +++ b/stepper_motor/test.gcode @@ -0,0 +1,12 @@ +; Start at X/Y Zero +G0 X0 Y0 +; Make a regular move with an arbitrary speed +; 1.885 s +G1 X200 Y200 F9000 +; Move one axis a long distance, another axis a short distance AND change the speed. +; 0.500 s +G1 X190 Y0 F24000 +; Move back to Zero +; 0.475 s +G0 X0 Y0 +