Can the stepgen LPT work in conjunction with the mesa card?
- nicton
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
14 Jan 2025 08:24 - 14 Jan 2025 08:26 #318930
by nicton
Can the stepgen LPT work in conjunction with the mesa card? was created by nicton
I want to make a configuration where three stepdir are in 7i92, one stepdir on the LPT port. I have assembled hal and ini, linux cnc starts with them, step generators work in 7i92, and only dir works on LPT (the level changes when the direction changes), step is constantly zero (I look at the oscilloscope). If I use the LPT-only configuration, then everything works. Does this mean that the real-time core cannot run the LPT and mesa step generators at the same time?
Last edit: 14 Jan 2025 08:26 by nicton.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
- Offline
- Platinum Member
Less
More
- Posts: 1200
- Thank you received: 414
14 Jan 2025 10:04 #318934
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic Can the stepgen LPT work in conjunction with the mesa card?
I'm guessing you would need to add a base thread for the parallel port and addf the necessary functions for the LPT port to the base thread.
Is there a reason you can't use 4 stepgens on the Mesa 7i92 ?
For someone that's smarter than myself to answer, and is usually the case, when dealing with config issues it pays to upload your config & hal files.
Is there a reason you can't use 4 stepgens on the Mesa 7i92 ?
For someone that's smarter than myself to answer, and is usually the case, when dealing with config issues it pays to upload your config & hal files.
Please Log in or Create an account to join the conversation.
- timo
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 30
14 Jan 2025 10:52 - 14 Jan 2025 11:01 #318937
by timo
Replied by timo on topic Can the stepgen LPT work in conjunction with the mesa card?
Yes, You can do that. I have my old LPT machine were two steppers are still on the old "as is" Chinese beakout board. (z-Axis stepper driver died recently, so I moved that to Mesa as well)
One stepper (now two) , the Spindle, the Spindle Encoder and the MPG (handwheel are handled with the Mesa Card)
Greetings Timo
p.s. the simple reason for the "Frankenstein" was that I was too lazy to re-wire all the steppers and had no documentation for the stepper driver interface, so I kept the running 3 axis config and only added the "new functions, (damaged functions) to to the Mesa card.
One stepper (now two) , the Spindle, the Spindle Encoder and the MPG (handwheel are handled with the Mesa Card)
Greetings Timo
p.s. the simple reason for the "Frankenstein" was that I was too lazy to re-wire all the steppers and had no documentation for the stepper driver interface, so I kept the running 3 axis config and only added the "new functions, (damaged functions) to to the Mesa card.
Last edit: 14 Jan 2025 11:01 by timo.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19613
- Thank you received: 6607
14 Jan 2025 12:20 #318940
by tommylight
Replied by tommylight on topic Can the stepgen LPT work in conjunction with the mesa card?
Yes, you can use parallel and Mesa at the same time on the same machine.
Check if you added the step pin to the hal file.
Check if you added the step pin to the hal file.
Please Log in or Create an account to join the conversation.
- nicton
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
15 Jan 2025 03:21 - 15 Jan 2025 05:45 #318996
by nicton
Replied by nicton on topic Can the stepgen LPT work in conjunction with the mesa card?
/
Last edit: 15 Jan 2025 05:45 by nicton.
Please Log in or Create an account to join the conversation.
- nicton
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
15 Jan 2025 05:44 #319002
by nicton
Replied by nicton on topic Can the stepgen LPT work in conjunction with the mesa card?
Was it PCI or ethernet mesa, and what version of linux cnc?Yes, You can do that. I have my old LPT machine were two steppers are still on the old "as is" Chinese beakout board. (z-Axis stepper driver died recently, so I moved that to Mesa as well)
One stepper (now two) , the Spindle, the Spindle Encoder and the MPG (handwheel are handled with the Mesa Card)
Greetings Timo
p.s. the simple reason for the "Frankenstein" was that I was too lazy to re-wire all the steppers and had no documentation for the stepper driver interface, so I kept the running 3 axis config and only added the "new functions, (damaged functions) to to the Mesa card.
Please Log in or Create an account to join the conversation.
- besriworld
- Offline
- Elite Member
Less
More
- Posts: 261
- Thank you received: 73
15 Jan 2025 07:32 #319005
by besriworld
Replied by besriworld on topic Can the stepgen LPT work in conjunction with the mesa card?
And what does it matter?
if you still have a problem, upload the configuration files. Most likely something wrong with them.
if you still have a problem, upload the configuration files. Most likely something wrong with them.
Please Log in or Create an account to join the conversation.
- nicton
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
15 Jan 2025 09:04 #319011
by nicton
Replied by nicton on topic Can the stepgen LPT work in conjunction with the mesa card?
Files
Attachments:
Please Log in or Create an account to join the conversation.
- timo
- Offline
- Premium Member
Less
More
- Posts: 103
- Thank you received: 30
15 Jan 2025 11:13 - 15 Jan 2025 11:18 #319013
by timo
Replied by timo on topic Can the stepgen LPT work in conjunction with the mesa card?
It is a PCIe Mesa 6i25 with 7i76 plug and go kit. I do not know when I updated Linux CNC last time on that device. Must be a two or three year old installation.
I do not think it will make a difference, besides the naming conventions in the hal files.
How I did it:
a) create a Machine configuration with stepconf
b) create similar Machine configuration with pncconf
Then I deleted the axis information from the pnconf generated file, for the motors that will run on the parallel port. I deleted all the axis information from the stepconf gnerated file, that will belong to the Mesa card.
Then I merged the two configs step by step by copying the "Mesa stuff" into the LPT configuration. (ended up with a convoluted hal and ini file that works and contains snippets of "both worlds")
Greetings Timo
p.s. I did not have mentionable prior experience, so it took a while to get it "free of startup errors", but no involved adjustments. Mainly removing double entries and correcting my own typos.
I do not think it will make a difference, besides the naming conventions in the hal files.
How I did it:
a) create a Machine configuration with stepconf
b) create similar Machine configuration with pncconf
Then I deleted the axis information from the pnconf generated file, for the motors that will run on the parallel port. I deleted all the axis information from the stepconf gnerated file, that will belong to the Mesa card.
Then I merged the two configs step by step by copying the "Mesa stuff" into the LPT configuration. (ended up with a convoluted hal and ini file that works and contains snippets of "both worlds")
Greetings Timo
p.s. I did not have mentionable prior experience, so it took a while to get it "free of startup errors", but no involved adjustments. Mainly removing double entries and correcting my own typos.
Last edit: 15 Jan 2025 11:18 by timo.
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds