Plasma/Mesa Guru's

More
04 Apr 2011 18:14 #8513 by andypugh
Replied by andypugh on topic Re:Plasma/Mesa Guru's
austin.mn wrote:

How do I change the encoder #0, pin A (input) , that is where I want the FO+ to go, I think.

What do you mean by "change"? The pin allocations on the headers are set by the Mesa firmware, if that is what you mean. It is not easy to change them. What is currently plugged in to the header which contains the encoder pin you want?

Next.... I completely don't seem to get subroutines. Do I make the subroutine as a seperate file?

Yes. It needs to have the same name as you are going to call it with, and it needs to be in the folder pointed to by the PROGRAM_PREFIX setting in your INI file. It also needs to contain a sub and an endsub.

what do I do with it. I tried making a file labeled touchoff.ngc and put your subroutine info in it, then put that into the same folder as the xtrim gcode file and I just get an error message "error on line 6 can't open <touchoff>


You should have a file called touchoff.ngc in your PROGRAM_PREFIX directory.

The file needs to contain:

O100<touchoff> SUB

{G-code here}

O100<touchoff> ENDSUB
M2

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 18:17 #8514 by austin.mn
Replied by austin.mn on topic Re:Plasma/Mesa Guru's
forget about the subroutine issue. I just needed to change the folder that the ini file was pointing to. changed that to point to the correct folder and it seems to work.

I ran your xtrim file and it goes for the probe, I hit the momentary switch on my desk and then a few seconds later it takes off to start cutting.doesn't it need an arc ok signal before it will proceed to start traveling?

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 18:17 #8515 by BigJohnT
Replied by BigJohnT on topic Re:Plasma/Mesa Guru's
Always head for the manual first...

www.linuxcnc.org/docview/html/gcode_main.html#cha:O-Codes

John

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 18:19 #8516 by austin.mn
Replied by austin.mn on topic Re:Plasma/Mesa Guru's
can we just rename the pin that emc is looking for and use a gpio pin on the 7i42?

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 18:20 #8517 by BigJohnT
Replied by BigJohnT on topic Re:Plasma/Mesa Guru's
As I stated in a previous reply it waits 5 seconds then goes. If it ain't lit off in 5 seconds I hit the stop button. The function of the M66 is to take off as soon as the arc ok comes in to reduce wear and tear on consumables just sitting still with the torch on is bad for the nozzle. You could make it wait longer if you like.

www.linuxcnc.org/docview/html/gcode_main...ec:M66-Input-Control

John

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 20:06 #8527 by PCW
Replied by PCW on topic Re:Plasma/Mesa Guru's
What daughter cards do you current have connected? (and on which 5I20 connectors) It may be possibly to route the frequency output through on those. Also I can make a custom bitfile with the encoders moved around if thats the issue.

Please Log in or Create an account to join the conversation.

More
04 Apr 2011 20:28 #8530 by austin.mn
Replied by austin.mn on topic Re:Plasma/Mesa Guru's
I currently have the 7i42TA connected to P4 on the 5i20 and the 7i37TA on the P2.

The stepper outputs are on the 7i42:
Pins 100 and 101 for the X
Pins 106 and 107 for the Y
Pins 1012 and 1013 for the Z

I currently don't have any limits wired, but probably will down the road, and I am currently still using the parallel port for the torch relay and signals as john did.

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 00:41 - 05 Apr 2011 00:44 #8534 by PCW
Replied by PCW on topic Re:Plasma/Mesa Guru's
Heres a bitfile with a more rational pinout for use with a 7I42TA:
freeby.mesanet.com/st8p.zip

the ST8_PLASMA.PIN lists the pinout, note that all high speed I/O is on P2 now (where the 7I42 should be) P3 and P4 just have GPIO .

I also only connected the 'A' pins of the 2 encoder counters present so as not to waste the 'B' or 'I' pins
Last edit: 05 Apr 2011 00:44 by PCW. Reason: english

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 11:00 #8545 by andypugh
Replied by andypugh on topic Re:Plasma/Mesa Guru's
PCW wrote:

Heres a bitfile with a more rational pinout for use with a 7I42TA:


There ought to be a +10 karma button. That's what I call customer service.

Please Log in or Create an account to join the conversation.

More
05 Apr 2011 12:11 #8554 by BigJohnT
Replied by BigJohnT on topic Re:Plasma/Mesa Guru's
andypugh wrote:

PCW wrote:

Heres a bitfile with a more rational pinout for use with a 7I42TA:


There ought to be a +10 karma button. That's what I call customer service.


Andy, you just keep pressing it :)

John

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.096 seconds
Powered by Kunena Forum