Mesa 7i92 with Benezan Triple Beast - Problem

More
23 Oct 2019 07:24 - 23 Oct 2019 07:26 #148591 by hardware_crash
Hey guys,

Im using a Mesa 7i92 with a Benezan Triple Beast connected to P2.

I already found a firmware for use with the Triple Beast here : benezanx2d

After flashing the firmware I wrote the HAL file to be able to control the machine.
Everything is working fine so far but the two relays on the Triple Beast are permanent active when Linuxcnc is not running, which is a problem for me as the Spindle is active and turning while Linuxcnc is off.

Is it possible to change the Output State for the Relays on the triple beast within the Firmware of the Mesa 7i92 ?
So the relays are off when Linuxcnc isnt running.

Thanks in advance
Lukas
Last edit: 23 Oct 2019 07:26 by hardware_crash.

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

More
23 Oct 2019 09:34 - 23 Oct 2019 12:47 #148592 by toplakd
Have you tried to use the chargepump/watchdog/ladungspumpe, as that should also disable the relays if program is not running.
I don't have the 7i92 yet, but might arrive tomorrow or even today, as tracking shows ist only 30km away :)

I use PWM to enable the relay1, per Benezan Manual. When output from the board is higher than 1V relay turns on. See JP1 Jumpers.

So if it's not too much to ask, i would be very happy if you would share the HAL file.


P.S.
TNT just delivered it, so will try to connect it tonight to see if I can even bring it to life, as never worked with mesa before :(
Last edit: 23 Oct 2019 12:47 by toplakd.

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

More
24 Oct 2019 16:06 - 24 Oct 2019 16:30 #148710 by toplakd
Update.
Have connected the 7i92 to my benezan board today (same as on triple beast)
Also flashed the
Got the basic configuration to work, this means that when I start Linux CNC and enable it, I can move the XYZ arround and relays do close (light out) when i turn off linux CNC, but are currently permanent active when LinuxCNC is running.

But other than that, I am in deadzone regarding how to configure all the limit switches, probe and spindle 0-10v output.

In stepconf everything is just straightforward regarding all the setting, but wanted to get rid of that parallel port, as my old computer will die soon.

Or i'm missing something, as in Pncconf I can only select 7i76&7i77 firmware options.
Last edit: 24 Oct 2019 16:30 by toplakd.

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

More
24 Oct 2019 16:42 #148713 by PCW
One thing you could do is run pncconf for a 5I25 + G540 which should al least make the GPIO setup easier

Then you would have to globally replace "5i25" with "7i92" and change the driver name from hm2_pci to hm2_eth + add the ip address token

In a similar fashion, you could create a separate 5I25/G540 config and just steal the GPIO bits of the hal file
The following user(s) said Thank You: toplakd

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

More
24 Oct 2019 17:39 #148719 by toplakd
Thank you for your reply PCW.
Have been reading the forum for last 9 years since i started with Linuxcnc, but was always using stepconf, so i didn't need much help.

I hope @hardware_crash is willing to share his setup, as his triple beast has exactly same BOB as mine, just his is integrated into 4axis driver.

I did check your suggestion about 5i25+g540 configuration, but i'm dead on that too :)
Too bad one can not easily convert steppconf configuration to one compatible with 7i92, as I do have fully working config, that did not need any manual adjustments.

I also noticed one thing. Per .pin file, the P1 connector should have PWM on pin 1(17) and pin 17(24), however the reading from flashed board shows exact same configuration for P1 and P2. Both using P2 settings from .pin file

As PWM on pin one with Benezan board automaticly enables the spindle relay once 0-10v is greater than 1V, so one can turn on the spindle just with PWM adjustment.

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

More
24 Oct 2019 18:58 - 24 Oct 2019 18:59 #148730 by PCW

I did check your suggestion about 5i25+g540 configuration, but i'm dead on that too :)


What was the problem?

I also noticed one thing. Per .pin file, the P1 connector should have PWM on pin 1(17) and pin 17(24), however the reading from flashed board shows exact same configuration for P1 and P2. Both using P2 settings from .pin file


Yes, the configuration is for 2x Triple Beasts, are you saying the the PWM pin should be on DB25 pin 1 vs DB25 pin 17?
(its not really clear to me from the manual)
Last edit: 24 Oct 2019 18:59 by PCW.
The following user(s) said Thank You: toplakd

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

More
24 Oct 2019 19:11 - 24 Oct 2019 19:12 #148733 by toplakd
Have took a pause, smoked 2 cigarettes and than started again with 1 pin at a time with 5i25+g540 spare config and started copying to 7i92 setup.

So Thank you again for your suggestion, i was just affraid when writing the deadzone statement :)

I have now following working:
E-stop
Probe-in
Homing an all 3 axes.

Only thing I'm missing now is how to add the PWM 0-10V output and to turn off Relays,
as they turn on automaticly when the F2-Machine Toggle is pressed

Yes, one option is to have PWM on pin 1, manual is not totaly clear until you read it 5x and test the configuration.
With that configuration no extra pin is needed for spindle Relay, as Relay 1 starts automaticly when V rises above 1V.

Your .pin file has such configuration on the P1 onboard connector, but firmware is same on both P1 and P2
Last edit: 24 Oct 2019 19:12 by toplakd.

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

More
24 Oct 2019 21:31 - 24 Oct 2019 21:32 #148754 by toplakd
Relays have been solved and are now operating as they should.

So answer to the first question from @hardware_crash:
You need to enable the watchdog - remove the JP2 Jumper, than relays will shut down once linuxcnc is not running.

The only thing that I need now is to get the 0-10v output via pwm pin 17
Last edit: 24 Oct 2019 21:32 by toplakd.

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

More
24 Oct 2019 22:45 #148759 by tommylight
The following user(s) said Thank You: toplakd

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

More
24 Oct 2019 22:48 #148761 by toplakd
Currently PWM is already working, but cant figure how the set the scale correctly, figuring that for the last half hour :)

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

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