Stuart,
You might consider combining the ls1 - ls5 into a single variable. I assume
that those variables represent components of a state. You might then be able
to give the various values meaningful names. That would make the code easier
to read and maintain.
Ken
- Original Message
Sure. Feel free to host a CNC Festival.
Then all you will need is people to attend it. I would guess that you would
have about as many attendees from the US as we will have attendees from
Brazil at the US CNC Fest.
Unfortunately, the economics of travel between the US and Brazil is not
Does anyone use a single chip solution consisting of a single 8 pin
microprocessor?
An Atmel atTiny13 is $1.40 in an 8 pin dip package. These chips power up
nicely, require no external oscillator, and are easy to program. If you
don't trust them, get two. Use one to drive the high side of the
To the best of my knowledge, there has been no attempt to optimize the
performance of the interpreter. If there is strong feeling that this might
be a problem, I suspect that it could be improved significantly.
My general experience with products that have never been optimized is that a
factor
I believe Axis runs the entire program at load time. The interpreter does
read and interpret ahead, but I don't know how far or what the limits are.
Ken
- Original Message -
From: Andre' Blanchard [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
I would suggest adding a touchscreen disable button that would disable other
buttons until enabled. For the paranoid among us that could be a mechanical
switch.
Ken
- Original Message -
From: Stuart Stevenson [EMAIL PROTECTED]
To: EMC2-Users-List Emc-users@lists.sourceforge.net
Sent:
Why are you considering moving to such a system?
Would the Tormach tool holders meet those requirements?
Ken
- Original Message -
From: rtwas [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Tuesday, April 15, 2008 12:37 PM
Subject:
If you put a little DC bias into the stepper coils, you might be able to
vary the detent action to suit the user.
Ken
- Original Message -
From: Ormund Williams [EMAIL PROTECTED]
To: emc-users@lists.sourceforge.net
Sent: Monday, March 24, 2008 8:29 PM
Subject: Re: [Emc-users] Jogger
The latest code for o-word subroutines permits multiple files to be used. If
the called o-word has not been seen in the current file, the interpreter
will look for a file named the same as the o-word with a suffix of .ngc.
The interpreter will look in the location specified by the
?
Dave
On Mar 21, 2008, at 10:00 AM, Kenneth Lerman wrote:
The latest code for o-word subroutines permits multiple files to be
used. If
the called o-word has not been seen in the current file, the
interpreter
will look for a file named the same as the o-word with a suffix of
.ngc
There are a few ways to get things like, The message needs to be
changed... done.
1 -- Become a developer and make the change yourself.
2 -- Submit a patch for inclusion by a developer.
3 -- Submit either a feature request or a bug report via sourceforge.
Mentioning it on this list might cause
Jon,
Don't confuse the telnet daemon with the telnet tool. The tool lets you
specify any port to connect to using tcp.
So. telnet localhost 80 will connect the http server. telnet localhost 25
will connect to the mail server.
Ken
- Original Message -
From: Jon Elson [EMAIL PROTECTED]
The function CRC16 is used before it is declared.
Either move the definition of CRC16 to before main, or declare it separately
prior to its use.
I notice that you are using (very) old style declarations in that code.
Modern coders would write:
unsigned short CRC16(unsigned char *puchMsg,
The hard part for them was finding someone who could read the broken english
(chinglish, I assume) text with unaccented american english and avoid
laughing.
Ken
- Original Message -
From: Kirk Wallace [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC)
I'm not sure what you mean by subroutines called with a repeat, but EMC
can certainly do this.
Ken
- Original Message -
From: Craig [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Monday, January 28, 2008 12:07 PM
Subject: [Emc-users]
-
From: Gene Heskett [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Sunday, January 27, 2008 4:15 PM
Subject: Re: [Emc-users] Ball screws + error compensation
On Sunday 27 January 2008, Kenneth Lerman wrote:
At 1080 feet per second, one wavlength
Are you sure that the 0 and +10 terminals are relative to ground? Or are
they relative to each other?
If they are relative to each other, it certainly could do some harm to
connect the DAC directly to the Vin terminal of the VFD. As in -- smoke the
DAC, smoke the VFD, smoke both.
Ken
-
Subroutines may CALL one another, but may not be defined within another.
So...
o100 sub
o100 endsub
o200 sub
o200 endsub
is legal.
o100 sub
o200 sub
...
o200 endsub
o100 endsub
is NOT legal (subroutine declarations may not be nested).
Ken
- Original Message -
From: Ian
I took a quick look at your code...
case 3:
dacclock=0;
if (cycle=12) {
cycle=0;
}
phase=0;
cycle++;
break;Should be: case 3:
dacclock=0;
if (cycle=11) {
cycle=0;
}else cycle++;
I'm getting close to having time and a machine to do some development work
on.
My long list includes the ability to add complex cycles by writing g-code
subroutines to implement them. At the user level, they would be used exactly
as if they were built in to the interpreter.
Ken
-
One problem is that the interpreter is asynchronous to the execution. I believe
that someone (Alex Joni, perhaps) added something to allow you to make sure
that the output had caught up with the interpreter. Off hand, I don't remember
what that was.
Ken
- Original Message -
From:
Unfortunately, it is not possible to run gcode subroutines from MDI mode. I
hope to fix that in the future.
That would let you do things like:
Ofind_center call
in the mdi window.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Do those ARM processors include floating point? My guess is not. Those
70+ MIPs might not go as far as you think if you have to do floating
point in software. I'd rather not go to the alternative of converting
everything to fixed point.
Ken
On Tue, Oct 30, 2007 at 12:31:18PM -0600, Jon Elson
06470Fax: (203)426-9138
http://www.MarkKenny.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jon Elson
Sent: Sunday, October 28, 2007 10:44 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Ethernet I/O
Kenneth
The issue is at the PC end.
In the past, parallel ports have been used, but it takes about a microsecond
per byte to output to them. Ethernet has the advantage is that the
controllers are PCI based and are a lot faster.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street
Is 100BaseT ethernet full duplex? (I think it is.)
In principle, one could make a hub (not technically a hub) that daisy
chained cables. So, the master would output to slave 1 abd input from slave
N. Slave 1 would input from the master and output to slave 2. Slave 2 would
input from slave 1 and
For me, the issue of RTnet is irrelevant. I would, instead, just want to use
the Linux driver. If we can get that to generate and receive ethernet frames
in real time, we are in business.
Then we could let the PC be a master and any peripherals be slaves. In the
case of the UPC board, there
I don't know what a K word does, but the interpreter allows only one per
block. The interpreter reads the block, storing all of the words in a table,
and then interprets it. The order of words in a block in not generally
relevant. The K word could be first, or last, or anywhere in the block.
Ken
Hello Aram,
It's a great world we live in when we can communicate even though we don't
agree on how many letters in the alphabet. :-)
I don't think the problem is quite that simple. For example, your approach
doesn't take tool length or diameter compenstation into account. I don't
think we would
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AdditionalGCodeFunctionality
The above link points to a page that defines this stuff.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Newtown, CT 06470Fax:
What G codes would you like to add?
Many new G code functions could be implemented by using subroutines. That
would save a lot of effort. Of course, you would not have compatiblity with
other controllers that would use that G code.
I have intentions to add the ability for an integrator to
I would suggest that what you need is a way to set the MAC address; not the
IP address. Then you could set the IP address by using DHCP. You could also
use TFTP to download the code to it using onboard boot flash.
It's a bit more work (particularly in small volume), but the MAC address
could also
I disagree with the defenders who say it is not a kludge. It is a kludge. It
was when I wrote it and it is now.
The reason that these features must begin with an o-word is very simple. It
made it easier to change the parser. The code simply tests if the line
begins with an o-word. If it does, it
Do you mean something like:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?G-Wiz
The idea of this is that a GUI would let you generate calls to predefined
gcode subroutines.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Newtown, CT
EMC has most of the functionality shown on the link you provided.
Language Features
YES ? Local Variables for passing parameters and for
intermediate calculations within a macro
YES ? Common Variables shared by all macros
??? ? Permanent Common Variables that keep their
values even
Fenn,
See my recent reply to this list regarding o-words and named parameters.
O-words provide programming language looping, testing, and subroutine
capabilities that can be wrapped around other gcode. Named parameters let
you have natural language names for parameters.
[Sorry it took so long
Stephen,
You got it more or less correct. Actually, the arguments to subroutines are
expressions; not values. So, you can write: o100 call [25] [#1-17/2].
The brackets must be there to separate the expressions.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice:
No...
AFAIK, named o-words have not yet been implemented. -- At least not by me.
Named parameters have been implemented by me.
I expect to get a new machine to run ubuntu soon and will get back to
developing EMC2 stuff. (My previous machine is now my telephone system.)
Ken
[EMAIL PROTECTED]
Hi Fenn,
What is it that you imagined? Other than the fact that o-words are numeric
(on my list of work to do is allowing them to be alphanumeric), what else
would you like?
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Newtown,
You might try posting the question on CNCzone (www.cnczone.com).
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Newtown, CT 06470Fax: (203)426-9138
http://www.MarkKenny.com
-Original Message-
The probing stuff is on my list of things to do when I get the chance. It is
not rocket science. (Which is another way of saying that it is within my
skill set. :-)
KL
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Newtown, CT 06470
I thought that the keys we submit are our *public* keys. Am I mistaken?
If that is the case, there is no need for them to be secure. For someone to
masquerade as a legitimate user, they would need our *private* keys. It is
our individual responsibility to safeguard those.
I suggest that anyone
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (888)ISO-SEVO (888)476-7386
Newtown, CT 06470Fax: (203)426-9138
http://www.MarkKenny.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alex Joni
Todd,
A nice thing about the open development model is that anyone can make sure
safe control theory is used. Any time you feel that the design or
implementation is not as safe as you would like it, feel free to submit a
safer design or implementation.
This group is quite open minded. -- But not
If you are going to do that, it shouldn't be a translation matrix; it
should be a transform matrix. That would be a general affine
transformation. That would provide translation, rotation, and skew. So, if
your X and Y axes weren't exactly perpendicular, that could be corrected.
We might want to
Chris,
The meta problem is that the error handling from the interpreter is
terrible. Now that I've modified the interpreter to let messages have
content other than fixed strings, I can fix this.
I would like the interpreter to output a message that looks like:
Bad character near line 79
Of Chris Radek
Sent: Wednesday, April 18, 2007 11:02 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] bad character in G code file
On Wed, Apr 18, 2007 at 10:42:48AM -0400, Kenneth Lerman wrote:
I would like the interpreter to output a message that looks like:
Bad character near
What language is this written in? Why should it not be run thru the comp
pre-processor?
on-off is NOT a legal C variable name. (I don't know if it is acceptable to
comp. I wouldn't think so -- or more precisely, I wouldn't think that comp
would convert it to something acceptable by a C
The interpreter will not allow a command that is beyond the soft limit. The
trajectory planner assures that there is (essentially) no overshoot of a
commanded position. Therefore, there is no need to have a slow zone.
If, on the other hand, the software is not trustworthy, hardware limit
Me, too.
I'm looking at converting my lathe to a CNC gang lathe (sort of like the
Omniturn).
I will use EMC for it.
By the time I'm done, I will be able to do what you suggest. (I don't know
the current state). Since I've just begun collecting parts, though, I
can't say when I'll be done. :-(
The interpreter parses the gcode on the fly. So there is no need to parse
the entire file before cutting metal. I suspect the slowness that you are
concerned about is the time for Axis to parse and display the file when a
new file is loaded.
I don't know if Axis has a way to disable the preview
Please see:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AlternativeNamedParameterSyntax
I've written this after a discussion on IRC last night (EST).
Some comments (paraphrasing) that were made:
1 -- Why don't we just use a real language, instead?
2 -- All those '$' characters are confusing
Why python? If it is because you already know python, then I'd suggest you
start by examining AXIS. My guess is that everything you need is in there.
[Sort of like making a sculpture of a horse. Take a piece of stone and
remove everything that isn't a horse.] :-)
I'm sure that cradek and jepler
As a satisfied customer of Jon's, I thought I'd put in my two cents to say
that I've been very pleased with the operation and support of Jon's
products.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (203)426-7166
Newtown, CT 06470
Why don't *you* direct your energy in making EMC more user friendly instead?
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (203)426-7166
Newtown, CT 06470Fax: (203)426-9138
http://www.MarkKenny.com
-Original
I think Jon means that the inductors would have a larger inductance; not
that they would have to handle more current.
Ken
[EMAIL PROTECTED]
Mark Kenny Products Company, LLC
55 Main Street Voice: (203)426-7166
Newtown, CT 06470Fax: (203)426-9138
My understanding is that you would just set the speed with the vfd and
assume that will be close enough. Then you would use the encoder to measure
the actual speed and phase lock to it for the purpose of driving the Z axis
when ridgid tapping.
If you wanted to control the speed more precisely,
201 - 257 of 257 matches
Mail list logo