Wiring VFD to MESA 7i96s

More
15 Apr 2024 14:37 #298286 by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
Dont change the rpm. It sends 0V or 10V...

I dont know what to do. Maybe a PWM to analog converter?

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

More
15 Apr 2024 14:48 #298287 by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
The 7I96S includes a PWM --> Analog converter

To debug its operation:

1. Start LinuxCNC
2. Set the spindle RPM to 1000 (MDI M3 S1000)
3. Measure the voltage from P2 pin 22 to 23
4. Run this in command in a terminal and post the results:

halcmd show all | grep spin
 

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

More
17 Apr 2024 09:05 #298419 by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
Thank you in advance for your help, this is my inverter, I have all the Linux CNC parameters described here and the connections as stated, however I still cannot change the frequency of the inverter with the table. To start it up I always have to set the manual frequency on the variator and only then can I start it up with the controller. However, it only works by turning it back and forth, the frequency cannot be changed on the controller.

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

More
17 Apr 2024 09:07 - 17 Apr 2024 09:14 #298421 by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
Ficha de dados
forum cnc.info
www.cnc.info.pl › filePDF
fc300 seris - user manual
www.google.com/url?sa=t&source=web&rct=j...4KYGgBZpas5zZjz3Me1j
Last edit: 17 Apr 2024 09:14 by Xinokas.

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

More
17 Apr 2024 13:31 #298439 by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
It's not clear from you response whether you tested
the analog out voltage as suggested  (and you did not
post the halcmd test results)

So at this point its hard to determine what the issue is.

 

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

More
17 Apr 2024 13:46 #298441 by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
yes, I tested it! only 0 or 10v came out

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

More
17 Apr 2024 14:00 - 17 Apr 2024 14:02 #298443 by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
The 7I96S includes a PWM --> Analog converter

To debug its operation:

1. Start LinuxCNC
2. Set the spindle RPM to 1000 (MDI M3 S1000)
3. Measure the voltage from P2 pin 22 to 23
4. Run this in command in a terminal and post the results:

halcmd show all | grep spin
Last edit: 17 Apr 2024 14:02 by PCW.

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

More
17 Apr 2024 16:32 - 17 Apr 2024 16:33 #298464 by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
cnc@cnc:~/linuxcnc/configs/QTDRAGON$ halcmd show all | grep spin
10 bit OUT FALSE halui.spindle.0.brake-is-on
10 bit IN FALSE halui.spindle.0.brake-off
10 bit IN FALSE halui.spindle.0.brake-on
10 bit IN FALSE halui.spindle.0.decrease
10 bit IN FALSE halui.spindle.0.forward <== spindle-manual-cw
10 bit IN FALSE halui.spindle.0.increase
10 bit OUT TRUE halui.spindle.0.is-on
10 bit IN TRUE halui.spindle.0.override.count-enable
10 s32 IN 0 halui.spindle.0.override.counts
10 bit IN FALSE halui.spindle.0.override.decrease
10 bit IN FALSE halui.spindle.0.override.direct-value
10 bit IN FALSE halui.spindle.0.override.increase
10 bit IN FALSE halui.spindle.0.override.reset
10 float IN 0.1 halui.spindle.0.override.scale
10 float OUT 1 halui.spindle.0.override.value
10 bit IN FALSE halui.spindle.0.reverse <== spindle-manual-ccw
10 bit OUT FALSE halui.spindle.0.runs-backward
10 bit OUT TRUE halui.spindle.0.runs-forward
10 bit IN FALSE halui.spindle.0.start
10 bit IN FALSE halui.spindle.0.stop <== spindle-manual-stop
36 bit IN FALSE hm2_7i96s.0.outm.00.out-04 <== spindle-ccw
36 bit IN TRUE hm2_7i96s.0.outm.00.out-05 <== spindle-cw
36 bit IN TRUE hm2_7i96s.0.pwmgen.00.enable <== spindle-enable
36 float IN 5000 hm2_7i96s.0.pwmgen.00.value <== spindle-vel-cmd-rpm
39 float IN 5000 pid.s.command <== spindle-vel-cmd-rpm
39 bit IN TRUE pid.s.enable <== spindle-enable
39 float IN 0 pid.s.feedback <== spindle-vel-fb-rpm
39 bit IN FALSE pid.s.index-enable <== spindle-index-enable
39 float OUT 5000 pid.s.output ==> spindle-output
61 bit IN TRUE qtpyvcp.spindle-encoder-rpm.enable
61 float IN 0 qtpyvcp.spindle-encoder-rpm.in
61 float IN 0 qtpyvcp.spindle-load-indicator.in-f
61 u32 IN 0x00000000 qtpyvcp.spindle-load-indicator.in-i
61 float IN 150 qtpyvcp.spindle-load-indicator.max-val
61 float IN 0 qtpyvcp.spindle-load-indicator.min-val
61 bit IN FALSE qtpyvcp.spindle-override.reset
29 bit IN FALSE spindle.0.amp-fault-in
29 bit IN TRUE spindle.0.at-speed <== spindle-at-speed
29 bit OUT FALSE spindle.0.brake ==> spindle-brake
29 bit OUT TRUE spindle.0.forward ==> spindle-cw
29 bit I/O FALSE spindle.0.index-enable <=> spindle-index-enable
29 bit IN FALSE spindle.0.inhibit
29 bit IN FALSE spindle.0.is-oriented
29 bit OUT FALSE spindle.0.locked
29 bit OUT TRUE spindle.0.on ==> spindle-enable
29 bit OUT FALSE spindle.0.orient
29 float OUT 0 spindle.0.orient-angle
29 s32 IN 0 spindle.0.orient-fault
29 s32 OUT 0 spindle.0.orient-mode
29 bit OUT FALSE spindle.0.reverse ==> spindle-ccw
29 float IN 0 spindle.0.revs <== spindle-revs
29 float OUT 83.33333 spindle.0.speed-cmd-rps
29 float IN 0 spindle.0.speed-in <== spindle-vel-fb-rps
29 float OUT 5000 spindle.0.speed-out ==> spindle-vel-cmd-rpm
29 float OUT 5000 spindle.0.speed-out-abs ==> spindle-vel-cmd-rpm-abs
29 float OUT 83.33333 spindle.0.speed-out-rps ==> spindle-vel-cmd-rps
29 float OUT 83.33333 spindle.0.speed-out-rps-abs ==> spindle-vel-cmd-rps-abs
bit TRUE spindle-at-speed
==> spindle.0.at-speed
bit FALSE spindle-brake
<== spindle.0.brake
bit FALSE spindle-ccw
<== spindle.0.reverse
bit TRUE spindle-cw
<== spindle.0.forward
bit TRUE spindle-enable
<== spindle.0.on
bit FALSE spindle-index-enable
<=> spindle.0.index-enable
bit FALSE spindle-manual-ccw
==> halui.spindle.0.reverse
bit FALSE spindle-manual-cw
==> halui.spindle.0.forward
bit FALSE spindle-manual-stop
==> halui.spindle.0.stop
float 5000 spindle-output
float 0 spindle-revs
==> spindle.0.revs
float 5000 spindle-vel-cmd-rpm
<== spindle.0.speed-out
float 5000 spindle-vel-cmd-rpm-abs
<== spindle.0.speed-out-abs
float 83.33333 spindle-vel-cmd-rps
<== spindle.0.speed-out-rps
float 83.33333 spindle-vel-cmd-rps-abs
<== spindle.0.speed-out-rps-abs
float 0 spindle-vel-fb-rpm
float 0 spindle-vel-fb-rps
==> spindle.0.speed-in

Here they are with 5000 RPM the maximu set is 18000.
Last edit: 17 Apr 2024 16:33 by Xinokas.

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

More
17 Apr 2024 16:47 #298466 by PCW
Replied by PCW on topic Wiring VFD to MESA 7i96s
can you run:

halcmd show all | grep pwm
 

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

More
17 Apr 2024 16:53 #298467 by Xinokas
Replied by Xinokas on topic Wiring VFD to MESA 7i96s
36 bit IN TRUE hm2_7i96s.0.pwmgen.00.enable <== spindle-enable
36 float IN 5000 hm2_7i96s.0.pwmgen.00.value <== spindle-vel-cmd-rpm
==> hm2_7i96s.0.pwmgen.00.enable
==> hm2_7i96s.0.pwmgen.00.value
36 bit RW FALSE hm2_7i96s.0.pwmgen.00.offset-mode
36 s32 RW 1 hm2_7i96s.0.pwmgen.00.output-type
36 float RW 18000 hm2_7i96s.0.pwmgen.00.scale
36 u32 RW 0x005B8D80 hm2_7i96s.0.pwmgen.pdm_frequency
36 u32 RW 0x00004E20 hm2_7i96s.0.pwmgen.pwm_frequency

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

Time to create page: 0.105 seconds
Powered by Kunena Forum