Mesa 7i92 with Benezan Triple Beast - Problem

More
25 Oct 2019 01:47 #148772 by PCW
Typically you set the PWM scale to the RPM at 100% PWM

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

More
25 Oct 2019 06:21 #148775 by toplakd
Yes, that is set, but scale is right only at 24000 rpm, as there the VFD gets to 400Hz.
m3 s24000 - 400Hz
m3 s18000 - 321Hz
m3 s12000 - 231Hz
m3 s9000 - 186Hz
m3 s6000 - 141Hz

And 52Hz is minimum when the spindle is started with CW-On button- F9

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

More
25 Oct 2019 06:49 #148777 by pl7i92
hi i faced the same problem on my 5Axis maschine
i decided to go for the Arduino extend boards they got inverted relay on
so there is no factor with the 7i92
see the video
here is the image and the HAl code
# external output signals
#steuerung ein Freigabe Blue BOB PIN 17 7i92m GPIO 024 
setp hm2_7i92.0.gpio.024.is_output TRUE
setp hm2_7i92.0.gpio.024.invert_output TRUE
setp hm2_7i92.0.gpio.024.out TRUE

# 48v EINSCHALTEN e-STOP relay Blau pin 16 Relay GPIO 22
setp hm2_7i92.0.gpio.022.is_output TRUE
setp hm2_7i92.0.gpio.022.invert_output TRUE
net estop-out => hm2_7i92.0.gpio.022.out
# VFD220V freigabe EINSCHALTEN e-STOP relay Green pin 17 Relay GPIO 07
setp hm2_7i92.0.gpio.007.is_output TRUE
setp hm2_7i92.0.gpio.007.invert_output TRUE
net estop-out => hm2_7i92.0.gpio.007.out

# Spindel Forward M3  relay Green pin 16 Relay GPIO 05
setp hm2_7i92.0.gpio.005.is_output TRUE
setp hm2_7i92.0.gpio.005.invert_output TRUE
net spindle-cw => hm2_7i92.0.gpio.005.out 

#spindel vfd ramp
setp     hm2_7i92.0.pwmgen.pwm_frequency 400
setp hm2_7i92.0.pwmgen.00.scale 24000
setp hm2_7i92.0.pwmgen.00.out0.invert_output True
setp     hm2_7i92.0.pwmgen.pdm_frequency 6000000
setp     hm2_7i92.0.watchdog.timeout_ns 10000000
net spindle-speed-cmd spindle.0.speed-out => hm2_7i92.0.pwmgen.00.value
net spindle-on spindle.0.on => hm2_7i92.0.pwmgen.00.enable
#loadrt pwmgen output_type=0
#addf pwmgen.update servo-thread
#addf pwmgen.make-pulses servo-thread
#net spindle-speed-cmd spindle.0.speed-out => pwmgen.0.value
#net spindle-on spindle.0.on => pwmgen.0.enable
#net spindle-pwm pwmgen.0.pwm => hm2_7i92.0.pwmgen.00.value
# Set the spindle's top speed in RPM
#setp pwmgen.0.scale 24000

the Video on wirer and connect the relai
Attachments:

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

More
25 Oct 2019 08:03 - 25 Oct 2019 08:04 #148783 by toplakd
Thank you all for your help and support.
Have managed to source the base of the problem.
I have had VFD frequency set from 50-400Hz and therefore scaling was wrong.
If freqency is set from 0-400Hz than scaling is almost right, just needs small adjustment which depends on the BOB output voltage difference.

So now i set it back to 50-400 and adjusted the offset on the VFD to 26% and now my frequency is +/-1HZ from 6000-20000rpm.


Now I just need to clean the configuration file.
Last edit: 25 Oct 2019 08:04 by toplakd.
The following user(s) said Thank You: tommylight

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

More
26 Oct 2019 09:19 - 26 Oct 2019 09:22 #148820 by toplakd
Is there something different with "net probe in => motion.probe-input" if using parallel vs mesa controled config, or it's behavior was changed during LinuxCNC versions?

As i did notice one thing, when manualy jogging if probe is hit, it immidiately goes in counter direction for few turns after contact is made and that without any deceleration towards jogged direction. This is happening if axes are homed.
If not homed, the jogged axis stops with decelaration.

I did not notice that with my old parralel port setup (i think i've used v2.6 Linuxcnc)
Last edit: 26 Oct 2019 09:22 by toplakd.

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

More
26 Oct 2019 14:29 #148829 by PCW
If you made the configuration with an older pncconf, you will have to remove
all the:

setp pid.N.maxerror= 0.0005 lines in the hal file

This will cause odd slow moves when motion should be stopped
The following user(s) said Thank You: toplakd

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

More
27 Oct 2019 11:13 #148870 by toplakd
I made configuration with the pncconf that comes with 2.9 and the lines are there.
However, i removed the line in all 3 joints in .hal file and if manualy jogging onto the touch probe, the jogged axis stil goes back few steps.
As said, only happening when axes are homed.
On unhomed, the jogging just stops as normal with deceleration.

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

More
27 Oct 2019 11:27 #148871 by pl7i92
hi can you please publish the PWM manageable HAL Code of the VFD so more people will get a better view
and if possible the settings of the parameters you changed on the VFD

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

More
27 Oct 2019 14:35 #148882 by PCW

toplakd wrote: I made configuration with the pncconf that comes with 2.9 and the lines are there.
However, i removed the line in all 3 joints in .hal file and if manualy jogging onto the touch probe, the jogged axis stil goes back few steps.
As said, only happening when axes are homed.
On unhomed, the jogging just stops as normal with deceleration.


OK, if this depends on the homing state, its not likely a stepgen setup issue and more
likely a LinuxCNC change of some kind

(you can verify this by checking the commanded position or ferror with halscope)

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

More
27 Oct 2019 14:42 #148883 by toplakd
Yes it only happens after axes are homed.

Like this:
1. Startig LinuxCNC and not homing the axes
2. Jogging arround and pushing the probe, it stops with deceleration
3. Homing all axes
4. Again jogging arround and pushing the probe, it stops and reverses without deceleration
5. Unhoming all axes
6. Jogging arround and pushing the probe, stops with deceleration

So the issue only comes up when axes are homed.

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

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