|
@@ -1,4 +1,4 @@
|
|
|
-#N canvas 695 110 871 626 10;
|
|
|
+#N canvas 927 127 871 626 10;
|
|
|
#X obj 85 172 cnv 15 130 200 empty empty Status 2 8 0 14 -233017 -128992
|
|
|
0;
|
|
|
#X obj 85 377 cnv 15 130 100 empty empty MANUEL 2 8 0 14 -233017 -128992
|
|
@@ -54,7 +54,7 @@
|
|
|
#X restore 65 96 pd conversion;
|
|
|
#X obj 65 74 route /status /onTarget;
|
|
|
#X obj 177 382 vsl 12 60 0 2 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed
|
|
|
-speed -10 70 0 10 -262144 -1 -1 0 1;
|
|
|
+speed -10 70 0 10 -262144 -1 -1 5900 1;
|
|
|
#X obj 105 444 hradio 15 1 0 2 /stepper/\$1/manualDirection /stepper/\$1/manualDirection
|
|
|
direction -10 22 0 10 -262144 -1 -1 0;
|
|
|
#X obj 329 295 bng 25 250 50 0 /stepper/\$1/move/go /stepper/\$1/move/go
|
|
@@ -94,20 +94,20 @@ GO 6 13 0 10 -4034 -1 -1;
|
|
|
#X obj 106 398 tgl 35 0 /stepper/\$1/manualDrive /stepper/\$1/manualDrive
|
|
|
empty 17 7 0 10 -204800 -33289 -1 0 1;
|
|
|
#X obj 345 350 tgl 15 0 /stepper/\$1/accMode /stepper/\$1/accMode 0/1
|
|
|
-17 7 0 10 -262144 -1 -1 1 1;
|
|
|
+17 7 0 10 -262144 -1 -1 0 1;
|
|
|
#X obj 233 292 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move /stepper/\$1/move
|
|
|
tours 48 8 0 10 -262144 -1 -1 0.0555556 256;
|
|
|
#X obj 165 459 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/manualSpeed /stepper/\$1/manualSpeed
|
|
|
-empty 0 -8 0 10 -262144 -1 -1 0 256;
|
|
|
+empty 0 -8 0 10 -262144 -1 -1 2 256;
|
|
|
#X obj 253 371 vsl 25 60 0 2 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed
|
|
|
-speed -4 70 0 10 -262144 -1 -1 5900 1;
|
|
|
+speed -4 70 0 10 -262144 -1 -1 2950 1;
|
|
|
#X obj 243 449 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/setMaxSpeed /stepper/\$1/setMaxSpeed
|
|
|
-empty 0 -8 0 10 -262144 -1 -1 10 256;
|
|
|
+empty 0 -8 0 10 -262144 -1 -1 1 256;
|
|
|
#X obj 342 372 vsl 25 60 0 2 0 0 /stepper/\$1/acceleration /stepper/\$1/acceleration
|
|
|
-acc 4 70 0 10 -262144 -1 -1 500 1;
|
|
|
+acc 4 70 0 10 -233017 -233017 -195568 0 1;
|
|
|
#X obj 333 449 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/acceleration
|
|
|
-/stepper/\$1/acceleration empty 0 -8 0 10 -262144 -1 -1 0.169492 256
|
|
|
-;
|
|
|
+/stepper/\$1/acceleration empty 0 -8 0 10 -233017 -233017 -195568 0
|
|
|
+256;
|
|
|
#X obj 434 838 cnv 15 180 100 empty empty presets 2 8 0 14 -233017
|
|
|
-128992 0;
|
|
|
#X obj 197 175 bng 15 250 50 0 /stepper/\$1/updateStatus /stepper/\$1/updateStatus
|
|
@@ -120,16 +120,16 @@ STOP 1 14 0 10 -258113 -1 -1;
|
|
|
#X obj 83 127 s /stepper/\$1/pos/current;
|
|
|
#X obj 224 229 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/startPos
|
|
|
/stepper/\$1/move/startPos Position_depart 0 -8 0 12 -204800 -1 -1
|
|
|
-339.999 256;
|
|
|
+0 256;
|
|
|
#X obj 353 229 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
|
|
|
goto 17 7 0 10 -204800 -1 -1;
|
|
|
#X obj 296 229 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart
|
|
|
set 17 7 0 10 -262144 -1 -1;
|
|
|
#X obj 148 241 nbx 3 14 -1e+37 1e+37 0 0 /stepper/\$1/pos/current/deg
|
|
|
-/stepper/\$1/pos/current/deg degrees -50 8 0 10 -262144 -1 -1 340.001
|
|
|
+/stepper/\$1/pos/current/deg degrees -50 8 0 10 -262144 -1 -1 259.978
|
|
|
256;
|
|
|
#X obj 148 225 nbx 5 14 -1e+37 1e+37 0 0 /stepper/\$1/pos/current /stepper/\$1/pos/current
|
|
|
-turns -45 7 0 10 -262144 -1 -1 2.94445 256;
|
|
|
+turns -45 7 0 10 -262144 -1 -1 1.72216 256;
|
|
|
#X obj 233 308 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/deg /stepper/\$1/move/deg
|
|
|
deg 48 8 0 10 -262144 -1 -1 20 256;
|
|
|
#X obj 153 97 s /stepper/\$1/pos/onTarget;
|
|
@@ -184,7 +184,7 @@ reload 17 7 0 10 -262144 -1 -1;
|
|
|
#X connect 10 0 11 0;
|
|
|
#X connect 12 0 2 0;
|
|
|
#X restore 661 59 pd \$0-gui;
|
|
|
-#N canvas 1 127 1010 904 \$0-sequencer 0;
|
|
|
+#N canvas 130 127 1010 904 \$0-sequencer 0;
|
|
|
#X obj 463 246 text set \$1-seq;
|
|
|
#X obj 463 187 pack s f;
|
|
|
#X obj 508 167 r /stepper/\$1/move/startPos;
|
|
@@ -195,12 +195,12 @@ reload 17 7 0 10 -262144 -1 -1;
|
|
|
-1 -1;
|
|
|
#X msg 467 345 line 0 \, bang;
|
|
|
#X obj 260 139 text define -k \$1-seq;
|
|
|
-#A set startPos 10 \; \; CUE 0 \; move 1 \; setMaxSpeed 10 \; acceleration
|
|
|
-5 \; accMode 1 \; active 1 \; \; CUE 1 \; move 0.5 \; setMaxSpeed 12
|
|
|
-\; acceleration 0 \; accMode 0 \; active 1 \; \; CUE 2 \; move 0.1
|
|
|
-\; setMaxSpeed 5 \; acceleration 0 \; accMode 0 \; active 1 \; \; CUE
|
|
|
-3 \; move -2 \; setMaxSpeed 6 \; acceleration 2 \; accMode 1 \; active
|
|
|
-1 \; \;;
|
|
|
+#A set startPos 0 \; \; CUE 0 \; move 0.0555556 \; setMaxSpeed 1 \;
|
|
|
+acceleration 0 \; accMode 0 \; active 1 \; wait 0 \; \; CUE 1 \; move
|
|
|
+0.0555556 \; setMaxSpeed 1 \; acceleration 0 \; accMode 0 \; active
|
|
|
+1 \; wait 5 \; \; CUE 2 \; move 0.0555556 \; setMaxSpeed 1 \; acceleration
|
|
|
+0 \; accMode 0 \; active 1 \; wait 1 \; \; CUE 3 \; move 0 \; setMaxSpeed
|
|
|
+0 \; acceleration 0 \; accMode 1 \; active 0 \; wait 0 \; \;;
|
|
|
#X obj 467 326 r /stepper/\$1/sequencer/load;
|
|
|
#X obj 260 35 r /stepper/\$1/writeSeq;
|
|
|
#X obj 260 56 delay 100;
|
|
@@ -217,30 +217,28 @@ reload 17 7 0 10 -262144 -1 -1;
|
|
|
#X obj 114 275 r /stepper/\$1/openSeq;
|
|
|
#X obj 114 347 openpanel;
|
|
|
#X msg 114 326 symbol ./;
|
|
|
-#X obj 190 566 r /stepper/\$1/cue/current;
|
|
|
-#X obj 139 536 r /stepper/\$1/pos/onTarget;
|
|
|
+#X obj 190 626 r /stepper/\$1/cue/current;
|
|
|
+#X obj 139 516 r /stepper/\$1/pos/onTarget;
|
|
|
#X obj 79 434 t b b;
|
|
|
#X obj 112 455 f \$1;
|
|
|
#X msg 111 476 \; /stepper/\$1/cue/0/move/go bang;
|
|
|
#X obj 171 442 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
|
|
|
-1 -1;
|
|
|
-#X obj 139 727 spigot;
|
|
|
-#X obj 190 587 t f f;
|
|
|
+#X obj 139 787 spigot;
|
|
|
+#X obj 190 647 t f f;
|
|
|
#X obj 79 413 r /stepper/\$1/sequencer/go;
|
|
|
-#X obj 205 648 r /stepper/\$1/sequencer/loop;
|
|
|
-#X obj 190 669 f;
|
|
|
-#X obj 190 691 route 0 1;
|
|
|
-#X msg 190 711 0;
|
|
|
-#X obj 139 768 pack 0 \$1;
|
|
|
-#X msg 139 789 \; /stepper/\$2/cue/\$1/move/go bang;
|
|
|
-#X obj 275 686 r /stepper/\$1/stop;
|
|
|
-#X obj 139 746 f;
|
|
|
-#X obj 217 606 + 1;
|
|
|
-#X msg 231 713 0;
|
|
|
-#X obj 265 592 print;
|
|
|
-#X obj 190 628 route 3;
|
|
|
-#X obj 139 557 bang;
|
|
|
-#X obj 167 516 r /stepper/\$1/cue/next;
|
|
|
+#X obj 205 708 r /stepper/\$1/sequencer/loop;
|
|
|
+#X obj 190 729 f;
|
|
|
+#X obj 190 751 route 0 1;
|
|
|
+#X msg 190 772 0;
|
|
|
+#X obj 139 828 pack 0 \$1;
|
|
|
+#X msg 139 849 \; /stepper/\$2/cue/\$1/move/go bang;
|
|
|
+#X obj 275 746 r /stepper/\$1/stop;
|
|
|
+#X obj 139 806 f;
|
|
|
+#X obj 217 666 + 1;
|
|
|
+#X msg 299 786 0;
|
|
|
+#X obj 307 657 print;
|
|
|
+#X obj 190 688 route 3;
|
|
|
#X obj 467 364 text sequence \$1-seq;
|
|
|
#X obj 467 456 s \$1-cue;
|
|
|
#X obj 622 481 r \$1-cue;
|
|
@@ -252,16 +250,43 @@ reload 17 7 0 10 -262144 -1 -1;
|
|
|
#X obj 463 147 symbol startPos;
|
|
|
#X obj 467 435 route CUE startPos;
|
|
|
#X obj 522 456 s /stepper/\$1/move/startPos;
|
|
|
+#X obj 139 577 delay 0;
|
|
|
+#X obj 305 516 r /stepper/\$1/sequencer/wait;
|
|
|
+#X obj 169 598 r /stepper/\$1/cue/next;
|
|
|
+#X obj 139 640 bang;
|
|
|
+#X text 212 558 if reading sequence \, use wait;
|
|
|
+#X obj 22 539 r /stepper/\$1/stop;
|
|
|
+#X msg 22 560 stop;
|
|
|
+#X obj 139 537 bang;
|
|
|
+#X obj 139 558 f;
|
|
|
+#X text 309 596 else skip wait;
|
|
|
+#X obj 305 537 * 1000;
|
|
|
+#X msg 545 603 0;
|
|
|
+#X obj 442 599 line;
|
|
|
+#X obj 418 762 s /stepper/\$1/sequencer/wait/gui;
|
|
|
+#X floatatom 467 544 5 0 0 0 - - -, f 5;
|
|
|
+#X msg 442 578 0 \, 100 \$1;
|
|
|
+#X obj 458 622 moses 100;
|
|
|
+#X msg 510 553 1000;
|
|
|
+#X msg 549 703 color \$1 \$1;
|
|
|
+#X floatatom 565 675 5 0 0 0 - - -, f 5;
|
|
|
+#X msg 517 651 color 10 10;
|
|
|
+#X msg 413 728 color 14 14 \, vis_size \$1 5;
|
|
|
+#X obj 273 825 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
|
|
|
+-1 -1;
|
|
|
+#X floatatom 257 653 5 0 0 0 - - -, f 5;
|
|
|
+#X obj 10 687 r /stepper/\$1/sequencer/go;
|
|
|
+#X msg 10 708 1;
|
|
|
#X connect 1 0 0 0;
|
|
|
#X connect 2 0 1 1;
|
|
|
#X connect 3 0 0 0;
|
|
|
#X connect 3 1 4 0;
|
|
|
-#X connect 3 2 56 0;
|
|
|
+#X connect 3 2 54 0;
|
|
|
#X connect 3 3 0 1;
|
|
|
#X connect 4 0 0 1;
|
|
|
#X connect 5 0 3 0;
|
|
|
-#X connect 6 0 48 0;
|
|
|
-#X connect 7 0 48 0;
|
|
|
+#X connect 6 0 46 0;
|
|
|
+#X connect 7 0 46 0;
|
|
|
#X connect 9 0 7 0;
|
|
|
#X connect 10 0 11 0;
|
|
|
#X connect 11 0 13 0;
|
|
@@ -278,7 +303,8 @@ reload 17 7 0 10 -262144 -1 -1;
|
|
|
#X connect 22 0 24 0;
|
|
|
#X connect 24 0 23 0;
|
|
|
#X connect 25 0 32 0;
|
|
|
-#X connect 26 0 46 0;
|
|
|
+#X connect 25 0 80 0;
|
|
|
+#X connect 26 0 64 0;
|
|
|
#X connect 27 1 28 0;
|
|
|
#X connect 28 0 29 0;
|
|
|
#X connect 30 0 28 0;
|
|
@@ -288,25 +314,49 @@ reload 17 7 0 10 -262144 -1 -1;
|
|
|
#X connect 33 0 27 0;
|
|
|
#X connect 34 0 35 1;
|
|
|
#X connect 35 0 36 0;
|
|
|
+#X connect 35 0 44 0;
|
|
|
#X connect 36 0 37 0;
|
|
|
#X connect 36 1 43 0;
|
|
|
#X connect 37 0 31 1;
|
|
|
#X connect 38 0 39 0;
|
|
|
#X connect 40 0 37 0;
|
|
|
#X connect 41 0 38 0;
|
|
|
+#X connect 41 0 79 0;
|
|
|
#X connect 42 0 41 1;
|
|
|
#X connect 43 0 41 1;
|
|
|
#X connect 45 0 35 0;
|
|
|
-#X connect 46 0 31 0;
|
|
|
-#X connect 47 0 46 0;
|
|
|
-#X connect 48 0 52 0;
|
|
|
-#X connect 50 0 54 2;
|
|
|
-#X connect 52 0 57 0;
|
|
|
-#X connect 54 0 55 0;
|
|
|
-#X connect 56 0 1 0;
|
|
|
-#X connect 57 0 49 0;
|
|
|
-#X connect 57 1 58 0;
|
|
|
-#X connect 57 2 54 0;
|
|
|
+#X connect 46 0 50 0;
|
|
|
+#X connect 48 0 52 2;
|
|
|
+#X connect 50 0 55 0;
|
|
|
+#X connect 52 0 53 0;
|
|
|
+#X connect 54 0 1 0;
|
|
|
+#X connect 55 0 47 0;
|
|
|
+#X connect 55 1 56 0;
|
|
|
+#X connect 55 2 52 0;
|
|
|
+#X connect 57 0 60 0;
|
|
|
+#X connect 58 0 67 0;
|
|
|
+#X connect 59 0 60 0;
|
|
|
+#X connect 60 0 31 0;
|
|
|
+#X connect 62 0 63 0;
|
|
|
+#X connect 63 0 57 0;
|
|
|
+#X connect 64 0 65 0;
|
|
|
+#X connect 65 0 57 0;
|
|
|
+#X connect 65 0 72 0;
|
|
|
+#X connect 67 0 65 1;
|
|
|
+#X connect 68 0 69 0;
|
|
|
+#X connect 69 0 78 0;
|
|
|
+#X connect 69 0 73 0;
|
|
|
+#X connect 71 0 72 0;
|
|
|
+#X connect 72 0 69 0;
|
|
|
+#X connect 73 1 68 0;
|
|
|
+#X connect 73 1 77 0;
|
|
|
+#X connect 74 0 72 0;
|
|
|
+#X connect 75 0 70 0;
|
|
|
+#X connect 76 0 75 0;
|
|
|
+#X connect 77 0 70 0;
|
|
|
+#X connect 78 0 70 0;
|
|
|
+#X connect 81 0 82 0;
|
|
|
+#X connect 82 0 31 1;
|
|
|
#X restore 661 78 pd \$0-sequencer;
|
|
|
#N canvas 1 55 894 565 \$0-startposition 0;
|
|
|
#X obj 170 103 r /stepper/\$1/pos/current;
|
|
@@ -669,12 +719,14 @@ move \$2 \$1 \, setSpeed \$3 \$1 \, getStatus \$1 \$1;
|
|
|
#X restore 661 117 pd \$0-modes&moves;
|
|
|
#X obj 514 190 nbx 4 14 -1e+37 1e+37 0 0 /stepper/\$1/move/startPos
|
|
|
/stepper/\$1/move/startPos Position_depart 0 -8 0 12 -204800 -1 -1
|
|
|
-339.999 256;
|
|
|
+0 256;
|
|
|
#X obj 643 190 bng 15 250 50 0 /stepper/\$1/move/gotoStart /stepper/\$1/move/gotoStart
|
|
|
goto 17 7 0 10 -204800 -1 -1;
|
|
|
#X obj 586 190 bng 15 250 50 0 /stepper/\$1/move/setStart /stepper/\$1/move/setStart
|
|
|
set 17 7 0 10 -262144 -1 -1;
|
|
|
#X obj 410 273 stepperCue \$1 0;
|
|
|
+#X obj 410 263 cnv 15 66 5 /stepper/\$1/sequencer/wait/gui /stepper/\$1/sequencer/wait/gui
|
|
|
+empty 20 12 0 14 -260818 -99865 0;
|
|
|
#X obj 411 417 stepperCue \$1 3;
|
|
|
#X obj 411 369 stepperCue \$1 2;
|
|
|
#X obj 410 321 stepperCue \$1 1;
|