I implemented this with EMC in just one evening in under 2 hours.
It is just awesome!
Now M64 P0 and M65 P0 simulate "pressing a button" on the Haas 5C
indexer and it advances by one step.
I wrote a subroutine called advance_indexer that does
M64 P0
G4 P0.2
M65 P0
So it simulates a full butto
On Thu, Nov 25, 2010 at 10:01:58PM -0600, Igor Chudov wrote:
>
> What I am not sure is, how do I link M64 and pin number P to digital
> outputs? Where do I tell EMC that M64 P1 corresponds to digital output
> number 7, for example?
They are just output pins on the motion controller.
http://www
Oops, I found something, section 1.1.2 (Pins) of
http://linuxcnc.org/docs/html/config_emc2hal.html
Thanks
On Thu, Nov 25, 2010 at 10:01 PM, Igor Chudov wrote:
> I would like to finalize wiring a rotary indexer. I mentioned it here
> previously, it is a Haas 5C rotary indexer with a "remote butto
I would like to finalize wiring a rotary indexer. I mentioned it here
previously, it is a Haas 5C rotary indexer with a "remote button",
such that if you press it by hand, the indexer gets a signal and
advanced by the predefined angle.
I believe that the sequence of
M64 P1
G4 P0.25
M65 P1
would
Jeff Epler wrote:
> It's taking memory away from whatever your total system memory is.
> Since even tiny machines have 1GB or more of RAM these days, you are
> unlikely to notice a difference if you change it from the current value
> of about 256KB to 1MB, but you'll have room for 4x as many pins,
On Thu, Jun 03, 2010 at 06:56:43PM -0400, Paul Keeton wrote:
> You are correct Jeff, That's the correct error format I was getting. I have
> been bumping this memory thing for a while but have been getting around it
> creatively ;)
>
> If I open up more memory will it take memory away from other
r hal?
Thanks for your help,
Paul
- Original Message -
From: "Jeff Epler"
To: "Enhanced Machine Controller (EMC)"
Sent: Thursday, June 03, 2010 12:20 PM
Subject: Re: [Emc-users] M64 and M65
> The exact error message you're getting would be helpful. I'm guess
Thanks John,
Works like a charm with the "P" added. I must have misread the
docs. Thanks for your help!
Paul
- Original Message -
From: "John Kasunich"
To: "Enhanced Machine Controller (EMC)"
Sent: Wednesday, June 02, 2010 9:57 PM
Subjec
The exact error message you're getting would be helpful. I'm guessing
it's actually this message, with %s replaced by the name of the signal:
"HAL: ERROR: insufficient memory for signal '%s'\n"
is that correct?
If so, you're probably also bumping the limit on the hal shared memory
segment. Y
On Wed, 02 Jun 2010 20:46 -0400, "Paul Keeton"
wrote:
> Steve,
>
> I was just issuing the command in MDI. (M64 then enter)
You should probably be doing something like "M64 P2" then enter.
The P word specifies which output you want to control. If
you don't specify a P word it is anybody's guess
er (EMC)"
Sent: Wednesday, June 02, 2010 8:39 PM
Subject: Re: [Emc-users] M64 and M65
> Paul Keeton wrote:
>> Gents,
>>
>> Trying to use M64 and M65 to operate a quill. After setting
>> up the I/O's in the config when issuing a M64 or 65 this the
Paul Keeton wrote:
> Gents,
>
> Trying to use M64 and M65 to operate a quill. After setting up
> the I/O's in the config when issuing a M64 or 65 this the error I get -
>
> "ERROR: INDEX OUT OF RANGE, 255 NOT IN [0..4]
> (increase num_dio/EMCMOT_MAX_DIO=64)"
>
> When inc
nough memory to load pin statlight"
Thats the next pin down in my IO file.
Paul
- Original Message -
From: "Andy Pugh"
To: "Enhanced Machine Controller (EMC)"
Sent: Wednesday, June 02, 2010 7:25 PM
Subject: Re: [Emc-users] M64 and M65
On 2 June 2010 23:45, P
On 2 June 2010 23:45, Paul Keeton wrote:
>
> Gents,
>
> Trying to use M64 and M65 to operate a quill. After setting up the
> I/O's in the config when issuing a M64 or 65 this the error I get -
>
> "ERROR: INDEX OUT OF RANGE, 255 NOT IN [0..4]
> (increase num_dio/EMCMOT_MAX_DIO=64)"
>
>
Gents,
Trying to use M64 and M65 to operate a quill. After setting up the
I/O's in the config when issuing a M64 or 65 this the error I get -
"ERROR: INDEX OUT OF RANGE, 255 NOT IN [0..4]
(increase num_dio/EMCMOT_MAX_DIO=64)"
When increase the dio count I get another e
Linksp something ppmc.0.out-05
This is what I did and seems to work
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kasey Matejcek
Sent: Friday, December 22, 2006 8:35 PM
To: 'Enhanced Machine Controller (EMC)'
Subject: [Emc-users] M64 and M65 setup
need to control a port on the pico systems PMW servo controller using EMC 2
with a m code for locking device
I'd like to send a m64 P? to emc2 and have the relay's on controller work
like the spindle speed up or the spindle speed down
--
This message has been scanned for viruses and
dan
17 matches
Mail list logo