Hello Guest it is January 29, 2020, 09:59:05 AM

Author Topic: MDI INPUT  (Read 9763 times)

0 Members and 1 Guest are viewing this topic.

MDI INPUT
« on: July 31, 2013, 11:15:12 AM »
Hi ALL
I have twenty programs all similar but want to run them in a random one off manner for punching music.
If I type "run" into the MDI input box it will run the current program currently loaded in the program screen.
Is it possible to make Mach load a program and run it from the MDI screen.
Graham

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: MDI INPUT
« Reply #1 on: July 31, 2013, 02:10:16 PM »
Best option would be to make a load of macros up which either contain your code (if short) or point to and load the code in Mach.
All you would then do is call your macro from MDI, it should load it then you can run it.
Or even make a custom screen page up with VB buttons that load and run your code depending on which button you choose.

Hood

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: MDI INPUT
« Reply #2 on: July 31, 2013, 08:08:10 PM »
Hood has the idea. Use a macro than loads/runs the defined program then you can use the P parameter to define what program to run

Example

M100 P1         Calls the Macro that does the work orf load and run and uses the P to define what program you want to use. If using a music scale just define 1-9 as notes and call as needed. I do something similar with engraving text.

OR as Hood notes uses seperate buttons to do the scale

OR use a Wizard to define and write it all out in Gcode.

If you need help it sounds interesting to do a wizard(;-) I can help.

(;-) TP




Re: MDI INPUT
« Reply #3 on: August 01, 2013, 05:21:28 AM »
Hood & TP
Thanks for your offers/ideas, I am still at the experimental stage and have yet to make a note paper roll punching machine.
When everything comes together and I need further help on the program I will post a new request.
Thanks again
Graham

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: MDI INPUT
« Reply #4 on: August 01, 2013, 04:53:44 PM »
Just curious but how many notes are possible on 1 line on the paper or roll ?

I had an idea and just need to write it all down before I forget it.

(;-) TP
Re: MDI INPUT
« Reply #5 on: August 03, 2013, 05:00:10 PM »
TP
On the organ I am making (a BUSKER ORGAN by John S Smith) there are 20 notes playable but not all at once.

http://www.melright.com/busker/jsart01.htm

This is a complete departure from my normal model making which have all been steel etc. I just thought I would try something different.

Graham
 

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: MDI INPUT
« Reply #6 on: August 03, 2013, 06:26:55 PM »
So then I can assume that notes that are sustaned are actually a slot not just a hole ? Do you have a picture of a section of the paper roll as an example? I think I have a wizard design that will work well. I'll whip up a sample design for an example.

(;-) TP
Re: MDI INPUT
« Reply #7 on: August 05, 2013, 03:43:35 AM »
TP
Heres a couple of pictures of manually punching the holes in 140 mm wide paper
Graham
Re: MDI INPUT
« Reply #8 on: August 05, 2013, 03:44:20 AM »
and another

Offline BR549

*
  •  6,925 6,925
    • View Profile
Re: MDI INPUT
« Reply #9 on: August 05, 2013, 09:14:41 PM »
Graham woul dyou haqppen to know the order of the notes from left to right ?

EFGABCD ETC ???

(;-) tp