From f33fd2e778ed6aba2e7a429e7f260d79dfcf269e Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Sat, 7 Mar 2015 16:29:52 +0200 Subject: Example dump of stepper motor signals --- stepper_motor/README | 19 +++++++++++++++++++ stepper_motor/smoothieware.sr | Bin 0 -> 238575 bytes stepper_motor/test.gcode | 12 ++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 stepper_motor/README create mode 100644 stepper_motor/smoothieware.sr create mode 100644 stepper_motor/test.gcode (limited to 'stepper_motor') 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 + -- cgit v1.2.3-54-g00ecf