]> sigrok.org Git - sigrok-dumps.git/commitdiff
Example dump of stepper motor signals
authorPetteri Aimonen <redacted>
Sat, 7 Mar 2015 14:29:52 +0000 (16:29 +0200)
committerUwe Hermann <redacted>
Wed, 11 Mar 2015 16:57:38 +0000 (17:57 +0100)
stepper_motor/README [new file with mode: 0644]
stepper_motor/smoothieware.sr [new file with mode: 0644]
stepper_motor/test.gcode [new file with mode: 0644]

diff --git a/stepper_motor/README b/stepper_motor/README
new file mode 100644 (file)
index 0000000..ea4c94e
--- /dev/null
@@ -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 (file)
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 (file)
index 0000000..d480a7d
--- /dev/null
@@ -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
+